AI/TLDR

cmux

A Ghostty-based macOS terminal built around supervising coding agents

Coding-Agent Harnesses & RuntimesOpen source
Language
Swift
License
GPL-3.0-or-later
$brew tap manaflow-ai/cmux

Overview

cmux is a native macOS terminal built on libghostty and aimed squarely at people running AI coding agents. A terminal is already where Claude Code, Codex, Gemini CLI and the rest live; cmux keeps that model but adds the bookkeeping those workflows need — vertical tabs that surface the git branch, pull-request status, listening ports and pending notifications for each session.

The core problem it targets is attention. When several agents are working at once, you need to know which one is blocked on a question and which is still grinding, so cmux shows a blue ring and a sidebar badge on any tab that wants you. Layouts, working directories and scrollback are restored between launches, so a set of long-running agent sessions survives a restart.

It is also programmable. cmux exposes a CLI and a Unix socket API, and ships a built-in browser with a scriptable API that an agent can drive, which means an agent can open a preview of the dev server it just started. Rendering is GPU-accelerated through libghostty, and remote work is covered by `cmux ssh`. The project is open source under GPL-3.0-or-later, with optional commercial terms; the app is written in Swift and AppKit, and iOS is in beta via TestFlight.

What it does

  • Vertical and horizontal tabs showing git branch, PR status, open ports and notification state per session
  • Attention notifications — blue rings and sidebar badges — so you can tell which agent is waiting on you
  • Built-in browser with a scriptable API that agents can drive for previews and automation
  • Programmable through a CLI and a Unix socket API
  • Session restoration of layouts, working directories and scrollback across restarts
  • SSH support with `cmux ssh user@remote`, plus a `cmux claude-teams` integration
  • GPU-accelerated rendering via libghostty

Getting started

cmux is macOS-only. Install the signed app from the releases page, or use the project's Homebrew tap.

Install with Homebrew

Tap the project and install the cask.

bashbash
brew tap manaflow-ai/cmux
brew install --cask cmux

Or install the DMG

Download the DMG from the repository's releases page and drag cmux into your Applications folder.

Open a tab per agent

Start your usual coding agent in each tab — Claude Code, Codex, OpenCode, Gemini CLI, Aider, Goose, Amp, Cline or Cursor Agent all work, because cmux is a terminal. The tab strip then shows each session's branch, PR state and ports.

Work on a remote machine

Use the built-in SSH command to run the same setup against a remote host.

bashbash
cmux ssh user@remote

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Reach for it when you keep several coding agents running and lose track of which one is blocked
  • Use it when you want agent sessions — layout, directories and scrollback — to survive a restart
  • Good when you want an agent to open and inspect a dev-server preview without leaving the terminal
  • Useful for scripting terminal workflows through the CLI and socket API rather than clicking around

How cmux compares

cmux alongside other open-source coding-agent harnesses & runtimes tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
CC Switch★ 133kA cross-platform desktop app that manages provider configuration for eight coding-agent CLIs from one place, with a local failover proxy, MCP and skill management, and spend tracking.
Oh My OpenAgent★ 69.1kOpinionated agent bundle for OpenCode and Codex CLI that ships preconfigured sub-agents, lifecycle hooks and built-in MCP servers behind a single ultrawork command.
oh-my-claudecode★ 39.2kA plugin and CLI that adds multi-agent orchestration to Claude Code: staged autopilot workflows, parallel tmux workers, and advisors that route a second opinion to Codex, Gemini, Grok or Cursor.
herdr★ 39kA single-binary terminal multiplexer built for coding agents: persistent sessions across local and SSH machines, per-pane working/blocked/idle status, and a socket API agents drive themselves.
AionUi★ 32.9kAn open-source desktop workspace that pairs a built-in agent engine with dozens of external CLI agents, adding scheduled runs, MCP tools and remote access from a WebUI or chat apps.
cmux★ 27.2kA Ghostty-based macOS terminal built around supervising coding agents
cc-connect★ 15.5kA Go daemon that bridges local coding agents — Claude Code, Codex, Cursor Agent, Gemini CLI, OpenCode, Kimi CLI and more — to Feishu, DingTalk, Slack, Telegram, Discord, LINE and WeCom, so you drive them from chat.
Claude Code Haha★ 14.5kA cross-platform desktop workspace for Claude Code: multi-session workspaces, worktree launch, diff review, a built-in browser preview, GUI permission approval, per-session model choice and visual MCP and subagent managers.