Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Herdr

$ herdr Official Med Risk
Herdr · Agent Bridges & Meta · Apache-2.0 · macos / linux / windows

Herdr (herdr) is a persistent terminal workspace multiplexer tailored for running parallel AI coding agents (claude, codex, etc.), supporting --remote, --session <name>, and --default-config. Its companion control CLI hc provides hc run --bg --name --json, hc ls --json, hc read, hc send, hc wait, and hc agent start.

FCRS-1.0 Score
82 /100
Good
Medium Confidence
Zero-Friction Install
brew install herdr
CLI vs MCP Decision CLI Preferred vs MCP

hc (hc run --bg --json, hc read, hc send, hc wait) is explicitly designed as a programmatic terminal control CLI for orchestrating sibling agent panes.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Companion hc CLI exposes --json (auto-enabled when piped), run --bg --name, ls, read, send, and wait, while herdr handles --session and --remote TUI multiplexing.

  • hc run --bg --name --json, hc ls, hc read, hc send, hc wait, and herdr --remote --session
Trust & Safety 19 / 25

Read-only hc ls / hc read inspection vs explicit hc run / hc send execution; HERDR_ENV=1 guards prevent blind recursion, though spawned panes inherit full local shell permissions.

  • HERDR_ENV=1 context marker and read/write hc command separation
Setup & Portability 14 / 15

Installable via brew install herdr, mise, and official install scripts across macOS, Linux, and Windows.

  • Homebrew (herdr), Mise, macOS/Linux .sh, and Windows .ps1 installers
Utility & Efficiency 13 / 15

Purpose-built alternative to tmux for multi-agent supervision with structured hc wait and JSON pane control.

  • Built-in hc wait, hc agent start, and JSON pane orchestration
Maintenance & Lineage 8 / 10

Official herdrdev/herdr repository under Apache-2.0 license.

  • Official herdrdev/herdr repo under Apache-2.0
Docs & Verifiability 7 / 10

Clear herdr.dev site and GitHub README documenting herdr flags, hc subcommands, and HERDR_ENV=1 skill integration.

  • Official docs at herdr.dev and GitHub README

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

Stores workspace/session configs locally; --remote connections use local SSH/daemon config without extra API keys.

Side Effects
Read-Only Local Write
Cost & Quotas

100% free and Apache-2.0 open-source.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Herdr (herdr / hc) Agent Rules
- Use `hc` (`hc ls --json`, `hc run --bg --json`, `hc read`, `hc wait`) in agent loops; never invoke the interactive `herdr` TUI directly.
- Check `HERDR_ENV=1` before spawning recursive panes to avoid runaway session nesting.

Agent-Ready Command Recipes

Safe Read-Only Queries

List live Herdr terminal sessions as JSON
hc ls --all --json

Lists active and completed terminal panes managed by the Herdr server in JSON format.

Read output buffer from a managed pane
hc read worker-1

Prints the screen history and recent output of the worker-1 terminal pane without attaching interactively.

Controlled Writes & Previews

Launch a named background command in Herdr
hc run --bg --name worker-1 --json -- npm test

Starts npm test in a persistent named background Herdr pane and returns pane metadata as JSON.

Strengths for Agents

  • + Companion hc CLI makes spawning, reading, and waiting on background agent panes scriptable with --json.
  • + Sets HERDR_ENV=1 inside managed panes so agent skills know when orchestration is available.
  • + Clean multi-platform installation via Homebrew and shell scripts.

Caveats & Pitfalls

  • ! The top-level herdr command launches an interactive TUI multiplexer rather than returning CLI JSON (use hc for headless control).
  • ! Requires the background hc server daemon running to manage panes.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI