https://github.com/manaflow-ai/cmux
Ghostty-based terminal with vertical tabs and a notification panel for macOS
https://github.com/manaflow-ai/cmux
Last synced: about 1 month ago
JSON representation
Ghostty-based terminal with vertical tabs and a notification panel for macOS
- Host: GitHub
- URL: https://github.com/manaflow-ai/cmux
- Owner: manaflow-ai
- Created: 2026-01-28T10:03:24.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-02-12T10:46:49.000Z (5 months ago)
- Last Synced: 2026-02-12T11:14:57.308Z (5 months ago)
- Language: Swift
- Homepage: https://term.cmux.dev
- Size: 39.5 MB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Agents: AGENTS.md
Awesome Lists containing this project
- awesome-swift-macos-apps - cmux - ai/cmux?style=flat&label=" /> <img align="bottom" height="13" src="https://img.shields.io/github/last-commit/manaflow-ai/cmux?style=flat&label=" /> - Ghostty-based terminal workspace with vertical tabs, browser import, custom commands, and automation APIs for AI coding workflows. (Music / Text)
- definitive-opensource - cmux - based macOS terminal with vertical tabs and notifications for AI coding agents | `MacOS` | **22.5k** | (Table of Contents / Terminal Emulator)
- awesome-cli-agents - manaflow-ai/cmux - Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents [Terminal] (21k⭐) (🚀 AI Tools for Vim, Neovim, and Terminal)
- awesome-claude-code - manaflow-ai/cmux - ai/cmux?style=flat-square&logo=github) | Ghostty-based macOS terminal with tabs and notifications for AI coding agents | (GUI & IDE)
- awesome-ChatGPT-repositories - cmux - Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents (The latest additions 🎉)
- awesome-agent-orchestrators - cmux - Open-source platform for running multiple coding agents in parallel. (Parallel Agent Runners)
- StarryDivineSky - manaflow-ai/cmux - ai团队开发的macOS终端增强工具,基于Ghostty终端实现,核心解决了开发者在同时运行多个AI编程代理(如代码生成、调试工具)时终端窗口杂乱、输出流混乱的痛点。通过创新的垂直标签页布局和实时通知系统,它将传统终端改造成一个可集中管理多任务的高效工作台,尤其适合需要频繁与AI交互的现代开发场景。 **项目三大核心优势**:首先,其垂直标签页设计突破了传统终端横向分屏的局限,充分利用宽屏显示器空间,允许用户在同一视窗内纵向排列多个代理会话,避免频繁切换窗口导致的注意力分散。其次,智能通知机制能实时捕捉AI代理的关键输出(如错误日志或任务完成提示),通过系统级提醒确保开发者不会遗漏重要信息,这一功能在同类工具中极为罕见。更值得注意的是,cmux深度优化了终端与AI工具的集成体验,例如支持结构化展示AI生成的代码块或命令建议,相比单纯使用原生终端或TMUX等通用分屏工具,显著降低了信息解析成本。 **技术实现上**,cmux巧妙地利用了Ghostty终端的可扩展性架构,通过分层式设计将终端输出流转化为可交互的视觉模块。其工作原理类似于机场航班信息屏:底层终端会话如同起降的航班,持续产生数据流;中层的标签页管理系统充当航站楼调度塔,按优先级分配屏幕空间和通知触发规则;顶层的用户界面则像旅客看到的显示屏,将原始数据重组为分栏视图和弹出提醒。这种架构避免了传统终端复用工具(如TMUX)需要手动配置会话的繁琐,通过自动化流分类和空间分配,使得开发者能更专注于与AI代理的协作而非终端管理本身。 整体而言,cmux填补了AI时代开发工具链中的一个关键空白——当越来越多的开发任务由AI代理异步处理时,它提供了首个为这种工作流量身定制的终端环境,其设计哲学预示着未来IDE与终端工具的融合趋势。 (A01_文本生成_文本对话 / 大语言对话模型及数据)
- awesome-claude-code - manaflow-ai/cmux - ai/cmux?style=flat) | Native macOS terminal built on libghostty with vertical tabs, notification rings, split panes, and an embedded scriptable browser for multi-agent workflows | (🖥️ Terminal Apps)
- stars - cmux - based macOS terminal with vertical tabs and notifications for AI coding agents. Built for multitasking, organization, and programmability. | manaflow-ai | 22851 | (Swift)
- awesome-local-llms - cmux - based macOS terminal with vertical tabs and notifications. Built for AI coding agents and programmability. | 22,569 | 1,776 | 1,252 | 0 | 47 | Other | 0 days, 0 hrs, 3 mins | (Open-Source LLM & Agent Projects)
- awesome-cli-coding-agents - cmux - source platform for running multiple coding agents in parallel. (Harnesses & orchestration / Session managers & parallel runners)
- awesome-github-projects - cmux - Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents ⭐22,310 `Swift` 🔥 (🤖 AI & Machine Learning)
- awesome-side-quests - manaflow-ai/cmux - based macOS terminal with vertical tabs and agent-specific notification management (AI & LLM / Agents & Orchestration)
- awesome-ai-devtools - cmux - based macOS terminal with vertical tabs and notifications for AI coding agents. Features notification rings, in-app browser, SSH support, and Claude Code Teams integration. (Terminal / Terminal Agents)
- awesome-agent-harness - GitHub - 22556-f4b400?style=flat-square)](https://github.com/manaflow-ai/cmux) | macos, workspace, browser | Native macOS terminal and browser workspace for AI coding agents with notifications, split panes, and scriptable control. | (Catalog / Reference Harness Implementations)
- awesome-ai-tools - cmux - brightgreen) — The dominant agent multiplexer by traction (22.7k★). Native macOS terminal built on libghostty with agent-state awareness, subagent-to-pane promotion, built-in browser automation pane, iOS app (beta), Unix socket + CLI API, skills system, SSH remote attach. Survives full reboots with session restore. · `MIT` · Swift (AppKit + libghostty) · ≈22.7k★ *GitHub API, 2026-06-19* (🐄 Agent Managers & Multiplexers / Editor-agent runtimes & managed platforms)
- awesome-ccamel - manaflow-ai/cmux - Open source Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents. Built for multitasking, organization, and programmability. (Swift)
- awesome-repo - cmux - based macOS terminal with vertical tabs and notifications for AI coding agents (Tool / Terminal Emulator)
README
cmux
A Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents
English | 简体中文 | 繁體中文 | 한국어 | Deutsch | Español | Français | Italiano | Dansk | 日本語 | Polski | Русский | Bosanski | العربية | Norsk | Português (Brasil) | ไทย | Türkçe
▶ Demo video · The Zen of cmux
## Features
Notification rings
Panes get a blue ring and tabs light up when coding agents need your attention

