# Repository Briefing: herdrdev/herdr
> Source: https://repoforai.com/repo/herdrdev/herdr (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/herdrdev/herdr
- **Official Docs / Website**: https://herdr.dev
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Rust
- **License**: Apache-2.0
- **Engineering Health**: A+ (95/100 · Maintenance 35/35 · Adoption 23/25 · Releases 17/20 · License 20/20)
- **Latest Release**: v0.9.5 (2026-10-14) — https://github.com/herdrdev/herdr/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Self-Hosted, CLI
- **Momentum**: 54,140 ★ total (+66 24h / +871 7d) · 4,376 forks
- **Topics**: `agent`, `agent-orchestration`, `ai`, `ai-agents`, `claude-code`, `cli`, `codex`, `coding-agents`, `developer-tools`, `devtools`, `multiplexer`, `rust`
- **When to Use**: Best for: Developers and teams running several coding agents across local and SSH workspaces who need to detach safely, spot blocked work, and coordinate handoffs between panes. Skip if: You only need ordinary detachable shells, or you require a model-serving platform or arbitrary process recovery after a machine restart.

## Overview
```text
### Architecture & Core Mechanics
Herdr is a Rust terminal workspace manager with a client and a background server. The server keeps terminals and the coding tools launched in them running independently of the attached client. Herdr manages their panes and sessions rather than wrapping the tools or replacing their model runtime.

The Cargo workspace includes the local `crates/ghostty-vt` member and declares `clap` 4.5 for CLI parsing. The CLI and socket API expose workspace actions such as creating panes, prompting another agent, and waiting for a blocked state. Plugins extend panes and workflows. The socket API is the concrete integration surface; it should not be treated as evidence of an MCP server.

### Key Capabilities & Differentiators
Herdr classifies panes as working, blocked, or idle so an operator can see which agent needs input without cycling through terminals. Local work and saved SSH machines appear in a combined agent list, with independent reconnects. The interface supports both tmux-style prefix keys and mouse-driven pane selection, resizing, and splitting.

Claude Code, Codex, Cursor, OpenCode, and Grok run as existing tools rather than as model backends provided by Herdr. Closing the client or losing an SSH connection leaves terminals running as long as their server stays up. After a server or machine restart, Herdr can restore the saved layout and resume supported agent sessions, but the original processes are gone. Tool compatibility is therefore not a guarantee of restart recovery.

### Trade-offs & Limitations
Choose Herdr over a conventional tmux setup when agent state, cross-pane handoffs, and a combined local/SSH view would materially reduce manual supervision. Stick with tmux if detachable shells are enough and your established bindings and scripts already work well. Similar keyboard conventions are not a basis for assuming configuration compatibility.

The server boundary matters operationally: disconnection is not the same event as a server restart. Layout restoration and supported agent-session resumption do not checkpoint arbitrary shell jobs or builds. The single-binary footprint also says little about total workspace usage; budget for the agents, terminals, and build or test jobs you actually run in parallel.

### Hardware & Deployment Guide
Install the standalone CLI with `curl -fsSL https://herdr.dev/install.sh | sh`, or build from a checkout with `cargo build --release`. Start `herdr` in the working directory, use `Ctrl+b q` to detach, and run `herdr` again to reattach. Herdr itself is a self-hosted Rust binary with no Electron runtime; install the agent tools separately and account for their own credentials, connectivity, and resource requirements.

In v0.9.4, `herdr plugin update` gained bulk and named updates for GitHub-installed plugins: active panes keep their old files, new runs pick up the update without a config reload, and locally linked plugins are skipped. v0.9.5 fixed prefix shortcuts when the terminal sends the next key as plain text, including cases involving macOS Chinese, Japanese, and Korean input methods.
```

## Key Capabilities
```text
- Process lifecycle: A background server keeps terminals running after client detach or SSH loss; a server restart does not preserve the original processes.
- State-aware coordination: The CLI and socket API let agents create panes, send prompts, and wait until another agent is blocked.
- Remote workspaces: A combined agent list spans local work and saved SSH machines, which can reconnect independently.
- Terminal stack: The Rust workspace includes the local crates/ghostty-vt member; the application ships as a single binary without Electron.
- Plugin updates: v0.9.4 added updates for GitHub-installed plugins by name or in bulk, leaving running panes and locally linked plugins unchanged.
- Input handling: v0.9.5 fixed prefix shortcuts when the terminal delivers the next key as plain text, including cases involving macOS CJK input methods.
```

## Quick Start / Clone
```bash
curl -fsSL https://herdr.dev/install.sh | sh
```
