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

At a glance

How it runs
CLI
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
tmux 3.2 or newergitminisign (install-script path only)Shell / CLINetwork accessLocal filesystem
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.

  1. A developer running Claude Code, Codex and OpenCode on separate feature branches of one repo, watching them all from one dashboard.
  2. 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.
  3. Anyone starting a dev server per workspace and binding it to AMUX_PORT so parallel npm start runs never collide.
  4. A solo developer wiring an on-done hook to a desktop notification instead of staring at terminals waiting for agents to finish.
  5. A maintainer shelving idle workspaces to reclaim worktrees while keeping branches, metadata and scripts for a later restore.
  6. 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 amux
  • curl -fsSL https://raw.githubusercontent.com/andyrewlee/amux/main/install.sh | sh
  • go install github.com/andyrewlee/amux/cmd/amux@latest
Environment variables
ROOT_WORKSPACE_PATH
Config files
.amux/workspaces.json ROOT_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 amux

Or 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 | sh

Or with Go 1.26 or newer:

go install github.com/andyrewlee/amux/cmd/amux@latest

Then run amux to open the dashboard.

How do you use this agent?

Start it inside a git repository:

amux

Press 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 amux

Headless 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-name

Safety 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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Verified present in source (3/3)
  • rollback or recovery path

What are this agent's strengths and limitations?

Pros
  • 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.
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Some gaps
61/ 100 5-point scale 3.1 / 5
Trust 19/29
Reliability 9/14
Adaptability 10/18
Convention 10/18
Effectiveness 9/13
Verifiability 4/8
Why each dimension lost points
Trust19 / 29 · 3.3/5

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.

Reliability9 / 14 · 3.2/5

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.

Adaptability10 / 18 · 2.8/5

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.

Convention10 / 18 · 2.8/5

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.

Effectiveness9 / 13 · 3.5/5

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.

Verifiability4 / 8 · 2.5/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Dec 04, 2026 Reviewed revision d2f5efced919
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/andyrewlee-amux.svg)](https://followagents.com/en/agents/andyrewlee-amux)
<a href="https://followagents.com/en/agents/andyrewlee-amux"><img src="https://followagents.com/badge/andyrewlee-amux.svg" alt="FARS review"></a>

FAQ

Does amux call a model or need an API key itself?
No. It launches agent CLIs you have already installed and authenticated — Claude Code, Codex, OpenCode, Droid, Cursor, Cline, Grok, Amp and others. It bundles no model and stores no provider credentials.
Will my repository's git hooks run when amux commits or merges?
Not by default: amux runs git with repo hooks, core.fsmonitor and GPG signing disabled. Set AMUX_ALLOW_GIT_HOOKS=1 to opt in, which also means opting into repo trust and repo-configured filter/merge drivers.
Is a cloned repo's .amux/workspaces.json executed automatically?
No. On first use and whenever its contents change, amux records the approved content in ~/.amux/trusted-scripts.json and skips untrusted project scripts with a notice; open the workspace status dialog with i and press U to revoke a grant.
Can other programs observe or drive the agents?
Yes. Hosted panes can emit OSC 7501 status reports, and amux report, amux wait, amux send and amux agent ls --json expose the fleet headlessly; docs/ORCHESTRATION.md documents the full contract, and verb failures use exit codes 2 (usage), 3 (not found/ambiguous) and 4 (unreachable).
Does it work on Windows, or without tmux?
No. tmux 3.2+ and git are hard requirements, and the README states Linux and macOS are supported while Windows is not.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts