Skip to main content
Back

Herdr Lets AI Coding Agents Orchestrate Themselves Inside Your Terminal

Herdr is a Rust-built terminal multiplexer that tracks AI agent state in real time, letting you run and orchestrate multiple coding agents from a single terminal window.

Repo, Full Access
  • What it is: Herdr is a free, open-source Rust terminal multiplexer that adds real-time AI agent state tracking (blocked/working/done/idle) to a tmux-style workflow.
  • Zero-config detection: Herdr reads PTY process names and terminal output patterns to identify agents automatically, no hooks or agent-side setup required.
  • Agents can drive it: A local socket API and CLI let agents create panes, spawn siblings, read output, and wait on state changes, enabling self-orchestrating multi-agent workflows.
  • Stays in your terminal: Runs inside Ghostty, Kitty, Alacritty, WezTerm, or any existing terminal; no Electron, no browser dashboard, no account required.
  • Supported agents: Claude Code, Codex, OpenCode, Droid, Amp, Pi, Kimi, Cursor, and more, with optional integrations for richer semantic state reporting.
  • Install: curl -fsSL https://herdr.dev/install.sh | sh on Linux/macOS; Windows preview beta also available. AGPL-3.0 licensed.

Managing multiple AI coding agents has quietly become one of the messiest parts of a modern dev workflow. You end up with a dozen terminal windows open, no idea which Claude Code instance is blocked waiting for input, and no way to coordinate them without manually tab-switching every few minutes. Herdr is a new open-source tool built to fix exactly that: a terminal-native agent multiplexer that gives you tmux-style persistence, a live sidebar showing every agent's state, and a socket API that lets agents orchestrate themselves.

tmux, but it knows what's running

Herdr adopts the pane, tab, and session persistence model of tmux and extends it with awareness of AI coding agents: processes running in panes are identified as agents and their state (working, idle, blocked) is displayed in a sidebar. That last part is the key difference. tmux treats all processes the same. If a Claude Code or Codex instance is running in a pane, tmux sees a text stream with no understanding of the process state. Herdr identifies these agents and surfaces their state, so a single glance at the sidebar shows which agents are working, which are idle, and which are blocked waiting for input.

Herdr is built in Rust using the Ratatui TUI library. It runs inside your existing terminal (WezTerm, iTerm2, Kitty, and others) rather than replacing it. That's a deliberate philosophical choice: newer AI-native terminals like Warp and cmux replace the terminal entirely, requiring adoption of their keybindings and configuration. Herdr runs inside the terminal you already use, preserving existing fonts, color schemes, shell configuration, and muscle memory.