Herdr Agent Gateway
I built orchestration tooling for a fleet of coding agents spread across several machines, ran it, maintained it, and then deleted it — because the thing I was wrapping shipped the feature itself. Deleting it was the point.
| What | Detail |
|---|---|
| Lived | 13 September 2026 → 7 November 2026, about eight weeks |
| Size | 18 commits, JavaScript, MIT |
| Status | Retired. Repository deprecated, marked [DEPRECATED / RETIRED] |
| Replaced by | Herdr CLI v0.9.5+ and Herdr Core (hc) |
The problem
If you run coding agents — Pi, Claude Code, OpenCode, Codex, Cursor, Hermes, Antigravity — on more than one machine, you acquire a question you did not have before: which agent is running where, in which project directory, and in what state?
The machines are not exotic. Three, in my case: mini, predator and server1 — named the way machines you SSH into always end up being named. Each had its own terminals, its own agent sessions, and no shared answer. You end up SSHing around to find out whether the thing you started forty minutes ago is working, waiting, or dead.
That's what I built: a single command-line executable, herdr-agent-gateway, plus a universal agent skill so any agent on any of those machines knew how to talk to it.
Why it existed at all
Herdr was already a terminal multiplexer built for coding agents, and it was good at what happened inside one machine. What it didn't do, in September 2026, was span several of them. So the gateway sat in that gap: it enumerated agents across the fleet and gave a uniform way to prompt one, read its output, and wait for it to finish.
It worked. That is the whole point of the next section.
The retirement
In November Herdr shipped v0.9.5 and Herdr Core. Multi-machine agent orchestration and terminal control became native, and once a feature is native, a wrapper around it is not a layer — it's debt with a maintenance schedule. The replacement was not partial:
| What the gateway did | What the platform now does |
|---|---|
| Start and inspect an agent | herdr agent start, herdr agent read |
| Send a prompt and block until the turn ends | herdr agent prompt --wait, herdr agent wait |
| Split a pane, run a command, wait on its output | herdr pane split, herdr pane run, herdr pane wait-output |
| Dispatch to a remote machine | herdr --machine <label-or-id> agent …, herdr machine status |
| Cluster-wide background processes | hc ls, hc run --bg |
Every row above is a thing I wrote, and every row above is now someone else's responsibility. The follow-through was the interesting part: I didn't just archive it. I removed every reference to the repository — the Nix flake inputs and the global agent skills across the fleet — so that nothing could quietly keep depending on a tool I had stopped believing in.
What I took from it
A wrapper around someone else's state has no moat. The gateway was useful exactly as long as Herdr's own model stayed narrow. It owned no state, defined no protocol, and could not be the place where the interesting decisions lived. When the owner of the session model decided to expose it, my layer became a translation of a translation.
Retiring a tool is a feature, not a failure. The annoying outcome would have been defending it — keeping a second way to start agents alive because I wrote it. Two ways to do the same thing is how a fleet becomes unpredictable.
Eight weeks is a fine lifespan for a bridge. I would rather build the thing that unblocks the fleet today and delete it in November than spend those eight weeks predicting which features the platform would ship.
Read the retired code
github.com/pikujs/herdr-agent-gateway ↗ — archived, and it says so at the top of the README.