cmux
cmux is a native macOS terminal built on libghostty (28,997 GitHub stars) tailored for running parallel AI coding agents such as Claude Code, Codex and OpenCode. It adds vertical agent workspaces, attention/notification rings, socket-driven agent hooks and session auto-resume.
Verified directly from repository source files, releases and public GitHub Issues as of Nov 28, 2026 (not a hands-on benchmark test).
What cmux does & who it is for
- Native Swift + libghostty macOS app built specifically to multiplex parallel AI coding agents (Claude Code, Codex, OpenCode, Gemini CLI) instead of generic tmux panes.
- Vertical workspace sidebar with attention notifications when a background coding agent stalls or asks for approval, plus built-in Claude Code agent-team split-pane support (#123).
- Dedicated CLI and Unix socket architecture organized under CLI/CLISocketPathResolver.swift and Sources/AgentHookDeliveryQueue.swift (verified via repo tree) supporting programmatic agent hooks, version-skew diagnostics and session hibernation/auto-resume.
Real limitations & caveats
- macOS only — there is no native Linux or Windows port (Windows/Linux developers need tmux, Zellij or Ghostty directly).
- High development velocity with 5,100+ open issues (plus 6,700+ open PRs, including automated nightly/hourly CI feeds), meaning edge-case regressions on Intel Macs, mouse scrollbars and copy-on-select appear frequently.
- Dual licensing: the macOS/iOS app and CLI use GNU GPL-3.0-or-later (strong copyleft), while server and relay directories (web/, workers/*, services/iroh-relay-minter/, cmux-tui/relays/cloudflare-do/) use BUSL-1.1 requiring a commercial Manaflow license for production self-hosting, alongside CLA.md.
Install, requirements & model support
# Download the latest signed macOS universal DMG from GitHub Releases:
curl -L -o cmux-macos.dmg https://github.com/manaflow-ai/cmux/releases/latest/download/cmux-macos.dmg
open cmux-macos.dmg
Running cost & hardware note: cmux itself is free to download and run locally; all LLM token costs come from the coding agents you run inside it (Claude Code, Codex, OpenRouter, or local Ollama/MLX models). Use our Subscription vs API Calculator to compare flat agent plans against API billing.
Common GitHub Issues & verified fixes
Even with showPullRequests disabled in earlier builds, background PR polling triggered GitHub GraphQL exhaustion. Update to the patched release that halts PR status polling when showPullRequests: false, or verify gh auth status rate limits if workspaces stall.
Issue #2203 remains open tracking selection parity with iTerm2/Terminal.app, while #2664 addressed OpenCode copy-on-select regressions. Check Ghostty-inherited selection settings and keep cmux updated if you copy terminal stack traces heavily.
An inheritedTerminalConfig crash affected Intel x86_64 Macs on pane splits and was closed with a patch; Intel users hitting crashes should verify they are on a release newer than the #2024 fix and run the built-in CLI version-skew check.
When macOS switches scrollbars to 'Always' with an external mouse connected, terminal columns could clip (#2997, patched); similarly, CLI scripts querying macOS Calendar needed an added app entitlement (#1099). Upgrade past both fixes if you run macOS automation agents inside cmux.
Alternatives comparison
| Tool | Best for | Key difference vs cmux |
|---|---|---|
| Ghostty + tmux / Zellij | Cross-platform Linux/macOS developers wanting minimal, stable multiplexer primitives | Lacks cmux's built-in vertical agent attention rings and Claude Code hook queue, but runs on Linux and avoids macOS-only app churn. |
| iTerm2 | Traditional macOS terminal stability and mature selection/profile customization | More mature text selection and enterprise stability, without native AI-agent workspace status or agent hibernation hooks. |
| Warp | Teams wanting built-in hosted AI completions inside the terminal | Closed-source cloud-coupled AI features vs cmux's GPLv3 local wrapper around external CLI agents (with separate BUSL-1.1 relay server code). |
Verification evidence
- README.md
- LICENSE
- Sources/AgentAutoResumeCoordinator.swift
- Sources/AgentHookDeliveryQueue.swift
- CLI/CLISocketPathResolver.swift
- CLI/CMUXCLI+AgentHookDefinitions.swift
- CLI/CLIVersionSkew+Diagnose.swift
FAQ
Does cmux require a paid subscription or include AI credits?
No. The local macOS app and CLI are free under GPL-3.0-or-later; you bring your own Claude Code, Codex, OpenCode or local model CLIs. Only self-hosting Manaflow's server/relay components falls under BUSL-1.1 commercial licensing.
Does cmux work on Linux or Windows?
No. Based on the repository source (Swift / macOS AppKit + libghostty), cmux targets macOS only.