cmux
A Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents.
- Source repo
- manaflow-ai/cmux
- Stars
- ★ 29k
- Last updated
- today
- License
- NOASSERTION
- Primary language
- Swift
- FA score
- 79/100 · Good
At a glance
- How it runs
- Works with
- Platform-specificCodex · Claude Code
- Cost
- Free tier plus a paid hosted plan
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Run multiple Claude Code or Codex sessions in parallel on macOS, using the sidebar and notifications to quickly identify which agent needs attention.
- Not a fit if
- Teams on Windows or Linux; cmux is macOS only
- Organizations that cannot comply with GPL-3.0 licensing
- Users who avoid the terminal and want a GUI-only orchestrator
- Website
- cmux.com ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-16latest release cmux-app-ffi-47254fcf65a9b4498432fd9949a8b72db445636c (2026-11-16) · pre-release+8.3 ★/day over 7 days
- Source review
- 79/100 · Good
What does this agent do, and when should you use it?
cmux is an open-source, native macOS terminal built on Ghostty's rendering engine (libghostty), designed for running multiple AI coding agents like Claude Code, Codex, and OpenCode. It introduces vertical tabs and a sidebar that displays git branch, PR status, working directory, listening ports, and latest notification per workspace, with a notification system triggered by OSC 9/99/777 sequences and CLI hooks. It also includes a scriptable in-app browser controllable via a socket API, supports SSH remote workspaces, and Claude Code team mode. The app is fully programmable through a CLI and Unix socket for creating workspaces, splitting panes, sending keystrokes, and automating the browser.
cmux acts as a terminal emulator, able to run any command-line tool. It reads ~/.config/ghostty/config for themes and fonts, and renders via libghostty. The sidebar shows metadata for each workspace, and its notification system captures OSC sequences or uses cmux notify to display a blue ring and notification badges for waiting agents. The built-in browser can be controlled via API to navigate, snapshot the DOM, click, type, and evaluate JavaScript. SSH workspaces are created with cmux ssh, supporting --command to run an initial command. Claude Code Teams is launched with cmux claude-teams. All features are programmatic through the CLI and socket API (e.g., cmux surface, cmux hooks setup).
- Run multiple Claude Code or Codex sessions in parallel on macOS, using the sidebar and notifications to quickly identify which agent needs attention.
- Developers who want an embedded browser next to the terminal, letting agents like Claude Code interact directly with the local dev server and verify changes.
- Users who need to SSH into remote machines, run agents in the remote environment while controlling the local terminal from cmux.
- Using
cmux claude-teamsto launch Claude Code team mode, with teammates as native panes. - Users who need a programmable terminal workspace, automating pane creation, input, and browser operations via CLI or socket API.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
brew install --cask cmux
- Install notes cover
- macOS
How do you install or deploy this agent?
Recommended: download the DMG from GitHub Releases (cmux-macos.dmg), open it and drag cmux to Applications. On first launch, macOS may ask to confirm opening from an identified developer; click Open. Alternatively, install via Homebrew: brew tap manaflow-ai/cmux then brew install --cask cmux. Update with brew upgrade --cask cmux. Nightly builds available for testing.
How do you use this agent?
Launch cmux; it will read your Ghostty config. Use keyboard shortcuts: ⌘N new workspace, ⌘D split right, ⌘⇧L open browser in split. For remote, run cmux ssh user@remote, optionally with --command 'omp "investigate auth"'. Set up agent hooks with cmux hooks setup (or setup codex, setup --agent opencode) to enable session resume and notifications. Full documentation is at cmux.com/docs.
What are this agent's strengths and limitations?
- Native Swift/AppKit app, fast startup and low memory compared to Electron apps.
- Tight integration with Ghostty config, reusing themes and fonts, while adding sidebar and notifications.
- Built-in programmable browser, agents can control it via API for efficient debugging.
- Supports SSH remote workspaces, allowing agents to run remotely.
- Session restore restores layout, scrollback, and browser history after restart.
- macOS only; no Windows or Linux support.
- Depends on Ghostty and libghostty; requires having Ghostty or at least its config file.
- Licensed under GPL-3.0-or-later, which may restrict commercial integration.
- No official cross-platform support, migration cost for non-macOS users.
- Notification features rely on agents supporting OSC or hook configuration; not all agents have it by default.
How does this agent compare with similar options?
Compared to tmux, cmux is a GUI app for macOS offering vertical tabs, built-in browser, and socket API without config files or prefix keys; tmux runs inside any terminal and is more universal. Compared to Electron-based agent orchestration tools, cmux is lighter and stays close to the terminal.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| cmux This agent | 79 · Good | Desktop appFreemium | ★ 29k | today | Swift | Codex · Claude Code |
| agterm | 75 · Some gaps | Desktop appFree | ★ 751 | today | Swift | Codex · Claude Code |
| TUIOS Terminal Workspace | 74 · Some gaps | CLIFree | ★ 6.5k | today | Go | — |
| herdr-core (hc) | 58 · Major gaps | CLIFree | ★ 749 | today | Rust | — |
How does FollowAgents rate this agent?
Why each dimension lost points
Configuration docs distinguish automation socket access modes and warn that allowAll is unsafe on a shared Mac. The security audit describes identity keys, permissions, transport, and persistence boundaries, while config transactions provide conflict checks and conditional undo. Scores are reduced because socket/API input, remote SSH, and browser import of cookies and history have substantial effects, and the packet does not show confirmation flows for every operation. Dependency security has limited evidence. Public contribution channels exist, but publisher identity is unverified and maintenance responsibility is not clearly assigned.
The packet gives concrete behavior and limits for config transactions, session restore, and remote reconnects, with reasonable consistency. Scores are reduced because the README's broad agent and restore claims cannot all be checked against the sample; availability and failure handling for Ghostty, macOS, and external services are not comprehensively documented. Config errors identify initial issues and file locations, and transaction conflicts have structured errors, but evidence for other failure messages is limited.
The README, configuration docs, and skills cover parallel AI coding, remote SSH, browser automation, and custom workflows, and state the macOS platform boundary, restore behavior, and an automatic-resume setting. Environment fit is described concretely. Scores are reduced because the packet does not show complete trigger rules or false-trigger handling for notifications and agent hooks, and some feature claims cannot be mapped to sampled implementation files.
Repository guidance, area skills, configuration docs, FAQ entries, and command examples are well organized and explain important limits and conditional-undo boundaries. Scores are reduced because installation coverage in the sample focuses on macOS downloads and Homebrew, with limited dependency troubleshooting; product, CLI, and server scopes coexist under the same name. The README identifies GPL-3.0-or-later while specifying BSL 1.1 for certain server directories, so licensing is clear but scope varies. Nightly and release channels are described, but the supplied material does not show a complete changelog. Public maintenance channels exist, though ownership remains only partly clear.
Vertical tabs, notifications, splits, CLI/socket APIs, and the embedded browser directly support parallel agent work; commands and configuration examples are actionable. Scores are reduced because the combined capabilities add complexity and the packet does not quantify resource costs or the practical value of every programmable operation.
Several documents connect security boundaries, config transactions, and incident analysis to specific components, commands, or scenarios, and distinguish observations, limits, and unverified points. The incident report separates measurements from inference. Scores are reduced because the packet is mostly documentation plus limited code and lacks enough implementation files and independent source corroboration for a complete verification.
- The product targets macOS; the supplied material is insufficient to verify every feature implementation or dependency security.
- Automation APIs can send terminal input and control the browser; configure socket access for the trust boundary of the machine.
- Licensing varies by directory: the macOS app and some server directories have different terms. Check the relevant directory before adopting.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
The cmux app FFI (remote desktop core + sidebar layout reducer) as CCmuxAppFFI.xcframework (one dynamic library, libcmux_app_ffi.dylib, universal macOS arm64/x86_64). Source 47254fcf65a9b4498432fd9949a8b72db445636c. SwiftPM binaryTarget checksum (SHA-256 of the zip): 20ff71f2a5d1c26769d609936b3ec49915b930915a53c27bf426e3b5f6598ad7View on GitHub ↗
FAQ
How does cmux relate to Ghostty?
Which coding agents does cmux work with?
How do notifications work?
cmux notify or hooks.What does session restore cover?
Is cmux free?
Is cmux open source?
Is cmux safe to use?
Is cmux still maintained?
Who makes cmux?
What is cmux's official website?
Thanks — we use this to improve the page.