amux
A terminal UI that runs many coding agents at once, each isolated in its own tmux session and git worktree branch.
- Source repo
- andyrewlee/amux
- Stars
- ★ 169
- Last updated
- 1d ago
- FARS reviewed
- Dec 04, 2026
- License
- MIT
- Primary language
- Go
- FA score
- 61/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code
- Cost
- Free, no paid service needed
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A developer running Claude Code, Codex and OpenCode on separate feature branches of one repo, watching them all from one dashboard.
- Not a fit if
- Windows users — the README states Windows is not supported.
- People who want a GUI and won't work inside tmux with a keyboard.
- Projects whose directory is not inside a git repository, so no worktree can be created.
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-03
- Source review
- 61/100 · Some gaps
What does this agent do, and when should you use it?
amux is a Go terminal UI, shipped as a single amux binary for Linux and macOS, that drives several coding-agent CLIs in parallel. Every workspace is a git worktree on its own branch hosted in a dedicated tmux session, so agents stay isolated and their terminals survive a detach. The dashboard covers commit, merge back into the base with git merge --no-ff, shelve/restore/purge, rename, filtering and bulk operations, while sidebars show change diffs and the project file tree. A repository's .amux/workspaces.json can define setup-workspace, run, on-done and archive lifecycle scripts plus an env layer, and because those come from the repo they are trust-gated before they may run. Headless surface: amux report, amux wait, amux send, amux agent ls and amux project ls/rename, alongside the OSC 7501 status protocol for external scripts and orchestrators. amux never pushes and keeps all state under ~/.amux/, so it is a local control surface rather than a hosted service.
On startup amux reads ~/.amux/config.json for assistant definitions and UI settings and ~/.amux/projects.json as the project-name registry, then runs git worktree add for a branch (attaching instead if the branch already exists) under ~/.amux/workspaces/<project>/<workspace>/ and writes metadata to ~/.amux/workspaces-metadata/<workspace-id>/workspace.json. Each agent or terminal tab is launched into its own tmux session, with modifier-faithful key passthrough, scrollback, transcript copy and save to ~/.amux/transcripts/, and per-tab detach, reattach and restart. Lifecycle scripts from .amux/workspaces.json (setup-workspace, run, on-done, archive) execute with injected variables such as AMUX_WORKSPACE_ROOT, AMUX_WORKSPACE_BRANCH, ROOT_WORKSPACE_PATH, AMUX_PORT and AMUX_BIN_PATH, and their output tails are persisted per workspace for the O viewer. Dashboard write actions are c (stage-and-commit on the workspace branch) and M (git merge --no-ff into the base inside the project's primary checkout), plus S shelve, D delete/purge, R rename and space-marked bulk variants; amux never pushes. Headless callers use amux report --state blocked --message ..., amux wait --state blocked,error,done, amux send, amux agent ls --json, amux project ls and amux project rename <path> <new-name>; hosted panes can emit the same status over OSC 7501. Everything stays local: logs land in ~/.amux/logs/, port ranges are reserved in ~/.amux/port-reservations.json, and the minisign-verified self-update replaces the binary with a single atomic rename.
- A developer running Claude Code, Codex and OpenCode on separate feature branches of one repo, watching them all from one dashboard.
- A reviewer who reads per-workspace diffs and then merges a branch back into its base with M (git merge --no-ff) once it looks right.
- Anyone starting a dev server per workspace and binding it to AMUX_PORT so parallel npm start runs never collide.
- A solo developer wiring an on-done hook to a desktop notification instead of staring at terminals waiting for agents to finish.
- A maintainer shelving idle workspaces to reclaim worktrees while keeping branches, metadata and scripts for a later restore.
- A script author supervising the fleet headlessly with amux wait --state blocked,error,done, amux report and the OSC 7501 status tap.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
brew install amuxcurl -fsSL https://raw.githubusercontent.com/andyrewlee/amux/main/install.sh | shgo install github.com/andyrewlee/amux/cmd/amux@latest
- Environment variables
ROOT_WORKSPACE_PATH- Config files
.amux/workspaces.jsonROOT_WORKSPACE_PATH/.env.local- Runtime
- Go 1.26
- Install notes cover
- Windows · macOS · Linux
How do you install or deploy this agent?
Prerequisites: tmux 3.2 or newer, git, and Linux or macOS (Windows is not supported). With Homebrew:
brew tap andyrewlee/amux
brew install amuxOr via the install script — it verifies release signatures with minisign, so install that first, or set AMUX_ALLOW_UNVERIFIED=1 for checksum-only verification:
curl -fsSL https://raw.githubusercontent.com/andyrewlee/amux/main/install.sh | shOr with Go 1.26 or newer:
go install github.com/andyrewlee/amux/cmd/amux@latestThen run amux to open the dashboard.
How do you use this agent?
Start it inside a git repository:
amuxPress a to add a project, press enter on a project's + New row to create a workspace (optional base ref; empty uses the detected default branch), and Ctrl-Space opens the command palette. Key actions: c commits from the Changes sidebar; on dashboard rows M merges, S shelves, D deletes/purges, R renames, space marks rows, and r rescans to import worktrees created outside amux. Define lifecycle commands in .amux/workspaces.json at the repo root:
{
"setup-workspace": [
"npm install",
"cp $ROOT_WORKSPACE_PATH/.env.local .env.local"
],
"run": "npm start",
"on-done": "osascript -e 'display notification \"agent done\"'",
"archive": "tar -czf archive.tar.gz .",
"env": {
"GOPRIVATE": "git.example.com/*"
}
}Repo-supplied scripts must be trusted in the UI before they run. To let your own git hooks fire on amux commits and merges:
AMUX_ALLOW_GIT_HOOKS=1 amuxHeadless orchestration verbs:
amux report --state blocked --message "which DB?"
amux wait --state blocked,error,done
amux agent ls --json
amux project rename /path/to/repo new-nameSafety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- rollback or recovery path
What are this agent's strengths and limitations?
- No wrappers and no provider lock-in: it drives whichever agent CLIs you installed — Claude Code, Codex, OpenCode, Droid, Cursor, Pi, Cline, Amp, Grok, Devin and more.
- Workspace = git worktree on its own branch + dedicated tmux session, so agents stay isolated and tabs can detach, reattach and restart.
- Real git actions built in: commit, git merge --no-ff into the base (with the base checkout re-verified at confirmation), shelve/restore/purge, rename and bulk delete.
- Headless automation surface: OSC 7501 status reports plus amux report, amux wait, amux send and amux agent ls --json, documented in docs/ORCHESTRATION.md.
- Careful defaults: repo-supplied scripts are trust-gated, repo git hooks, fsmonitor and signing are disabled, and installs plus self-updates are minisign-verified and applied with an atomic rename.
- Durable per-workspace port ranges in ~/.amux/port-reservations.json survive quits, crashes and a second amux instance on the same state home.
- Hard prerequisites tmux 3.2+ and git, a keyboard-centric TUI, and Linux/macOS only — Windows is explicitly unsupported.
- Repo git hooks are disabled by default, so your pre-commit and pre-merge hooks will not fire on amux commits and merges unless you set AMUX_ALLOW_GIT_HOOKS=1.
- Broad configuration surface: ~/.amux/config.json, three script layers (repo → workspace → project) and a hand-edited project-scripts.json with no editor.
- Single-machine tool: all state lives under ~/.amux/, it never pushes, and there is no hosted or multi-user orchestration backend.
- You must install and authenticate the agents yourself; amux supplies no models or credentials.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| amux This agent | 61 · Some gaps | CLIFree | ★ 169 | 1d ago | Go | Codex · Claude Code |
| Goodboy | 82 · Good | Desktop appFree + model costs | ★ 122 | today | TypeScript | Codex · Claude Code |
| ReevesAgents | 67 · Some gaps | — | ★ 112 | today | TypeScript | Claude Code |
| Agentbox | 66 · Some gaps | Desktop appFree + model costs | ★ 483 | 3d ago | TypeScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence shows trust gating for repo-supplied scripts, git hooks disabled by default, diff viewer refusing symlinks/FIFOs/out-of-root paths, pprof loopback-only by default, AMUX_* namespace stripping user layers, confirmations for commit/merge/delete/bulk delete, base-branch re-verification at merge confirm, create rollback that never deletes a pre-existing branch, and self-update via backup plus atomic rename. Deductions: sensitive-data handling is limited to hiding env values in the status panel and persisting transcripts under ~/.amux; no redaction policy for secrets in logs/transcripts is shown; dependency security has pinned go.mod versions and vulncheck in make ci but no go.sum or SBOM in the packet; publisher identity is unverified and source attribution rests on the MIT license and repository metadata.
README, docs/CONFIG.md, AGENTS.md and source are mutually consistent on key behavior; dependencies are public Go modules with pinned versions; docs provide exit codes, error envelopes, toasts and warnings as failure feedback. Deductions: no go.sum or dependency-lock evidence is included; prerequisites (tmux 3.2, git, Go 1.26) are hard; failure messages are numerous but not systematically enumerated.
Docs clearly target developers running multiple coding agents in parallel, state supported/unsupported agents, no-push behavior, and harness render-only boundaries, and explain environment requirements (tmux, git, Unix). Deductions: the main binary carries a !windows build tag, so Windows is unsupported; trigger precision is mostly TUI interaction plus skill.md headless verbs, with little on automatic invocation/selection scenarios.
README is well structured; install notes cover brew, install script and go install with minisign verification; naming and release process are documented. Deductions: no standalone CHANGELOG, known limitations are scattered without a dedicated section, maintenance responsibility points to a single author and the publisher is unverified, and there is no FAQ.
The product offers practical parallel-agent, worktree isolation, diff/terminal/transcript viewing capabilities, with copyable, saveable and searchable output. Deductions: value depends on an existing tmux/git workflow, manual tmux plus worktree is a viable alternative, and install/runtime prerequisites are non-trivial, so marginal value is moderate.
Claims in README about rollback, confirmations and trust gating have corresponding descriptions in source and docs, and multiple documents corroborate each other. Deductions: static review cannot execute anything; some behavioral claims (self-update atomicity, teardown ordering) are prose-only with no reproducible test evidence, and fact/inference separation is not explicit.
- Publisher identity is unverified; verify the repository and release signatures before installing.
- Repo-supplied setup-workspace, run, archive and on-done scripts execute with user privileges after trust; review .amux/workspaces.json.
- Transcripts and logs persist under ~/.amux and may contain sensitive data; no automatic redaction is shown.
- The main binary does not support Windows and requires tmux 3.2+ and git.
- Static review cannot verify runtime claims such as self-update atomicity, rollback, or teardown ordering.
FAQ
Does amux call a model or need an API key itself?
Will my repository's git hooks run when amux commits or merges?
Is a cloned repo's .amux/workspaces.json executed automatically?
Can other programs observe or drive the agents?
Does it work on Windows, or without tmux?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.