all writing

2026-10-257 min read

Herdr, or how I stopped losing track of my coding agents

A field note on running Claude Code, Codex, Antigravity, OpenCode and DeepSeek on Ollama Cloud side by side, and the terminal multiplexer that keeps them from turning into chaos.

At some point this year I stopped running one coding agent and started running several. Claude Code in one repo, Codex in another, Antigravity poking at a third, OpenCode or Claude Code running DeepSeek on Ollama Cloud picking up whatever was left. On paper that's a lot of parallel work getting done. In practice it was a lot of terminal windows, and I spent a fair chunk of my day alt-tabbing through them to find out which one was waiting on me.

The answer was usually "the one I checked last."

Herdr is what fixed that. It's a terminal workspace manager built specifically for AI coding agents: tabs, panes and persistent sessions like tmux, plus an understanding of what the agents inside those panes are actually doing. I've been living in it for a while now, and this post covers the five things that made it stick.

What my screen looks like

To give you a sense of scale, I asked herdr for its workspace list while writing this. It reported ten workspaces: this portfolio, my browser extensions, a thumbnail creator, a personal finance tracker and six more. Six agents were running across them. Two were working, one was blocked waiting on me, the rest were idle.

That's a normal day. Before herdr, it was also a normal day, I just didn't know any of those numbers.

Sessions that survive me closing things

The first thing I care about is that work doesn't evaporate. Herdr runs as a persistent server, so closing the terminal window detaches from the session instead of killing it. Run herdr again and everything is where I left it: same workspaces, same tabs, same panes, agents still mid-thought.

It goes a step further after a restart. Herdr remembers the directory and the command each pane was running, and for agents with an installed integration (herdr integration install claude, codex, opencode, antigravity-cli and a long list of others) it resumes the actual agent session rather than starting a blank one. If you'd rather it didn't, there's a resume_agents_on_restore switch under [session] to turn it off.

The practical upshot: I can reboot for a Windows update (Windows will make sure of this) and come back to the same conversations in the same repos, without digging through each tool's history to work out which session belonged where.

Every agent, every repo, one sidebar

Each workspace in herdr is a project, which for me means one repo or directory. The sidebar lists every agent across all of them, with a state icon next to each: working, blocked (needs input or an approval), done (finished and I haven't looked yet), idle (finished and seen), or unknown when herdr can't tell.

I underestimated how much this matters. The question I used to answer by clicking through eight windows ("is anything waiting on me?") is now answered by glancing left. And "done" being separate from "idle" is a small, smart touch, because the agent that finished twenty minutes ago and that I never read is exactly the one I'd otherwise forget about.

Mixing agents without mixing them up

I don't use one agent for everything. Claude Code is my starter for anything hard or new. Codex is a second opinion and a second quota. Antigravity's CLI (agy) is another pair of hands. OpenCode and DeepSeek pick up the cheap, bounded jobs so the Claude and Codex quotas last the week. DeepSeek runs on Ollama Cloud, but I drive it from Claude Code, so I keep the same CLI and herdr treats that pane like any other Claude pane.

Herdr doesn't care which one is in a pane. It detects Claude, Codex, Antigravity and OpenCode out of the box through its integrations, and anything else still runs as a normal terminal. On a busy afternoon the browser-extensions workspace has Antigravity in one tab and Claude in the other, working on the same repo from two angles, and I can see both of their states from wherever I happen to be.

The cross-agent part is where it gets fun. Herdr exposes a CLI and socket API for its own panes, so one agent can read another pane's output, send it input, or wait for it to finish. That means Claude can hand a review to Codex in the next pane and pick the result up when it lands. Herdr even ships an agent skill file (herdr --skill) that teaches an agent how to do this. It's the closest I've come to having my agents talk to each other without me playing messenger.

A chime when something needs me

This is the feature I'd miss most. When an agent in a background workspace changes state, herdr plays a sound. One sound for "done", a different one for "needs attention". Sound is on by default, and you can point each one at your own mp3 if the defaults get old.

The effect on my day is bigger than it has any right to be. I used to check on agents on a timer, which meant either checking too often and interrupting myself, or not often enough and leaving an agent blocked on a yes/no question for forty minutes. Now I just work on whatever's in front of me and wait for the chime.

xkcd 303: Compiling. Titled 'The number one programmer excuse for legitimately slacking off: my code's compiling.' Two programmers sword-fight on office chairs. Someone yells at them to get back to work, they shout 'Compiling!', and the reply is 'Oh. Carry on.'
xkcd #303 by Randall Munroe (CC BY-NC 2.5). Swap "my code's compiling" for "my agents are working". Herdr is the chime that ends the swordfight.

If you want more than a sound, there are toast notifications too (inside herdr, in the terminal, or as system notifications). Herdr also skips the popup for the tab you're already looking at, which is the kind of detail that tells me the person who built it actually uses it.

Tabs and panes that follow the repo

The last piece is plain old layout, and herdr does it well. Inside a workspace I can open tabs, and inside a tab I can split panes. My usual setup is one workspace per repo, an agent in the main tab, and a second tab with a shell for builds, git and the dev server. When two agents are working in the same repo, they get a tab each in the same workspace.

So the structure on screen matches the structure on disk. When I want the portfolio, I go to the portfolio workspace and everything about the portfolio is there. Nothing from the finance tracker sneaks into it, and I'm no longer reading a git status and slowly realising I'm in the wrong repo.

The catch

It's not perfect. Native Windows support is still labelled beta. It's another tool to learn, with its own keybindings to get into your fingers. And it doesn't make the agents any smarter. A blocked agent is still blocked; herdr just tells you about it sooner.

None of that has made me want to go back.

xkcd 1172: Workflow. Release notes say the CPU no longer overheats when you hold down the spacebar. A longtime user complains the update broke their workflow: they hold spacebar instead of the hard-to-reach control key, and configured Emacs to read the rapid temperature rise as control. The admin calls this horrifying; the user asks for an option to re-enable spacebar heating. Caption: every change breaks someone's workflow.
xkcd #1172 by Randall Munroe (CC BY-NC 2.5). My workflow now depends on a chime. Please nobody fix it.

Close

If you're running more than one coding agent, the bottleneck stops being the agents and starts being you: remembering where each one is, what it's doing, and whether it's waiting. Herdr takes most of that off your plate, and the chime alone was worth the install for me.

I'm still the slowest part of the system. I just know exactly which agent I'm keeping waiting now.