herdr CLI
A terminal multiplexer built for coding agents: keeps Claude Code, Codex and Cursor sessions running after you disconnect and combines several machines in one w
- 50,422 ★ on the repository
- Last commit
- Apache-2.0
Extended access
Why this level
- Spawns and owns real terminal processes on the user's machine
- Runs as a background server that survives closing the client
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add cli/herdrDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Spawns and owns real terminal processes on the user's machine
- Runs as a background server that survives closing the client
This is third-party code. Review the repository files before installing.
What it does
herdr is a single Rust binary that owns the terminals where coding agents run. It keeps panes alive on a background server, so closing the client or losing an SSH connection does not stop the work, and after a server restart it restores the saved layout. Every pane is marked working, blocked or idle, local and SSH-connected machines are combined into one list, and agents get their own CLI and socket API to spawn panes and check on each other. Both tmux-style keyboard control and mouse interaction are supported.
Who it is for. For developers who run several parallel Claude Code, Codex or Cursor sessions in a terminal and do not want to lose them on disconnect.
Good fit when
- You need to detach from an agent session and come back to it later without losing context
- Several agents run in parallel and you need to see at a glance which one is stuck waiting for a reply
- You want local and SSH machines combined into one working window
Not a fit when
- A single agent session in a plain terminal is enough
- tmux or screen is already set up on the machine and switching has no benefit
Example request
Start herdr and bring up a Claude Code session inside it so I can detach and come back laterLimitations
After a server or machine restart the pane layout is restored, but the processes themselves are not, so only agent sessions in a format herdr recognizes can resume. Endpoint-protected Windows support is marked beta.
How to disable. Remove the herdr binary (brew uninstall herdr or delete the release file) and stop the background server as described in the docs.
FAQ
Does herdr replace tmux?
No, it is a separate single binary with no Electron, built specifically around coding agents rather than as a general multiplexer.
What happens to agents after a server restart?
The pane layout is restored, but the original processes do not survive the restart, so herdr can resume only supported agent sessions.
Discussion
No questions or reviews yet.
Related
CLI toolsRust CLI with a terminal switcher across coding agents: list, readiness check, active harness selection and command preview
One desktop window for Claude Code, Codex, Gemini CLI and OpenCode: terminals, pull requests, diffs and approvals
Gives each coding agent its own repository copy with separate ports and a database, then verifies results in one shared pipeline.
A Rust coding agent for the terminal with parallel agents, goals, Claude Code-format plugins and your own model endpoint.
A macOS terminal with the termio CLI and a skill: agents spawn sibling sessions and you see which one needs your answer
Session monitor for Claude Code, Cursor, Codex and six more agents in a terminal, window or HTTP API, with chat cleanup and search
Comparison with similar tools
Cards that share the main search query, and how they differ.
README in short
The README frames herdr as the runtime coding agents live on: it does not wrap Claude Code, Codex, Cursor or OpenCode, it owns their terminals directly. Highlighted features are detaching without stopping work, combining local and SSH machines, per-pane status indicators, an agent-native CLI and socket API, and a plugin system. Install options are the install script, Homebrew, mise or PowerShell on Windows. Apache-2.0 licensed.