herdr
Terminal multiplexer written in Rust that runs coding agents in persistent panes, tracks working/blocked/idle state, and manages local and SSH machines.
herdr is a terminal multiplexer for running coding agents such as Claude Code, Codex, Cursor, opencode and Grok. It does not wrap or replace those agents; it owns their terminals. Panes can be split with tmux-style prefix keys or with the mouse (click, drag, split). It ships as a single Rust binary and runs inside whatever terminal you already use.
Terminals run in a background server, so closing the client or losing an SSH connection does not stop the work. ctrl+b q detaches and running herdr reattaches. After a server or machine restart, herdr restores the saved layout and can resume supported agent sessions. The original processes do not survive a restart. Saved SSH machines can be kept alongside local work in one window, with a combined agent list and independent reconnects.
Every pane is marked working, blocked, or idle, and herdr signals when an agent has stopped and needs an answer. Agents can also drive herdr through its CLI and socket API. They can spawn panes, prompt each other, and wait until another agent is blocked. A plugin system extends panes and workflows, and there is a plugin marketplace. Binaries are available for Windows as well as Unix-like systems.
The tool is aimed at developers who run several coding agents in parallel, including on remote machines, and want persistent sessions and visibility into which agent needs attention.
Installation
# via Homebrew
brew install herdr
# via mise
mise use -g herdr
# via Install script
curl -fsSL https://herdr.dev/install.sh | sh
Alternatives & related tools
Codewhale
Rust terminal coding agent that reads a repo, edits files, runs commands and checks results using hosted or local models (Ollama, vLLM, SGLang).
Goose
Open source AI agent for desktop, CLI, and API with 15+ provider integrations and Model Context Protocol extensions
AIChat
LLM CLI with a shell assistant, chat REPL, RAG, function calling and agents, supporting 20+ providers including OpenAI, Claude, Gemini and Ollama.
rtk
Single Rust binary that filters and compresses shell command output (git, tests, linters, etc.) before AI coding agents read it, with under 10ms overhead.
code2prompt
CLI and TUI that converts a codebase into a single LLM prompt with a source tree, Handlebars templates, git context, and token estimates.
add a badge to your README
Maintain herdr? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/herdr?utm_source=badge)<a href="https://www.trmn.sh/tools/herdr?utm_source=badge"><img src="https://www.trmn.sh/badge/herdr.svg" alt="Featured on trmn" height="20"></a>