Notification panel
See all pending notifications in one place, jump to the most recent unread

In-app browser
Split a browser alongside your terminal with a scriptable API ported from agent-browser

Vertical + horizontal tabs
Sidebar shows git branch, linked PR status/number, working directory, listening ports, and latest notification text. Split horizontally and vertically.

- **Scriptable** — CLI and socket API to create workspaces, split panes, send keystrokes, and automate the browser
- **Native macOS app** — Built with Swift and AppKit, not Electron. Fast startup, low memory.
- **Ghostty compatible** — Reads your existing `~/.config/ghostty/config` for themes, fonts, and colors
- **GPU-accelerated** — Powered by libghostty for smooth rendering
## Install
### DMG (recommended)
Open the `.dmg` and drag cmux to your Applications folder. cmux auto-updates via Sparkle, so you only need to download once.
### Homebrew
```bash
brew tap manaflow-ai/cmux
brew install --cask cmux
```
To update later:
```bash
brew upgrade --cask cmux
```
On first launch, macOS may ask you to confirm opening an app from an identified developer. Click **Open** to proceed.
## Why cmux?
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](https://github.com/vercel-labs/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.
## The Zen of cmux
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.
## Documentation
For more info on how to configure cmux, [head over to our docs](https://cmux.dev/docs/getting-started?utm_source=readme).
## Keyboard Shortcuts
### Workspaces
| 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 |
| ⌘ B | Toggle sidebar |
### Surfaces
| 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 |
### Split Panes
| Shortcut | Action |
|----------|--------|
| ⌘ D | Split right |
| ⌘ ⇧ D | Split down |
| ⌥ ⌘ ← → ↑ ↓ | Focus pane directionally |
| ⌘ ⇧ H | Flash focused panel |
### Browser
Browser developer-tool shortcuts follow Safari defaults and are customizable in `Settings → Keyboard Shortcuts`.
| 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) |
### Notifications
| Shortcut | Action |
|----------|--------|
| ⌘ I | Show notifications panel |
| ⌘ ⇧ U | Jump to latest unread |
### Find
| Shortcut | Action |
|----------|--------|
| ⌘ F | Find |
| ⌘ G / ⌘ ⇧ G | Find next / previous |
| ⌘ ⇧ F | Hide find bar |
| ⌘ E | Use selection for find |
### Terminal
| Shortcut | Action |
|----------|--------|
| ⌘ K | Clear scrollback |
| ⌘ C | Copy (with selection) |
| ⌘ V | Paste |
| ⌘ + / ⌘ - | Increase / decrease font size |
| ⌘ 0 | Reset font size |
### Window
| Shortcut | Action |
|----------|--------|
| ⌘ ⇧ N | New window |
| ⌘ , | Settings |
| ⌘ ⇧ , | Reload configuration |
| ⌘ Q | Quit |
## Nightly Builds
[Download cmux NIGHTLY](https://github.com/manaflow-ai/cmux/releases/download/nightly/cmux-nightly-macos.dmg)
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.
## Session restore (current behavior)
On relaunch, cmux currently restores app layout and metadata only:
- Window/workspace/pane layout
- Working directories
- Terminal scrollback (best effort)
- Browser URL and navigation history
cmux does **not** restore live process state inside terminal apps. For example, active Claude Code/tmux/vim sessions are not resumed after restart yet.
## Star History
## Contributing
Ways to get involved:
- Follow us on X for updates [@manaflowai](https://x.com/manaflowai), [@lawrencecchen](https://x.com/lawrencecchen), and [@austinywang](https://x.com/austinywang)
- Join the conversation on [Discord](https://discord.gg/xsgFEVrWCZ)
- Create and participate in [GitHub issues](https://github.com/manaflow-ai/cmux/issues) and [discussions](https://github.com/manaflow-ai/cmux/discussions)
- Let us know what you're building with cmux
## Community
- [Discord](https://discord.gg/xsgFEVrWCZ)
- [GitHub](https://github.com/manaflow-ai/cmux)
- [X / Twitter](https://twitter.com/manaflowai)
- [YouTube](https://www.youtube.com/channel/UCAa89_j-TWkrXfk9A3CbASw)
- [LinkedIn](https://www.linkedin.com/company/manaflow-ai/)
- [Reddit](https://www.reddit.com/r/cmux/)
## Founder's Edition
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:
**[Get Founder's Edition](https://buy.stripe.com/3cI00j2Ld0it5OU33r5EY0q)**
- **Prioritized feature requests/bug fixes**
- **Early access: cmux AI that gives you context on every workspace, tab and panel**
- **Early access: iOS app with terminals synced between desktop and phone**
- **Early access: Cloud VMs**
- **Early access: Voice mode**
- **My personal iMessage/WhatsApp**
## License
This project is licensed under the GNU Affero General Public License v3.0 or later (`AGPL-3.0-or-later`).
See `LICENSE` for the full text.