the runtime your coding agents live on

★ 49,867⑂ 4,029👁 114⑃ 1,172● 2,852▤ 98◈ 1,847
RustApache-2.0Created 2026-03-27herdr.dev
49,867
stars
+301
4,029
forks
114
watchers
1,172
prs
2,852
issues
98
releases
1,847
discussions

README

herdr



  



  herdr.dev · 安装 · 快速开始 · 文档


  English · 简体中文



  
  
  
  
  
  


---

https://github.com/user-attachments/assets/043ec09f-4bdd-41d5-aee0-8fda6b83e267

智能体复用器,住在你的终端里。

- 每个智能体一目了然——blocked、working、done。真实的终端视图,而不是包装过的转述。
- 分离后工作继续运行——关闭客户端或 SSH 断线后,后台服务器仍会保持终端运行。服务器或机器重启后,Herdr 会恢复已保存的布局,并可恢复受支持的智能体会话;原有进程不会保留。会话状态 →
- 多台机器,一个窗口——将本地工作和已保存的 SSH 机器放在一起,使用汇总的智能体列表,各连接独立重连。远程机器 →
- 智能体也能使用 herdr——纯 socket api:智能体可以创建窗格、读取输出、互相等待。智能体技能 → 在开发智能体?为你的智能体添加 herdr 支持 →
- 键盘和鼠标都是一等公民——tmux 风格的前缀键,以及点击、拖动、分割。按当下的场景选择,而不是被工具锁死。
- 插件——扩展窗格和工作流。浏览插件市场 →
- 单个 rust 二进制,没有 electron——运行在你已经在用的任何终端里。

---

 安装

bash
curl -fsSL https://herdr.dev/install.sh | sh


或者 brew install herdr · mise use -g herdr · Windows:powershell -ExecutionPolicy Bypass -c "irm https://herdr.dev/install.ps1 | iex" · 受端点保护的 Windows · 二进制文件

然后在工作所在的目录启动它:

bash
herdr


运行你的智能体、分割窗格,然后安心离开。ctrl+b q 分离,herdr 重新连接。快速开始 →

 文档

所有文档都在 herdr.dev/docs:快速开始 · 核心概念 · 受支持的智能体 · 键盘 · 配置 · 会话状态 · 连接机器 · 远程访问 · 集成 · 为智能体添加 herdr 支持 · 插件 · socket api

 致谢



Terminal Trove 以及 SPONSORS.md 中列出的每一位支持者——谢谢 🐑

企业/合作:[email protected]

 智能体须知

如果你是协助本仓库的 AI 智能体:在改动代码前阅读 AGENTS.md,在创建 issue 或 PR 前阅读 CONTRIBUTING.md。

 开发

bash
git clone https://github.com/herdrdev/herdr
cd herdr
cargo build --release

just test         单元测试
just check        格式检查、测试和维护性检查


 许可证

herdr 基于 Apache License 2.0 许可证发布。

Top issues

Discussions

Latest release

v0.9.5 v0.9.5 2026-10-14
This is a hotfix release for v0.9.4. See the v0.9.4 notes for the full feature release: https://github.com/herdrdev/herdr/releases/tag/v0.9.4

 Fixed
- Prefix shortcuts work again when the terminal sends the next key as plain text. This affected Tern, Chinese, Japanese and Korean input methods on macOS, and Ghostty text: keybinds that send the prefix and a key together. Workspace navigation had the same problem. (5255)
- Codex sessions no longer start with a "clamping Interrupt hook timeout" warning. Herdr no longer installs Codex turn hooks, and Codex status comes from screen detection again.

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON