herdr fork: v0.8.2 + [remote].ssh_command; CI pushes the nix closure to cache.0xtau.com
  • Rust 93.8%
  • Python 2.7%
  • PowerShell 1.3%
  • TypeScript 0.9%
  • Shell 0.5%
  • Other 0.7%
Find a file
Zitao Xiong ead3a2ad62
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix(restore): a resumed agent's pane closes when the agent exits cleanly
Restore types the agent's resume command into a fresh shell that herdr
made for it. That shell outlived the agent, so every restored agent that
later exited left an empty shell pane behind. The typed line now ends in
the shell's own exit-on-success form (` && exit` for the sh family and
csh/tcsh, `; and exit` for fish), so a clean exit closes the pane the way
a spawned agent's pane closes, while a failed resume or a crash keeps the
shell and its output. Shells whose syntax for this is unknown (nu,
PowerShell, cmd, others) get the command alone, as before. The line starts
with a space so shells that skip such lines keep it out of history.
2026-10-31 00:12:22 -04:00
.agents/skills ci: promote stable releases from protected previews (#4241) 2026-09-16 18:25:59 +03:00
.cargo fix: statically link the Windows CRT (#3594) 2026-09-04 00:13:03 +02:00
.githooks fix: keep agent skill aligned with stable releases 2026-08-16 01:11:09 +03:00
.github chore(deps): bump Swatinem/rust-cache (#4956) 2026-10-05 22:40:09 +03:00
.pi refactor: separate website presentation from runtime 2026-09-01 14:48:45 +03:00
.zed refactor: extract libghostty-vt binding into ghostty-vt workspace crate (#4661) 2026-09-27 00:06:29 +03:00
assets docs: lean readme, add terminal trove gold sponsor 2026-07-08 02:47:47 +03:00
crates/ghostty-vt fix: honor the kitty graphics opt-out (#4979) 2026-10-07 23:18:49 +03:00
distribution fix: detect blocked questions in named claude sessions (#5192) 2026-10-14 18:22:31 +03:00
docs fix(restore): an agent pane whose saved directory is gone still resumes 2026-10-31 00:12:22 -04:00
nix nix: install bash, zsh and fish completions generated by the built herdr 2026-10-31 00:12:22 -04:00
packaging/windows fix: bundle modern ConPTY on Windows (#1828) 2026-07-25 02:40:14 +03:00
scripts refactor: route all pane key encoding through libghostty (#5017) 2026-10-07 04:53:29 +03:00
skills/herdr release: v0.9.4 2026-10-13 18:30:14 +03:00
src fix(restore): a resumed agent's pane closes when the agent exits cleanly 2026-10-31 00:12:22 -04:00
tests fix: drop codex turn status hooks (#5278) 2026-10-14 18:22:31 +03:00
vendor fix: skip directories when resolving Windows programs on PATH (#5269) 2026-10-14 18:22:31 +03:00
.gitattributes fix: run the full applicable test suite on windows (#3660) 2026-09-05 21:39:32 +03:00
.gitignore feat(plugins): index marketplace manifests 2026-08-04 03:58:21 +03:00
.woodpecker.yml ci: pin the workflow to a linux/amd64 docker agent 2026-10-31 00:12:22 -04:00
AGENTS.md docs: correct resume version and link self-reporting agents 2026-09-29 17:35:27 +03:00
build.rs refactor: extract libghostty-vt binding into ghostty-vt workspace crate (#4661) 2026-09-27 00:06:29 +03:00
Cargo.lock release: v0.9.5 2026-10-14 18:56:41 +03:00
Cargo.toml release: v0.9.5 2026-10-14 18:56:41 +03:00
CHANGELOG.md release: v0.9.5 2026-10-14 18:56:41 +03:00
CLAUDE.md chore: symlink CLAUDE.md to AGENTS.md 2026-06-10 20:26:01 +03:00
clippy.toml chore: enable clippy linting 2026-05-09 23:16:24 +03:00
CONTRIBUTING.md chore: add one-time windows cross-check setup 2026-09-11 15:35:35 +03:00
flake.lock fix(nix): fetch crates from static CDN (#3504) 2026-09-01 19:37:08 +03:00
flake.nix chore: upgrade libghostty and preserve terminal behavior (#3906) 2026-09-10 21:51:57 +03:00
justfile perf(windows): reduce repeated process inspection (#4849) 2026-10-02 15:30:44 +02:00
LICENSE chore: relicense herdr under apache-2.0 2026-07-22 22:56:57 +03:00
README.md release: synchronize metadata for v0.9.2 2026-09-29 13:19:53 +00:00
README.zh-CN.md release: synchronize metadata for v0.9.2 2026-09-29 13:19:53 +00:00
rust-toolchain.toml ci: pin rust toolchain to 1.96.1 2026-07-09 22:43:25 +03:00
SPONSORS.md chore: refresh english documentation 2026-08-11 03:54:03 +03:00

herdr

herdr

herdr.dev · install · quick start · docs

English · 简体中文

Apache 2.0 license total GitHub release downloads GitHub stars latest stable release Homebrew version follow @herdrdev on X


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.