Herdr is a terminal multiplexer built for running coding agents. It is a background server that owns real terminals, so agents such as Claude Code, Codex, Cursor, OpenCode, and Grok keep working when you close the laptop lid, lose the network, or restart the machine, and their sessions come back when you reattach from any terminal or over SSH. Herdr does not wrap or replace the agents; it holds their terminals.
Every pane is marked working, blocked, or idle, and Herdr flags an agent that has stopped and is waiting for an answer, so you do not have to scan panes to find the stuck one. Agents can also drive Herdr themselves through the CLI and a socket API: they spawn panes, prompt each other, and wait until another agent is genuinely blocked, which supports multi-agent coordination from inside the agents. An agent skill documents this interface.
Herdr ships as a single Rust binary for macOS, Linux, and Windows and runs inside whatever terminal you already use. It supports tmux-style prefix keys as well as mouse click, drag, and split, and a plugin marketplace extends panes and workflows. ctrl+b q detaches and herdr reattaches.
Features
- Persistent sessions: a background server keeps terminals alive across lid close, network loss, and reboots
- Remote reattach: reconnect from any terminal or over SSH
- Agent state markers: panes show working, blocked, or idle, with a signal when an agent needs input
- Socket API and CLI: agents spawn panes, prompt each other, and wait on another agent's blocked state
- Agent-agnostic: runs Claude Code, Codex, Cursor, OpenCode, Grok, and other CLIs without wrapping them
- Keyboard and mouse: tmux-style prefix bindings alongside click, drag, and split
- Plugins: a marketplace of community plugins for panes and workflows
- Single binary: Rust build with no Electron, for macOS, Linux, and Windows
