Kmux
Terminal workspace for running parallel AI coding agents (Claude Code, Codex CLI, Antigravity CLI) on macOS and Linux. Features multi-session resume, API usage dashboards, and…
Install: brew install --cask kkd927/kmux/kmux
Works with Claude Code, Codex, Gemini CLI · 26 GitHub stars
Install
brew install --cask kkd927/kmux/kmuxInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →kmux
The multi-session terminal workspace for running AI coding agents side-by-side.
A terminal emulator designed for Claude Code, Codex CLI, and Antigravity CLI on macOS and Linux.Keep track of parallel agent sessions, monitor API usage, and work safely on separate branches via native git worktrees.
English | 日本語 | 简体中文 | 한국어 | Español
macOS
Linux
Why kmux?
Running CLI-based AI agents like Claude Code, Codex CLI, or Antigravity CLI alongside your development server quickly leads to terminal clutter, fragmented session history, and git conflicts when agents write to the same working directory.
kmux solves this by providing a dedicated terminal workspace built for agent workflows:
- Isolated Parallel Sessions: Run multiple agents simultaneously in split panes or vertical tabs without environment conflicts.
- Attention Notifications: Get native desktop notifications and workspace badges immediately when an agent completes a task or requires human input.
- Unified Usage Dashboard: Monitor API spend, token heatmaps, and session budgets across all agent providers in a single sidebar.
- Instant Session Resume: Browse your indexing history and resume past agent sessions in one click.
- Worktree Workspaces: Spin up isolated
git worktreeenvironments automatically, allowing multiple agents to safely modify different branches of the same repository.
Features
Unified Usage Dashboard
Track token usage and API spend across Claude Code, Codex CLI, and Antigravity CLI in one sidebar panel — daily heatmap, today's spend, top-spending models, and per-project hotspots.
Cross-Agent Session History
kmux indexes sessions from Claude, Codex, and Antigravity into one searchable sidebar — click any session to resume it instantly, in a fresh pane or the tab that's already open.
Worktree Workspaces
Right-click any workspace → Convert to Worktree Workspace for an isolated git worktree, so agents can safely edit different branches of the same repo in parallel.
SSH Workspaces
Connect any SSH host as a kmux workspace with Convert to SSH Workspace... — split terminals, run agent sessions side by side, and resume right where you left off after reopening the app.
Terminal Power-User Features
- Split Panes & Tabs — Group build servers, logs, and agent shells within a single workspace.
- Smart Sidebar — Automatically detects your active working directory (
cwd), git branch, listening ports, and unread status. - Layout Persistence — Instantly restores your exact workspace layouts, active tabs, and directories when you relaunch the app.
- Vim Copy Mode & Search — Search terminal buffers (
⌘ F) and use Vim-like keybindings to select and copy text without touching the mouse. - Command Palette — Access all actions and custom workspace commands quickly with
⌘ ⇧ P.
Install
macOS
Homebrew (recommended)
brew tap kkd927/kmux
brew install --cask kkd927/kmux/kmux
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code, like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…