Run a full multi-agent software pipeline using the AI subscriptions you already have.
Website & Docs: https://markuswondrak.github.io/AgentMux/
AgentMux orchestrates a structured PM → Architect → Plan → Code → Review → Done workflow across claude, codex, gemini, opencode, copilot, and qwen — driving them through tmux, not the API. No pay-per-token. No new credentials. Just your existing CLI tools working in concert.
---
- No API costs — injects prompts into tmux panes, reusing your existing Claude, Codex, Gemini, OpenCode, Copilot CLI, or Qwen subscriptions. No tokens billed to you directly.
- Structured pipeline — a deterministic state machine moves work through planning, implementation, and review phases. Agents don't freelance; they execute focused roles.
- Mix providers per role — run the architect on Claude Max, the coder on Codex, and the reviewer on Gemini. Each role is independently configurable.
- Watch it work — the session is a live tmux window. Attach at any time to observe, intervene, or take over.
- GitHub-native — bootstrap from an issue, auto-open a pull request when the pipeline completes.
# Install with pipx (recommended)
pipx install git+https://github.com/markuswondrak/AgentMux.git
# Initialize a project (interactive setup)
cd your-repo
agentmux init
# Run a feature from description to reviewed, committed code
agentmux "Add rate limiting to the API"
# Bootstrap from a GitHub issue
agentmux issue 42
# Resume an interrupted run
agentmux resumeFor a full walkthrough, see the Getting Started guide.
AgentMux creates a tmux session with a control pane and one pane per agent role. A file-watching orchestrator tracks session artifacts written by agents and advances the workflow state machine when the right files appear. Agents coordinate through a shared file protocol — they never talk to each other directly. The orchestrator decides what happens next and injects the appropriate prompt into the right pane.
Project config lives in .agentmux/config.yaml. Run agentmux init to scaffold it interactively, or create it manually:
version: 2
defaults:
provider: claude
model: sonnet
roles:
architect:
model: opus
coder:
provider: codex
reviewer:
model: sonnetConfig is resolved in layers: built-in defaults → ~/.config/agentmux/config.yaml → project config → --config <path>. See docs/configuration.md for the full schema.
| Provider | CLI tool |
|---|---|
claude |
Claude Code CLI |
codex |
OpenAI Codex CLI |
copilot |
GitHub Copilot CLI |
gemini |
Google Gemini CLI |
opencode |
OpenCode CLI |
qwen |
Qwen CLI |
| Role | When active |
|---|---|
product-manager |
Optional first phase for requirements refinement |
architect |
Planning and replanning |
coder |
Implementation and fixes |
reviewer |
Review and final confirmation |
code-researcher |
On-demand codebase analysis |
web-researcher |
On-demand internet research |
- Python 3.10+
- tmux
- One or more supported AI CLI tools installed and authenticated
docs/getting-started.md— installation, setup, and first pipeline rundocs/configuration.md— layered config schema, providers, and model selectiondocs/file-protocol.md— shared file protocol between agents and orchestratordocs/monitor.md— monitor command, state view, and terminal renderingdocs/prompts.md— built-in prompts and project prompt extensionsdocs/tmux-layout.md— session layout and pane lifecycledocs/research-dispatch.md— code and web researcher dispatchdocs/completing-phase.md— approval flow and completion side effectsdocs/session-resumption.md— resuming interrupted pipelines