Herdr 是一个专门为 AI 编码 Agent 设计的终端多路复用器(terminal multiplexer),Rust 编写的单个 ~10MB 二进制,定位是「the runtime your coding agents live on」。开发者可以在一个终端里同时运行、组织多个编码 Agent,并通过状态侧栏一眼看出谁在干活、谁在等你。
核心特性
Agent 感知
- 自动识别 Claude Code、Codex、OpenCode、Pi、Gemini CLI 等 16+ 编码 Agent
- 实时显示每个 Agent 状态:idle(空闲)、working(工作)、blocked(等待输入)、done(完成)
- 状态侧栏一览无余,不用逐个标签页切换确认
终端布局
- 工作区(Workspace)→ 标签页(Tab)→ 窗格(Pane)三级结构
- 类 tmux 的分屏导航,支持鼠标操作与复制模式
- 基于 Ghostty VT 终端引擎,原生终端体验
持久会话
- 支持 detach/reattach,关闭终端或合上笔记本后 Agent 仍在后台运行
- 命名会话(named sessions)隔离多个 Herdr 实例
- 支持 SSH 远程会话(--remote),出门在外也能重连查看进度
可编程接口
- Socket API 允许脚本或 Agent 程序化创建窗格、读写输出、等待状态变化
- 提供 CLI、插件机制与 Agent skill,可编排多 Agent 工作流
- 被社区称为「tmux for the agent era」——首个真正理解编码 Agent 的终端复用器
平台支持
- Linux / macOS 完整支持,Windows 预览版(Beta)
- 安装方式:Homebrew(brew install herdr)、mise、Nix、官方 curl 脚本
开源信息
- Apache-2.0 协议,GitHub 28.7k+ stars(2026-08 实测)
- 仓库:https://github.com/herdrdev/herdr