frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Amux – single-file agent multiplexer for headless Claude Code sessions

https://amux.io
1•Beefin•10h ago

Comments

Beefin•10h ago
I built amux because running 5–10 Claude Code agents at once across different repos turned into an unmanageable mess of terminal tabs and forgotten sessions.

The core problem: Claude Code sessions crash at 3am from context compaction, agents silently block on permission prompts, and there's no good way to see which of your 8 running sessions actually needs attention. I was losing work and wasting money.

amux is a tmux-based multiplexer that gives you a single control plane for all your headless Claude Code sessions — from a web dashboard, your phone, or the CLI.

*What it actually does:*

- Registers Claude Code sessions as named tmux panes, each with its own conversation history and working directory - Live status detection (working / needs input / idle) streamed via SSE — you see at a glance which agents need you - Self-healing watchdog that auto-compacts context, restarts crashed sessions, and replays the last message - Built-in kanban board backed by SQLite with atomic task claiming (CAS), so agents can pick up work items without race conditions - REST API for everything — agents discover peers and delegate work via `curl`. The API reference gets injected into each agent's global memory, so plain-English orchestration works out of the box - Per-session token tracking with daily spend breakdowns, so you know what each agent costs before the bill arrives - Git conflict detection that warns when two agents share a directory + branch, with one-click branch isolation

*What it's not:*

It's not a wrapper around Claude Code's native agent teams feature. It operates at a layer below that — it doesn't modify Claude Code at all. It parses ANSI-stripped tmux output. No hooks, no patches, no monkey-patching. If Claude Code updates tomorrow, amux still works.

*Technical decisions:*

The whole thing is a single ~12,000-line Python file with inline HTML/CSS/JS. No npm, no build step, no Docker. I know the single-file approach is polarizing, but for a tool that runs on your dev machine and you might want to hack on, I've found it dramatically lowers the barrier. It restarts on save.

TLS is auto-provisioned in priority order: Tailscale cert → mkcert → self-signed fallback. The idea is you install it on your dev box, run `amux serve`, and access it securely from your phone over Tailscale while you're away from your desk. I use the mobile PWA daily — kick off a batch of tasks, go walk the dog, check progress from my phone.

The kanban board uses SQLite with compare-and-swap for task claiming. This matters because when you have multiple agents that can pick up work, you need atomicity — two agents hitting `/api/board/PROJ-5/claim` simultaneously should result in exactly one of them getting it.

How to Get Free Email for Your Custom Domain

https://timleland.com/how-to-get-free-email-for-your-custom-domain/
1•TimLeland•41s ago•0 comments

Corporateapology.com – Accountability at Scale

https://corporateapology.com
1•drawbars•3m ago•1 comments

Karpathy: Autoresearch

https://github.com/karpathy/autoresearch/blob/master/README.md
2•champagnepapi•5m ago•0 comments

The CIA's attempt to make Havana Syndrome disappear

https://theins.press/en/inv/290088
1•FergusArgyll•6m ago•0 comments

Against the Orthogonality Thesis Part 2 – Alignment

https://jonasmoman.substack.com/p/against-the-orthogonality-thesis-f99
2•paulpauper•10m ago•0 comments

Finding Remote Work as a Drone Operator

https://nathankyoung.substack.com/p/finding-remote-work-as-a-drone-operator
2•paulpauper•10m ago•0 comments

Cybertruck in Autopilot mode tried to drive off Houston bridge, suit says

https://www.chron.com/culture/article/cybertruck-houston-lawsuit-21965298.php
1•zzzeek•11m ago•0 comments

LLM Integrity During Inference in Llama.cpp

https://bednarskiwsieci.pl/en/blog/integrity-llm-inference-tampering/
1•piotrbednarsalt•14m ago•1 comments

The iPhone 17e

https://daringfireball.net/2026/03/the_iphone_17e
1•chmaynard•16m ago•0 comments

The Requirements Layer Your AI System Is Missing

https://kiln.tech/blog/requirements_layer_your_ai_system_is_missing
1•samfierro•17m ago•1 comments

Simulating Catalog and Table Conflicts in Iceberg

https://cdouglas.github.io/posts/2026/03/catalog
1•eatonphil•20m ago•0 comments

Run PostgreSQL on AKS High‑Performance, Flexible, Cloud Native Postgres on Azure [video]

https://www.youtube.com/watch?v=KEApG5twaA4
1•RaouleDuke•20m ago•0 comments

Show HN: OxiGDAL – A pure Rust replacement for GDAL with zero C/C++ dependencies

https://github.com/cool-japan/oxigdal
1•kitasan•23m ago•0 comments

Newcomb's Paradox Needs a Demon

https://samestep.com/blog/newcombs-paradox/
1•sestep•23m ago•0 comments

ClaudeAI's Review of "Do Androids Dream of Electric Sheep"

https://old.reddit.com/r/ClaudeAI/comments/1rnio7s/had_claude_read_do_androids_dream_of_electric/
2•lisper•25m ago•0 comments

GPS jamming: The invisible battle in the Middle East

https://www.bbc.com/news/articles/c3ewwlx9e1xo
1•1659447091•25m ago•0 comments

Moonforge: A Yocto-Based Linux OS

https://www.igalia.com/2026/03/09/Introducing-Moonforge-A-Yocto-Based-Linux-OS.html
2•microflash•26m ago•0 comments

Lucid Dreaming (1995)

https://www.aphextwin.nu/learn/98336584377199.shtml
1•carlos-menezes•28m ago•0 comments

DuckDB 1.5.0

https://duckdb.org/2026/03/09/announcing-duckdb-150
2•erikcw•28m ago•0 comments

ChatJC – chatbot for resume/LinkedIn/portfolio info

https://joshuacurry.dev/
2•ogou•32m ago•1 comments

FreeBSD 14.4-Release Announcement

https://www.freebsd.org/releases/14.4R/announce/
2•todsacerdoti•32m ago•0 comments

AgentOps – The Discipline That Didn't Exist Last Year

https://doneyli.substack.com/p/agentops-the-discipline-that-didnt
1•hn247dj•33m ago•0 comments

It looks like the “JVG algorithm” only wins on tiny numbers

https://scottaaronson.blog/?p=9615
7•jhalderm•34m ago•3 comments

I built an app to replace the DAGR – $3.99 instead of $2,500

https://github.com/RedGridTactical/RedGridMGRS
1•redgridtactical•35m ago•0 comments

Convert Any API Documentation into a CLI for AI Agents

https://github.com/giorgioleonardi/pug
2•giorgiolc•40m ago•1 comments

Many US states planning or have operating system age verification laws

https://www.gamingonlinux.com/2026/03/many-more-us-states-are-planning-or-already-have-operating-...
4•20after4•41m ago•0 comments

A retention mechanic for intrinsic learning that isn't Duolingo manipulation?

https://www.dailylabs.co/
1•aidanadd•43m ago•1 comments

Xkcd: Change in Slope

https://xkcd.com/2701/
5•ravenical•49m ago•2 comments

TLAi+ Benchmarks for Evaluating LLMs

https://github.com/tlaplus/TLAiBench
2•alhazrod•50m ago•0 comments

The Unison Language – The Big Idea

https://www.unison-lang.org/docs/the-big-idea/
3•deterministic•51m ago•0 comments