# cmux

> macOS terminal built on libghostty with vertical tabs, splits, agent notifications and a scriptable browser pane for running AI coding agents.

Stars: 28.6k · Language: Swift · License: GPL-3.0 · Platforms: macOS · Config: conf

Features: GPU-accelerated, built-in multiplexer, ligatures, inline images, configurable

- Repository: https://github.com/manaflow-ai/cmux
- Page: https://www.trmn.sh/terminals/cmux

## Overview

cmux is a macOS terminal from Manaflow, written in Swift and AppKit, that embeds libghostty, Ghostty's terminal core, for GPU rendering. It is built for running many AI coding agents such as Claude Code and Codex in parallel. It adds a vertical-tab sidebar and a notification system on top of Ghostty-compatible terminals. It suits developers on macOS 14 or later who keep many agent sessions open and want to see which one is waiting for input.

Terminal appearance comes from Ghostty config. cmux reads `~/.config/ghostty/config` and Ghostty's macOS location, then applies cmux-only overrides from `~/Library/Application Support/com.cmuxterm.app/config.ghostty`. App behavior, the sidebar, workspace colors and keyboard shortcuts are set in the Settings window or in `~/.config/cmux/cmux.json`, which has a published JSON schema and reloads on save. cmux controls some Ghostty settings itself: `term` is always `xterm-256color`, and window options handled by Ghostty.app's own code have no effect.

Each window holds workspaces, shown as vertical tabs that list the git branch, linked PR, working directory, listening ports and latest notification text. Workspaces split into panes, and each pane holds horizontal tabs. Notifications come from OSC 9, 99 and 777 sequences or the `cmux notify` command. A pane waiting for attention gets a blue ring, and Cmd+Shift+U jumps to the latest unread. A CLI and socket API create workspaces, split panes and send keystrokes. A built-in browser pane has a scriptable API ported from agent-browser, and `cmux ssh` opens workspaces on remote machines. Ligatures and the kitty graphics protocol work because they come from libghostty.

cmux runs only on macOS. An iOS app that attaches to the Mac's terminals is in TestFlight beta. Session restore brings back the layout, working directories and best-effort scrollback, but not running processes, unless you opt into tmux or zellij integration. The app is GPL-3.0-or-later, while the server components under `web/` and some `workers/` and `services/` directories use the Business Source License 1.1. The project releases often, and its terminal core is a fork of Ghostty with local patches.

## Alternatives

- [Windows Terminal](https://www.trmn.sh/terminals/windows-terminal.md): Microsoft's terminal for Windows that hosts PowerShell, cmd and WSL shells in tabs and panes, with GPU text rendering and JSON settings. (Windows, 105.3k stars)
- [Tabby](https://www.trmn.sh/terminals/tabby.md): Cross-platform Electron terminal with a built-in SSH, Telnet and serial client, saved connection profiles and a plugin system. (Linux/macOS/Windows, 75.2k stars)
- [Alacritty](https://www.trmn.sh/terminals/alacritty.md): Cross-platform OpenGL terminal emulator written in Rust, configured with a TOML file and leaving tabs and splits to a multiplexer like tmux. (Linux/macOS/Windows/BSD, 66.1k stars)
- [Warp](https://www.trmn.sh/terminals/warp.md): Terminal written in Rust with an IDE-style command editor, command output grouped into blocks, and built-in AI agents. (macOS/Linux/Windows, 65.7k stars)
- [Termux](https://www.trmn.sh/terminals/termux.md): Android terminal emulator and Linux environment that installs packages through its own apt repository, no root required. (Android, 63.6k stars)
- [Ghostty](https://www.trmn.sh/terminals/ghostty.md): Terminal emulator written in Zig with GPU rendering and a native UI on each platform: Swift/AppKit on macOS, GTK on Linux. (Linux/macOS, 62.8k stars)
- [Hyper](https://www.trmn.sh/terminals/hyper.md): Electron terminal built on HTML, CSS and JavaScript, themed and extended through npm plugins. (Linux/macOS/Windows, 44.8k stars)
- [Kitty](https://www.trmn.sh/terminals/kitty.md): GPU-rendered terminal written in C and Python, with its own graphics protocol, built-in tabs and splits, and scriptable 'kittens'. (Linux/macOS/BSD, 35.5k stars)

## Guides

- [Best Terminal Emulators for macOS](https://www.trmn.sh/best/terminal-emulators-for-macos): Ranked terminal emulators for macOS: Ghostty, iTerm2, kitty, WezTerm, Alacritty, Warp and more, compared on features, config and trade-offs.

---

Canonical: https://www.trmn.sh/terminals/cmux
