Herdr is a Rust terminal multiplexer that hosts coding agents in a background session server, so their terminals keep running after the client goes away. It is aimed at developers who leave Claude Code, Codex, Cursor or similar command-line agents working on long tasks, often over SSH on a remote machine, and who do not want a closed laptop lid or a dropped connection to end the run. It is Apache-2.0 licensed and, as of this writing, carries about 50,200 stars and 4,000 forks on GitHub.
What it does
The project's pitch is that your coding agent should not die when your terminal does. Herdr keeps terminals running in a background server, so you can detach, close the client or lose an SSH link and come back to the same work in progress.
On top of that, the project describes three things that a plain multiplexer does not do:
- Every pane is marked working, blocked or idle, so you can see which agent is stuck waiting on you instead of opening panes one by one to find it.
- Agents themselves can drive Herdr: spawning new panes and prompting each other, and the project says it waits until another agent is genuinely blocked before stepping in.
- One window can span several machines. The README lists this as a feature ("several machines, one window"), though the copy saved here is cut off before the details.
Herdr does not replace or wrap the agents. Per the channel's write-up, it runs Claude Code, Codex, Cursor and the rest as they are and simply owns their terminals, so you keep whatever agent CLI and configuration you already use.
How it works
The design is a client and a background server. The server owns the running terminals; the client is what you attach and detach. That split is what survives a disconnect.
Restarts are a different story, and the README is explicit about it: after a server or machine restart, Herdr restores the saved layout and can resume supported agent sessions, but the original processes do not survive. You get your panes and your arrangement back, not the live state of whatever was mid-run.
It ships as a single Rust binary with no Electron layer, running inside your own terminal. The repository publishes no benchmarks, and the project makes no speed or throughput claims, so there is nothing to attribute beyond its own feature descriptions.
Getting started
Herdr itself is free and open source under Apache-2.0, but it supplies no intelligence. You still pay for whatever agent you point at it: a Claude, Codex or Cursor subscription, a paid API key, or a local model on your own hardware. Nothing in the materials suggests Herdr adds a cost of its own.
What it needs: a machine to host the session. The channel's own note makes this the practical requirement, a server or remote box that stays up while your laptop does not. Beyond that, the README as saved here does not list supported operating systems, memory or CPU requirements; the project does not publish hardware requirements, and a Homebrew formula badge is the only platform hint in the file.
The code is at github.com/herdrdev/herdr. The README links an install section, prebuilt downloads on the GitHub Releases page, a Homebrew formula, and a quick start plus full documentation at herdr.dev. The materials do not spell out the exact install command, so take it from that install section rather than guessing. The README is also available as a Simplified Chinese translation alongside the English one.
When to use it / when not
Use it instead of plain tmux when the thing you are babysitting is a fleet of coding agents rather than shells: the working, blocked and idle markers and the agent-driven pane control are the parts tmux will not give you, and you keep tmux's basic benefit of surviving a detach.
Don't use it if you only ever run one agent in one terminal on the machine in front of you. Then the setup buys you nothing that your existing multiplexer, or no multiplexer at all, does not already cover.
The main catch is the restart boundary. Herdr protects you from closing a client and from a flaky network, not from the host rebooting: the layout comes back, the processes do not. Treat it as detach insurance, and keep agent work in a form that can be resumed from the repository rather than only from a live process.
Herdr is worth taking seriously if you run coding agents on a remote machine and have lost work to a dropped connection, or if you orchestrate several agents at once and spend real time hunting for the one that is blocked. The feature list is narrow and honest about its limits, the implementation is a single Rust binary rather than a desktop app, and it leaves your agent tooling untouched. If your agents live and die in a single local terminal, the complexity is not yet worth it.