herdr
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
Medium risk
We rate an entry medium when the tool runs code, makes network calls or reads project files. Check what exactly it does before installing.
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
In your terminal, with SkillFoxx CLI
npx skillfoxx add cli/herdrDetects the agents on your machine, checks the risk and pins the version.
Other ways to install
Install the tool
brew install herdrCommands for macOS and Linux, on Windows run them in Git Bash.
Install herdr with curl -fsSL https://herdr.dev/install.sh | sh (or brew install herdr), then run herdr in the project directory and open an agent session inside it.
Other ways from the author
curl -fsSL https://herdr.dev/install.sh | shMain install path on macOS and Linux.
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.
Security check
- Spawns and owns real terminal processes on the user's machine
- Runs as a background server that survives closing the client
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.
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.
Related
A skills library that gives coding agents a development process: brainstorming, planning, TDD, subagents and code review
Skills for real engineers by Matt Pocock
Skills For Real Engineers
Small composable skills for engineering with agents: plan grilling, TDD, bug diagnosis, code review and architecture
GitHub toolkit for spec-driven development: the specify CLI adds agent commands and skills to a project, from principles to implementation
Reference MCP servers
Model Context Protocol servers
Official reference MCP servers: Filesystem, Fetch, Git, Memory, Sequential Thinking, Time and Everything