Native split panes for Claude Code agent teams (tmux-compatible shim over kitty remote control)
TL;DR: cmux was created in January 2026 and already has ~27k GitHub stars. kitty took ten years to reach ~35k. If that pace holds, cmux will pass kitty within months. It is growing on one idea: being the best terminal for running AI coding agents in parallel.
For Claude Code's agent teams, kitty's answer today is "run tmux inside it". That is the answer Alacritty has always given: tabs and splits "are best left to a window manager or terminal multiplexer". Alacritty chose that on purpose. kitty never did. It has always been the terminal that does more, and it already has every primitive this workflow needs. What's missing is a thin tmux shim so that agent tools can use them. Otherwise, the developers who now spend their day in agent workflows will settle on cmux, and they are unlikely to come back.
Is your feature request related to a problem? Please describe.
Claude Code has agent teams: one lead session spawns several teammate sessions that work in parallel. In split-pane mode, each teammate gets its own terminal pane, so you can watch all of them at once and click into any of them.
According to the Claude Code docs, split-pane mode "Requires tmux, or iTerm2" (source). Claude Code drives the panes by calling the tmux CLI, or iTerm2's it2 CLI.
So in kitty, today there are only two options:
- In-process mode. All teammates share one terminal, and you switch between them with the arrow keys. You can't see them side by side.
- Run tmux inside kitty. tmux then sits between the agents and kitty. You manage two layers of splits, and Claude Code's own docs say desktop notifications don't reach the outer terminal unless you set
allow-passthrough onin tmux.
Neither option uses kitty's own splits, even though kitty already has every primitive needed to manage them.
Describe the solution you'd like
A small, official tmux-compatibility shim, for example kitten tmux-shim, that can be placed on PATH as tmux. It would implement the subset of tmux commands that agent tools use and map each one to kitty's existing remote control commands:
| tmux command used by the agent | Existing kitty equivalent |
|---|---|
new-session / new-window |
kitten @ launch --type=tab |
split-window |
kitten @ launch --location=vsplit / hsplit |
send-keys |
kitten @ send-text / send-key |
capture-pane |
kitten @ get-text |
select-pane / select-window |
kitten @ focus-window / focus-tab |
kill-pane / kill-window |
kitten @ close-window / close-tab |
list-panes / list-windows |
kitten @ ls |
This is the same subset that cmux documents for its own shim (see below). tmux pane IDs would map to kitty window IDs.
Ideally the shim would work without users setting allow_remote_control yes globally. For example, it could be limited to the windows it creates, using the existing per-window --remote-control-password mechanism restricted to the actions listed above.
The result would be claude teammates opening as native kitty splits, with kitty's keyboard protocol, graphics, and notifications working directly and no tmux in between.
Describe alternatives you've considered
- In-process mode. It works, but you lose the side-by-side view, which is the main reason to use split panes.
- tmux inside kitty. It works, but it adds a second layer of splits and keybindings, and notifications need passthrough configuration.
- Asking Anthropic to add a kitty backend, the way they support iTerm2 through
it2. That would help Claude Code only. A tmux shim would also work for any other tool that drives panes through the tmux CLI. Both could exist. - Writing my own shim script around
kitten @. It's possible, but everyone would have to maintain their own, and it would break silently when agent tools start using more tmux commands. An official kitten could keep up with them in one place.
Additional context
cmux, a Ghostty-based macOS terminal built for AI coding agents, already does exactly this. Its Claude Code Teams docs describe it: cmux claude-teams "creates a tmux shim script and configures the environment so Claude Code thinks it's running inside tmux". It sets TMUX and TMUX_PANE, puts the shim first on PATH, and translates tmux commands into cmux socket API calls. Teammates then appear as "native cmux splits instead of tmux panes, with full sidebar metadata and notifications." cmux lists this as a headline feature in its README, and also ships a codex-teams command.
Demand for this is visible upstream too. On the Claude Code tracker, there are open requests for Ghostty (#24189) and Windows Terminal (#24384) as split-pane backends. There is no request for kitty yet.
Comparison based on the docs of each project (kitty 0.49, cmux 0.64):
| kitty 0.49 | cmux 0.64 | |
|---|---|---|
| Claude Code agent teams as native splits | No (only tmux inside kitty, or in-process) | Yes: cmux claude-teams |
| Primitives needed (split, send text, read screen, focus, close, list) | Yes: kitten @ |
Yes: cmux CLI / socket |
| tmux-compatibility shim | No | Yes |
| Linux support | Yes | No (macOS only) |
kitty is in a stronger position than cmux: it already has every building block listed above, and it runs on Linux. The missing piece is the thin layer that lets agent tools use those blocks. It would be a shame for kitty to lose these users over something this small.
Thanks for kitty
Source: kovidgoyal/kitty