How the leading agent harnesses and parallel-agent managers use tmux, Zellij, WezTerm and kitty, and which terminal controls they offer. Written to choose what
shep tuibuilds next.
Surveyed 2026-10-24. claude-squad, oh-my-pi and workmux were read at the source level; the rest from their documentation. Gemini CLI and Crush come from secondary sources only. Conductor, Crystal/Nimbalyst, Sculptor, Goose, Aider and Cursor CLI were left out: no solid information on multiplexer or terminal-control features was found.
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1). The teammateMode
setting (or --teammate-mode) takes in-process (the default), auto, tmux or iterm2.
auto splits panes only when already inside tmux, or in iTerm2 with the it2 CLI.
Otherwise it stays in-process.x stops.claude -w <name> creates .claude/worktrees/<name>. --tmux opens that
worktree in a tmux session, using iTerm2 native panes when it can.claude agents. A dashboard grouped Pinned / Ready for review / Needs input / Working /
Completed:
claude --bg, attach, logs, stop, and
agents --json.tmux new-session -d -s claudesquad_<name> -c <worktree> <program>.tmux attach-session inside its own PTY, after checking has-session.tmux capture-pane -p -e -J and hashes the output to detect changes.↵/o attach, ctrl-q detach, tab preview/diff, D kill./fork pane|window|tab. The live session is read from TMUX, ZELLIJ, STY, CMUX,
Herdr and Orca variables. TERM is never taken as proof of a live session.split-window -h|-v [-d] -c <cwd> -t $TMUX_PANE -P -F '#{pane_id}' -- <argv>.
# is doubled in -c, because tmux format-expands it.env --.%N.zellij action new-pane|new-tab [--direction right] --cwd <cwd> -- <argv>, with
flags gated on zellij --version.omp ps: an interactive process monitor (list, info, logs -f, stop, kill,
restart, --json).panes: layout.WORKMUX_BACKEND, then $TMUX, $WEZTERM_PANE, $ZELLIJ*,
$KITTY_WINDOW_ID, and tmux by default.wezterm cli split-pane --pane-id <id> --cwd <dir> --horizontal, plus
cli spawn, cli get-text and cli send-text.kitten @ launch --location <loc> --cwd <dir> <argv>, plus --type=tab and
get-text. Needs allow_remote_control./ is fuzzy search with status filters.$ opens a cost dashboard.--teammate-mode in-process to claude, so Claude’s own panes do not fight
its PTYs.uzi broadcast.par send <label|all>, and par control-center, which shows every session as a tmux
window.| Harness | Control | Detail |
|---|---|---|
| Codex CLI | Notifications | tui.notification_method = auto\|osc9\|bel, notification_condition = unfocused\|always, notify runs a command with a JSON payload (config) |
| Codex CLI | Keymap, status line | tui.keymap.<context>.<action>, ordered tui.status_line items; alternate_screen = auto skips the alternate screen in Zellij |
| Claude Code | Terminal setup | Desktop notifications in Ghostty, kitty, iTerm2; terminal bell elsewhere; in tmux needs allow-passthrough on (docs) |
| opencode | Attach | opencode serve + opencode attach <url>; session list --format json (docs) |
| Crush | Palette | Ctrl+P command palette, Ctrl+S session switcher |
| vibe-kanban | Review | Per-task worktree, terminal and dev server; PR-style diff review with comments sent back to the agent (web) |
shep tui now opens a feature in a pane next to the console:
| Key | What opens | tmux | Zellij | WezTerm | kitty |
|---|---|---|---|---|---|
t |
Shell in the worktree, focused | split-window -h |
run --direction right |
cli split-pane --right |
@ launch --location vsplit |
T |
The same, in a new window or tab | new-window |
action new-tab |
cli spawn |
@ launch --type tab |
f |
shep feat logs -f <id>, focus stays on the console |
split-window -h -d |
run --direction right |
cli split-pane --right |
@ launch --keep-focus |
F |
The log, in a new window | new-window -d |
run --floating |
cli spawn |
@ launch --type tab |
SHEP_MULTIPLEXER names a
multiplexer or turns panes off (none).# is doubled for tmux. The pane gets the console’s
SHEP_HOME.auto falls back to in-process, which is the
model followed here./ filter. Every word must match the name, id, repository, branch, state, phase or agent.| Idea (from) | Shep |
|---|---|
Process monitor (omp ps, claude agents --json) |
shep ps: daemon and agent processes with CPU, memory and uptime, --json, --watch, stop (spec 144) |
| Command palette (Crush ctrl+p) | ctrl+p / : in shep tui: every command that applies, fuzzy search, its key shown; c copies the feature id over OSC 52 (spec 145) |
Control center (par control-center) and state in window names (workmux) |
C: a window per active feature following its log, renamed ◆ / ● / ✗ / ✓ as its state changes (spec 146) |
| Waiting sessions in the tmux status bar (agent-deck) | The console sets @shep_status / @shep_needs_you; shep tui --status [plain\|tmux] (spec 146) |
Attach and steer (claude-squad, agent-deck, claude attach) |
o: the feature’s agent chat in the terminal — transcript, streaming text, send, answer its questions (spec 147) |
Attach in Shep talks to the feature’s interactive chat (the web Chat tab’s conversation), not a PTY: the background worker is headless and is steered at its gates.
tmux capture-pane): Shep’s agents are
not in panes; the log pane and the chat cover watching.tui.keymap): the palette’s command table is the registry it
would use; settings live in the database, so it needs a TypeSpec model.--teammate-mode in-process to Claude Code when Shep owns a pane, so Claude’s own
split panes never fight Shep’s — only matters if Shep starts running Claude interactively in panes.