Open source Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents. Built for multitasking, organization, and programmability.
$ npx -y skills add manaflow-ai/cmux --agent claude-code
Run the curl in your terminal, the rest in Claude Code.
Repo: manaflow-ai/cmux
What's inside
cmux.json that launch from the command palette~/.config/ghostty/config for themes, fonts, and colorsOpen the .dmg and drag cmux to your Applications folder. cmux auto-updates via Sparkle, so you only need to download once.
brew tap manaflow-ai/cmux
brew install --cask cmux
To update later:
brew upgrade --cask cmux
On first launch, macOS may ask you to confirm opening an app from an identified developer. Click Open to proceed.
I run a lot of Claude Code and Codex sessions in parallel. I was using Ghostty with a bunch of split panes, and relying on native macOS notifications to know when an agent needed me. But Claude Code's notification body is always just "Claude is waiting for your input" with no context, and with enough tabs open I couldn't even read the titles anymore.
I tried a few coding orchestrators but most of them were Electron/Tauri apps and the performance bugged me. I also just prefer the terminal since GUI orchestrators lock you into their workflow. So I built cmux as a native macOS app in Swift/AppKit. It uses libghostty for terminal rendering and reads your existing Ghostty config for themes, fonts, and colors.
The main additions are the sidebar and notification system. The sidebar has vertical tabs that show git branch, linked PR status/number, working directory, listening ports, and the latest notification text for each workspace. The notification system picks up terminal sequences (OSC 9/99/777) and has a CLI (cmux notify) you can wire into agent hooks for Claude Code, OpenCode, etc. When an agent is waiting, its pane gets a blue ring and the tab lights up in the sidebar, so I can tell which one needs me across splits and tabs. Cmd+Shift+U jumps to the most recent unread.
The in-app browser has a scriptable API ported from agent-browser. Agents can snapshot the accessibility tree, get element refs, click, fill forms, and evaluate JS. You can split a browser pane next to your terminal and have Claude Code interact with your dev server directly.
Everything is scriptable through the CLI and socket API โ create workspaces/tabs, split panes, send keystrokes, open URLs in the browser.
cmux is not prescriptive about how developers hold their tools. It's a terminal and browser with a CLI, and the rest is up to you.
cmux is a primitive, not a solution. It gives you a terminal, a browser, notifications, workspaces, splits, tabs, and a CLI to control all of it. cmux doesn't force you into an opinionated way to use coding agents. What you build with the primitives is yours.
The best developers have always built their own tools. Nobody has figured out the best way to work with agents yet, and the teams building closed products definitely haven't either. The developers closest to their own codebases will figure it out first.
Give a million developers composable primitives and they'll collectively find the most efficient workflows faster than any product team could design top-down.
For more info on how to configure cmux, head over to our docs.
| Shortcut | Action |
|---|---|
| โ N | New workspace |
| โ 1โ8 | Jump to workspace 1โ8 |
| โ 9 | Jump to last workspace |
| โ โ ] | Next workspace |
| โ โ [ | Previous workspace |
| โ โง W | Close workspace |
| โ โง R | Rename workspace |
| โฅ โ E | Edit workspace description |
| โ B | Toggle sidebar |
| โฅ โ B | Toggle right sidebar |
| โ โง E | Toggle right sidebar focus |
| Shortcut | Action |
|---|---|
| โ T | New surface |
| โ โง ] | Next surface |
| โ โง [ | Previous surface |
| โ Tab | Next surface |
| โ โง Tab | Previous surface |
| โ 1โ8 | Jump to surface 1โ8 |
| โ 9 | Jump to last surface |
| โ W | Close surface |
| Shortcut | Action |
|---|---|
| โ D | Split right |
| โ โง D | Split down |
| โฅ โ โ โ โ โ | Focus pane directionally |
| โ โง H | Flash focused panel |
Browser developer-tool shortcuts follow Safari defaults and are customizable in Settings โ Keyboard Shortcuts.
Command palette navigation shortcuts, including โ P, are also customizable and can be cleared so the keypress reaches the active terminal.
| Shortcut | Action |
|---|---|
| โ โง L | Open browser in split |
| โ L | Focus address bar |
| โ [ | Back |
| โ ] | Forward |
| โ R | Reload page |
| โฅ โ I | Toggle Developer Tools (Safari default) |
| โฅ โ C | Show JavaScript Console (Safari default) |
| Shortcut | Action |
|---|---|
| โ I | Show notifications panel |
| โ โง U | Jump to latest unread |
| โฅ โ U | Toggle current item unread state |
| โ โ U | Mark current item as oldest unread and jump to next latest unread |
| Shortcut | Action |
|---|---|
| โ F | Find |
| โ โง F | Find in directory |
| โ G / โฅ โ G | Find next / previous |
| โฅ โ โง F | Hide find bar |
| โ E | Use selection for find |
| Shortcut | Action |
|---|---|
| โ K | Clear scrollback |
| โ C | Copy (with selection) |
| โ V | Paste |
| โ + / โ - | Increase / decrease font size |
| โ 0 | Reset font size |
| Shortcut | Action |
|---|---|
| โ โง N | New window |
| โ โง O | Reopen previous session |
| โ , | Settings |
| โ โง , | Reload configuration |
| โ Q | Quit |
cmux NIGHTLY is a separate app with its own bundle ID, so it runs alongside the stable version. Built automatically from the latest main commit and auto-updates via its own Sparkle feed.
Report nightly bugs on GitHub Issues or in #nightly-bugs on Discord.
Quitting cmux saves the current session. On relaunch, cmux restores app-owned state:
cmux does not checkpoint arbitrary live process state. tmux, vim, shells, and unsupported terminal apps reopen as normal terminals.
Supported agent sessions can resume when hooks have saved a native session ID.
Install hooks after installing the agent CLI so its binary is on PATH:
cmux hooks setup
cmux hooks setup codex
cmux hooks setup --agent opencode
cmux hooks setup installs supported agents it can find and prints a summary
for skipped agents. Supported resume integrations include Claude Code, Codex,
Grok, OpenCode, Pi, Amp, Cursor CLI, Gemini, Rovo Dev, Copilot, CodeBuddy,
Factory, and Qoder. Claude Code is handled by the cmux Claude wrapper when Claude
integration is enabled in Settings.
Advanced users and integrations can attach a custom resume command to the current terminal surface. This is useful for tools with their own durable state, such as tmux sessions or custom agent CLIs:
cmux surface resume set --kind tmux --checkpoint work --shell "tmux attach -t work"
cmux surface resume show --json
cmux surface resume clear --checkpoint work
The binding stays attached to the cmux surface. Public CLI or socket-created bindings are stored for inspection and manual restore unless you approve a signed command prefix for automatic restore. Approved prefixes are also bound to the working directory and exact environment values, when present. Review or edit approvals in Settings > Terminal > Resume Commands. cmux only auto-runs resume bindings it marks trusted, such as live process-detected tmux bindings or user-approved prefixes. Sensitive environment keys such as tokens, passwords, secrets, and API keys are dropped before a resume binding is stored.
To keep restored agent terminals idle instead of automatically running their resume commands,
turn off Settings > Terminal > Resume Agent Sessions on Reopen or set this in
~/.config/cmux/cmux.json:
{
"terminal": {
"autoResumeAgentSessions": false
}
}
This only disables automatic agent resume commands. cmux still restores the saved layout, working directories, scrollback, and browser history.
If you need to reapply the last saved snapshot manually, use:
File > Reopen Previous Sessionโ โง Ocmux restore-sessionUnder the hood, cmux writes a versioned snapshot under
~/Library/Application Support/cmux/ and agent hooks write session mappings
under ~/.cmuxterm/. On restore, cmux rebuilds the layout first, then runs the
supported agent's native resume command when automatic agent resume is enabled.
Read the full guide at https://cmux.com/docs/session-restore.
cmux is not a fork of Ghostty. It uses libghostty as a library for terminal rendering, the same way apps use WebKit for web views. Ghostty is a standalone terminal; cmux is a different app built on top of its rendering engine.
macOS only, for now. cmux is a native Swift + AppKit app.
Yes, in beta. Pair your iPhone with your Mac from the Mobile Connect window and attach to your terminals from your phone, with optional forwarding of terminal notifications. It ships on TestFlight as cmux BETA. Early access is included with cmux Founders Edition. See the iOS docs.
All of them. cmux is a terminal, so any agent that runs in a terminal works out of the box: Claude Code, Codex, OpenCode, Gemini CLI, Kiro, Aider, Goose, Amp, Cline, Cursor Agent, and anything else you can launch from the command line.
Yes. When an agent spawns subagents or teammates, cmux turns them into native panes and splits instead of hidden background processes. It supports Claude Code teams and oh-my-opencode multi-model orchestration, so every agent in a run is visible and controllable.
Yes. Open workspaces over SSH and attach to remote tmux sessions, so agents can run on a remote host while you drive them from cmux. See SSH and remote.
When a process needs attention, cmux shows notification rings around panes, unread badges in the sidebar, a notification popover, and a macOS desktop notification. These fire automatically via standard terminal escape sequences (OSC 9/99/777), or you can trigger them with the cmux CLI and agent hooks. Any agent that supports hooks or OSC works, including Claude Code, Codex, OpenCode, and pi.
Yes. Every action is available through the cmux CLI and a Unix socket: create workspaces, open split panes, send input, read screen contents, take screenshots, and drive the in-app browser. See the CLI reference and browser automation docs.
cmux can split a real browser pane next to your terminal, and it is fully programmable: navigate, snapshot the DOM, click, type, evaluate JavaScript, and read console and network activity over the same socket API. Agents use it to verify their own web changes without leaving cmux. See browser automation.
Yes. Skills are reusable workflows you can give any agent running in cmux, for things like CLI control, workspace automation, settings, and browser surfaces. Browse the open collection at cmux-skills, or read the skills docs.
Terminal keybindings are read from your Ghostty config file (~/.config/ghostty/config). cmux-specific shortcuts (workspaces, splits, browser, notifications) can be customized in Settings. See the default shortcuts for a full list.
Yes. Terminal rendering uses your Ghostty config, so themes, fonts, colors, and cursor carry over directly. cmux's own settings in ~/.config/cmux/cmux.json control the sidebar, tab bar, split panes, and behavior, and every keyboard shortcut is editable. See configuration.
Yes. cmux restores your windows, workspaces, panes, working directories, and scrollback when you relaunch, and the state survives a full computer restart, not just quitting the app. Agent sessions like Claude Code, Codex, and OpenCode come back too. See session restore.
tmux is a terminal multiplexer that runs inside any terminal. cmux is a native macOS app with a GUI: vertical tabs, split panes, an embedded browser, and a socket API, all built in, no config files or prefix keys needed. That said, lots of people happily run cmux with SSH and tmux together, and cmux can attach to your remote tmux sessions natively (beta).
Yes, cmux is free to use. The source code is available on GitHub.
cmux is free and open source, and always will be. If you want to back development and get early access to what's next, including cmux AI, the iOS app, and Cloud VMs, check out cmux Founders Edition.
We want to hear it. Open an issue or pull request on GitHub, or email us.
Ways to get involved:
cmux is free, open source, and always will be. If you'd like to support development and get early access to what's coming next:
cmux is open source under GPL-3.0-or-later.
If your organization cannot comply with GPL, commercial terms may be available for portions for which Manaflow controls the necessary rights. They do not relicense third-party material or outside contributions for which Manaflow lacks a separate grant. See LICENSE for the exact scope and contact founders@manaflow.com for details.
.agents/
skills
.asc/
workflow.json
.claude/
commands/
cleanup-builds.md
pull.md
release-local.md
release-nightly.md
release.md
sync-branch.md
skills/
cmux
cmux-architecture
cmux-backend
cmux-browser
cmux-customization
cmux-debugging
cmux-dev-workflow
cmux-diagnostics
cmux-ghostty
cmux-keyboard-shortcuts
cmux-localization
cmux-markdown
cmux-release
cmux-settings
cmux-shared-behavior
cmux-socket-policy
cmux-testing
cmux-workspace
.coderabbit.yaml
.cursor/
rules/
main.mdc
.gitattributes
.github/
actionlint.yaml
CODEOWNERS
FUNDING.yml
ISSUE_TEMPLATE/
bug_report.yml
config.yml
feature_request.yml
pull_request_template.md
review-bot-rules/
algorithmic-complexity.md
browser-automation-webkit-waits-off-main.md
cache-substitution-correctness.md
full-internationalization.md
hot-path-allocating-formatting.md
landing-page-registry-parity.md
no-ambient-global-state.md
no-test-debug-seam-in-production-source.md
react-base-ui-accessibility.md
readme-site-feature-parity.md
README.md
reliability-single-source-of-truth.md
runtime-no-hacky-sleeps.md
source-control-artifacts.md
swift-actor-isolation.md
swift-architectural-rethink.md
swift-auxiliary-window-close-shortcuts.md
swift-blocking-runtime.md
swift-concurrency-modernization.md
swift-concurrent-annotation.md
swift-expensive-sync-load.md
swift-logging.md
swift-package-boundaries.md
swiftpm-package-resolved.md
swiftui-state-layout.md
test-determinism.md
user-facing-errors.md
scripts/
install-app-store-provisioning-profile.sh
swift-warning-budget.tsv
test-determinism-allowlist.txt
workflows/
build-ghosttykit.yml
ci-macos-compat.yml
ci.yml
claude.yml
cloud-vm-migrate.yml
cloud-vm-smoke.yml
cmux-browser.yml
cmux-tui-artifacts.yml
cmux-tui-build-package.yml
cmux-tui-nightly.yml
cmux-tui-release-cut.yml
cmux-tui-release.yml
cmux-tui-sdks.yml
cmux-tui-spec.yml
cmux-tui.yml
docs-channels.yml
docs-deploy-reusable.yml
indexnow.yml
ios-app-store.yml
ios-appstore-upload.yml
ios-screenshots.yml
ios-streamed-validate.yml
ios-testflight.yml
iroh-relay-minter.yml
iroh-release-gate.yml
nightly.yml
perf-activation.yml
presence.yml
release.yml
reload-build.yml
sdk-bootstrap-crates.yml
sdk-bootstrap-npm.yml
sdk-bootstrap-pypi.yml
sdk-publish-crates.yml
sdk-publish-go.yml
sdk-publish-java.yml
sdk-publish-npm.yml
sdk-publish-python.yml
sdk-release-cut.yml
test-depot.yml
test-e2e.yml
test-ios.yml
tmux-corpus.yml
tui-publish-npm.yml
tui-publish-pypi.yml
update-homebrew.yml
vercel-auth-health.yml
.gitignore
.gitkeep
.gitmodules
.greptile/
config.json
files.json
rules.md
.vercelignore
.xcode-version
AGENTS.md
AppIcon.icon/
Assets/
cmux-icon-chevron 2.png
icon.json
Assets.xcassets/
AgentIcons/
Antigravity.imageset/
Antigravity.png
Antigravity@2x.png
Antigravity@3x.png
Contents.json
Claude.imageset/
Claude.png
Claude@2x.png
Claude@3x.png
Contents.json
Codex.imageset/
Codex-dark.png
Codex-dark@2x.png
Codex-dark@3x.png
Codex.png
Codex@2x.png
Codex@3x.png
Contents.json
Contents.json
Grok.imageset/
Contents.json
Grok.svg
HermesAgent.imageset/
Contents.json
HermesAgent.svg
OpenCode.imageset/
Contents.json
OpenCode.png
OpenCode@2x.png
OpenCode@3x.png
Pi.imageset/
Contents.json
Pi.svg
RovoDev.imageset/
Contents.json
RovoDev.png
RovoDev@2x.png
RovoDev@3x.png
AppIcon-Debug.appiconset/
128.png
128@2x.png
16.png
16@2x.png
256.png
256@2x.png
32.png
32@2x.png
512.png
512@2x.png
Contents.json
AppIcon-Nightly.appiconset/
128.png
128@2x.png
16.png
16@2x.png
256.png
256@2x.png
32.png
32@2x.png
512.png
512@2x.png
Contents.json
AppIcon.appiconset/
128_dark.png
128.png
128@2x_dark.png
128@2x.png
16_dark.png
16.png
16@2x_dark.png
16@2x.png
256_dark.png
256.png
256@2x_dark.png
256@2x.png
32_dark.png
32.png
32@2x_dark.png
32@2x.png
512_dark.png
512.png
512@2x_dark.png
512@2x.png
Contents.json
AppIconDark.imageset/
AppIconDark.png
Contents.json
AppIconLight.imageset/
AppIconLight.png
Contents.json
Contents.json
CHANGELOG.md
CLAUDE.md
CLI/
AgentHookFailureStage.swift
AgentHookNotificationPolicy.swift
AgentSurfaceResumeBindingClearOutcome.swift
BrowserValueTextFormatter.swift
ClaudeHookSessionStore+SupersededCleanup.swift
ClaudeHookSessionStoreFile.swift
CLISocketPathResolver.swift
CLISocketSentryTelemetry.swift
cmux_layout.swift
cmux_open.swift
cmux.swift
CMUXCLI+AgentHookCatalog.swift
CMUXCLI+AgentHookDefinitions.swift
CMUXCLI+AgentHookFailureReporting.swift
CMUXCLI+AgentHookPayload.swift
CMUXCLI+AgentHookProcessBinding.swift
CMUXCLI+AgentHookProcessBindingProbe.swift
CMUXCLI+AgentHookProcessBindingResult.swift
CMUXCLI+AgentHookProcessBindingSource.swift
CMUXCLI+AgentHookRestoreEvidence.swift
CMUXCLI+AmpExtension.swift
CMUXCLI+AutoNaming.swift
CMUXCLI+AutoNamingDispatch.swift
CMUXCLI+AutoNamingGenericHooks.swift
CMUXCLI+AutoNamingHooks.swift
CMUXCLI+AutoNamingSummarizers.swift
CMUXCLI+BrowserViewport.swift
CMUXCLI+CampfireExtension.swift
CMUXCLI+CampfireExtensionInstall.swift
CMUXCLI+CampfireNotifications.swift
CMUXCLI+ClaudeHookAck.swift
CMUXCLI+ClaudeHookDeliveryTarget.swift
CMUXCLI+ClaudeHookWorkspaceRouting.swift
CMUXCLI+ClaudePushNotificationHook.swift
CMUXCLI+CodexFireAndForgetHooks.swift
CMUXCLI+CommandSuggestions.swift
CMUXCLI+Comments.swift
CMUXCLI+Config.swift
CMUXCLI+DiffSidecar.swift
CMUXCLI+DiffViewerBundledAssets.swift
CMUXCLI+DiffViewerShortcuts.swift
CMUXCLI+DocsSettings.swift
CMUXCLI+Events.swift
CMUXCLI+ExecutableResolution.swift
CMUXCLI+HermesAgentHooks.swift
CMUXCLI+InstallPreview.swift
CMUXCLI+JSONOutput.swift
CMUXCLI+KimiHooks.swift
CMUXCLI+Memory.swift
CMUXCLI+MemoryAttribution.swift
CMUXCLI+MoshTerminalTransport.swift
CMUXCLI+MoveTabToNewWorkspace.swift
CMUXCLI+OmpExtension.swift
CMUXCLI+PiCompactedFeed.swift
CMUXCLI+PiExtension.swift
CMUXCLI+PiExtensionSource.swift
CMUXCLI+PiExtensionSourceDispatch.swift
CMUXCLI+PiExtensionSourcePart1.swift
CMUXCLI+PiExtensionSourcePart2.swift
CMUXCLI+Process.swift
CMUXCLI+RemotePTYErrors.swift
CMUXCLI+Remotes.swift
CMUXCLI+Restore.swift
CMUXCLI+RestoreExecution.swift
CMUXCLI+RestoreFailureReporting.swift
CMUXCLI+RestorePreflight.swift
CMUXCLI+RestoreRecord.swift
CMUXCLI+RestoreSelector.swift
CMUXCLI+RovoDevHooks.swift
CMUXCLI+SessionsList.swift
CMUXCLI+SessionsListClaudeWorkflow.swift
CMUXCLI+SessionsListForkDiagnostics.swift
CMUXCLI+SessionsListForkStartupInput.swift
CMUXCLI+SessionsListProcessArguments.swift
CMUXCLI+SIGPIPEProbes.swift
CMUXCLI+Simulator.swift
CMUXCLI+SimulatorAgent.swift
CMUXCLI+SimulatorAgentFormatting.swift
CMUXCLI+SimulatorAgentOutput.swift
CMUXCLI+SimulatorAgentRequest.swift
CMUXCLI+SimulatorInput.swift
CMUXCLI+SimulatorSettings.swift
CMUXCLI+SocketClientCapability.swift
CMUXCLI+SSHCommandOptions.swift
CMUXCLI+SSHCommandSupport.swift
CMUXCLI+SSHConnectionSharing.swift
CMUXCLI+SSHHelp.swift
CMUXCLI+SSHPTYAttachBridge.swift
CMUXCLI+SSHReconnectPrompt.swift
CMUXCLI+SSHStartupScripts.swift
CMUXCLI+Themes.swift
CMUXCLI+ThemeSupport.swift
CMUXCLI+TmuxCompatHUDSupport.swift
CMUXCLI+TmuxCompatLaunchContext.swift
CMUXCLI+TmuxCompatResizePane.swift
CMUXCLI+TmuxCompatSupport.swift
CMUXCLI+TopRendering.swift
CMUXCLI+TypedDiffViewer.swift
CMUXCLI+WorkspaceTodo.swift
CodexHookFailureCandidate.swift
CodexHookFailureSummary.swift
CodexHookUserInputCandidate.swift
CodexMonitorOwnerState.swift
CodexTeamsApprovalBridge.swift
CodexTranscriptFailureReadResult.swift
CodexTranscriptMonitorStopReplay.swift
CodexTranscriptSubagentSignals.swift
FeedEventClassifier.swift
IOSScreenshotCommandResultBox.swift
PiCompactedFeedEventExpander.swift
SocketOperationTelemetry.swift
SSHPTYAttachReconnectInputFilter.swift
SSHPTYAttachReconnectInputFilterControl.swift
SSHPTYAttachReconnectInputFilterPumpIO.swift
SSHPTYAttachReconnectInputFilterSequenceMatch.swift
SSHPTYAttachReconnectInputFilterState.swift
SSHPTYResizeMonitor.swift
SSHPTYTerminalReadinessReport.swift
TmuxCompatLaunchContextError.swift
WorkspaceLoadingArguments.swift
CONTRIBUTING.md
Examples/
CmuxExtensionSidebarExamples/
Package.swift
Sources/
CmuxExtensionSidebarExamples/
AttentionQueueSidebar.swift
BrowserStackSidebar.swift
DevServerSidebar.swift
LastPromptSidebar.swift
ProjectWorktreeSidebar.swift
SidebarExamples.swift
SuperCompactSidebar.swift
Tests/
CmuxExtensionSidebarExamplesTests/
AttentionQueueSidebarTests.swift
BrowserStackSidebarTests.swift
SidebarProviderExistentialDispatchTests.swift
CustomSidebars/
finder.swift
README.md
status-board.swift
SampleSidebarExtensionApp/
README.md
SampleSidebarExtension/
Connection/
SidebarConnectionModel.swift
Extension/
SampleSidebarExtension.swift
Info.plist
Localizable.xcstrings
Model/
SidebarInsightModel.swift
UI/
SampleSidebarView.swift
SummaryPill.swift
WorkspaceInsightRow.swift
SampleSidebarExtensionApp/
SampleSidebarExtensionApp.xcodeproj/
project.pbxproj
xcshareddata/
xcschemes/
CMUXExtKitSampleSidebarApp.xcscheme
SampleSidebarExtensionApp.xcscheme
Assets.xcassets/
... 1600 moreShowing a partial view of a very large repo.
FAQ
cmux is a Claude Code plugin with 20 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes cmux-architecture, cmux-backend, cmux-billing. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.