
herdr
CLI为编码 agent 设计的终端复用器:分屏运行 Claude Code、Codex 等,标记每个窗格工作中、阻塞或空闲,断开连接后会话继续运行;agent 也能通过 CLI 创建窗格、互相发消息。
herdr
herdr.dev · install · quick start · docs
English · 简体中文
https://github.com/user-attachments/assets/043ec09f-4bdd-41d5-aee0-8fda6b83e267
the runtime your coding agents live on.
- detach without stopping work — herdr keeps terminals running in a background server when you close the client or lose your SSH connection. after a server or machine restart, herdr restores the saved layout and can resume supported agent sessions; the original processes do not survive. session state →
- several machines, one window — keep local work and saved ssh machines together, with a combined agent list and independent reconnects. remote machines →
- never hunt for the stuck one — every pane is marked working, blocked, or idle. when an agent stops and needs an answer, herdr says so.
- agent-native — agents drive herdr through the cli and socket api: they can spawn panes, prompt each other, and wait until another agent is genuinely blocked. agent skill →
- runs what you already run — claude code, codex, cursor, opencode, grok and the rest. herdr doesn't wrap or replace them; it owns their terminals. building an agent? add herdr support →
- keyboard and mouse, both first-class — tmux-style prefix keys and click, drag, split. pick per moment, not per tool.
- plugins — extend panes and workflows. browse the marketplace →
- one rust binary, no electron — runs in whatever terminal you already use.
install
curl -fsSL https://herdr.dev/install.sh | sh
or brew install herdr · mise use -g herdr · windows: powershell -ExecutionPolicy Bypass -c "irm https://herdr.dev/install.ps1 | iex" · endpoint-protected Windows · binaries
then start it where the work lives:
herdr
run your agents, split panes, walk away. ctrl+b q detaches, herdr reattaches. quick start →
docs
everything lives at herdr.dev/docs: quick start · concepts · supported agents · keyboard · configuration · session state · connecting machines · remote · integrations · add herdr support to your agent · plugins · socket api
thanks
every past sponsor and backer is listed in SPONSORS.md — thank you 🐑
enterprise / partnership: hey@herdr.dev
agent instructions
if you are an ai agent helping with this repository, read AGENTS.md before making changes and read CONTRIBUTING.md before opening issues or PRs.
development
git clone https://github.com/herdrdev/herdr
cd herdr
cargo build --release
just test # unit tests
just check # formatting, tests, and maintenance checks
license
Herdr is licensed under the Apache License 2.0.
相關資源

Zellij
CLI用 Rust 写的终端复用器,可以替代 tmux:支持布局文件、浮动与堆叠窗格、WebAssembly 插件和内置 Web 客户端,适合同时开多个 agent 会话。
zellij-org/zellij35.7k
Codex CLI
CLIOpenAI 官方在本地运行的编码 Agent,Rust 实现,可读写代码、执行命令并在系统沙箱中运行;可用 ChatGPT 订阅登录,也可配置 API Key。
openai/codex130k
RTK (Rust Token Killer)
CLI在命令输出进入 agent 上下文之前做过滤和压缩的 Rust 命令行代理,覆盖 git、测试、grep、ls 等上百种命令,最多可减少约 90% 的 bash 输出;通过钩子自动改写 Claude Code、Codex 等 agent 执行的命令。
rtk-ai/rtk83.6k
ripgrep
CLI按正则递归搜索目录内容的高速文本搜索工具(命令名 rg),默认遵守 .gitignore 并自动跳过隐藏文件与二进制文件,支持按文件类型过滤,是编码 agent 检索代码库的常用命令。
BurntSushi/ripgrep69.2k
tmux
CLI终端复用器:在一个终端里创建多个会话与窗格,断开后进程仍在后台运行;agent 常用它托管长时间任务、驱动交互式程序,不少多 agent 并行会话工具也以它为底座。
tmux/tmux49.9k
fd
CLI简单快速的 find 替代品:语法直观,支持正则与 glob 匹配,默认忽略隐藏文件和 .gitignore 中的路径,还能对搜索结果并行执行命令,适合 agent 快速定位文件。
sharkdp/fd44.8k