Featured image of post Thirty agents, one pair of eyes

Thirty agents, one pair of eyes

I built a heads-up display for the agents I can't watch, let Claude make the calls while it did, and I'm wondering whether anyone else wants one.

It’s the evening, the day’s done, and I’ve sat down to pick up whatever my sessions got through while I was elsewhere. Somewhere in one of the panes there are about a dozen lines that matter: a question it’s blocked on, a merge request it wants looking at, a choice between two approaches with a recommendation attached. I find them, start reading… and the session carries on thinking out loud, and up they go, off the top of the screen, under another few hundred lines of reasoning I didn’t need.

Now multiply that by thirty.

Twenty panes and one bottleneck

When I wrote about running fourteen projects at once back in October, fourteen was the ceiling of the server and somewhere past the ceiling of my head. It didn’t stay fourteen for long. My projects kept splitting into smaller pieces, each piece wanted a session of its own, and all of them needed both the constant maintenance that keeps a project healthy and the new feature work that makes it worth having. Managing that by hand was daunting, and more to the point it was slow.

My first answer was another agent. I started a general-purpose session whose whole job was to coordinate the others, pass messages between them and keep me in the loop. For a few days it was a fantastic experiment. Then I looked at what it cost. By its own rough count, coordination was eating around 11% of all the tokens I spent across two weeks in October, and a big chunk of that was spent on one job: working out which sessions were waiting on me, and telling me so.

And that made me the bottleneck. A lot of what those sessions wanted from me was scriptable (approve this, merge that, yes go ahead) and each of those meant clicking around GitLab, finding the right pane and, worst of all, reading back through hundreds of lines of output (sometimes thousands) to find the bit with my name on it. I don’t mind reading a pane, it’s the volume of them that gets me. I need the dozen-line summary, the session gives me the dozen-line summary, and then it’s gone.

There was a second reason, and it’s tangled up with the first. I have a lot less daytime to give all this than I used to, and still a long list of things I want to build. If sessions were going to do the work during the day for me to pick up in the evening, the picking up had to be quick.

So I built a heads-up display. I called it hud, because naming things is hard and that one was lying right there.

Look up, not down

The idea comes straight from the cockpit. A pilot coming in to land doesn’t want to be looking down at a panel of dials, so the few numbers that matter get projected onto the glass in front of them, and they keep their eyes on the runway. hud is that for my sessions. It shows what needs me, and the rest stays in the panes until I go looking.

Most days it’s on a tablet propped up beside my work laptop, just ticking over. It’s on my Tailscale network too (Tailscale being a private network across your own devices, if you’ve not come across it), so it’s also on my phone wherever I happen to be, and if I’m honest I check it there more than anywhere else.

The same view on a phone, cards stacked one above the next

hud’s “Needs you” view: a queue of cards, each a one-sentence decision with buttons to act on it

These screenshots are all hud running against made-up demo data from its own test suite, so the project names, numbers and costs are invented. The real thing is full of private repos and ticket titles.

What I don’t use it for is talking to my agents. It could do that, sort of, but the functionality is deliberately limited and it’s not what it’s for. I still discuss, brief and argue with sessions in the Claude app on my desktop or my phone, the same as before. What hud changed is that I now know where to go, and I get there quickly.

What’s on the display

It started small: the questions sessions were asking me so they could get unblocked, and the merge requests that were open and waiting. It’s grown a fair bit since, in roughly this order of how often I touch it:

  • Needs you. Cards, each a single sentence with the buttons to act on it. A merge request waiting for me, a release ready to cut (with a countdown if something else is waiting on it, so I can stop it but don’t have to start it), a change to hud’s own config waiting for approval, a session that’s fallen over. Cards carry an ID I can paste into a session, and the session can read the card for itself.
  • The worklist. When a session needs a decision it raises a proper ask: the options, what each one costs, its recommendation and links to the evidence. That goes to my coordinating session first, which sorts out what it can and only sends me the rest. I can approve or reject merge requests across all my projects from one list, without hunting for them.
  • Merging. Press Merge on as many cards as you like and hud lands them one at a time per project, rebasing when it needs to and waiting for green. A stack of dependent merge requests lands through its top.
  • Roles. Every long-running session has a role (blog, estate and so on), and from here I can start, pause or stop one, change its model, and read the handover it left for its next self. Sessions that crash get brought back on their own, and after the server reboots they all come back up in a careful report-only mode until I’ve had a look.
  • Panes. A live view of any session’s terminal, read-only until I deliberately take control.
  • Tickets. The open tickets per role, with who should pick each one up and a “work next” button.
  • Reports. Tokens and an estimated cost by role and model, how close I am to the plan’s usage limits, and when each role was actually busy.

The worklist: a coordinating session’s asks, with Approve and Reject for each merge request

The Roles view: one row per role, with its handover and the buttons to start or stop it

A session’s pane, live and read-only until you take control

The tokens and cost report, with the plan’s usage windows and spend by day

The activity report: when each role was working, waiting on input or idle

Open tickets per role, each with who should pick it up and a priority

There are also a few things on the list that aren’t built yet. Push notifications are the big one: for now the only nudge is a count in the browser tab’s title, which on a tablet sat beside me is kinda fine, and on a phone in my pocket kinda isn’t.

How it hangs together

Underneath, hud is a single Go binary built on go-tool-base, with the page (written in Svelte) baked into it. It runs as two halves.

The collector is the brain. It keeps everything in a Postgres database, serves the page, watches GitLab, raises the cards, and is the only thing allowed to actually merge, rebase or cut a release. When I press a button, it acts as a dedicated service account, under a set of written rules that say what it may do without asking me (and the default for anything not covered is to ask me).

The relay runs on each machine where sessions live. It starts each Claude Code session in its own tmux window (tmux being the terminal multiplexer that keeps a session alive after you close the window), brings sessions back after a crash, and listens to Claude Code’s hooks, the little callbacks Claude Code fires when a session starts, uses a tool, asks a question or stops. Those hooks are how hud knows what the sessions are doing without a model having to read anything. It also reads the session transcripts to count tokens, and only the counts leave the machine.

Splitting it that way is what I like most about the design, even though I’m not using it yet. The collector doesn’t care where a relay lives. A relay is just a machine that’s been enrolled with a one-time code and talks to the collector over the private network, so I could run sessions across two or three servers (or a laptop, for that matter) and still see all of them on a single display. Today it’s all one box. But the day a project needs more than one server can hold, hud should be able to come along without a rewrite.

The sessions themselves talk to hud through a small command-line tool: to raise an ask, write a handover, request a merge, or wait for my answer.

And it’s bound tightly to how I work. It expects Claude Code specifically (its hooks, its session list, its transcripts, its resume flags), tmux, GitLab (through my own go/forge modules), Tailscale for getting to the page, a roster file that says which role owns which projects, a coordinating session acting as my merge desk, service accounts set up the way mine are, and releases cut by colophon. Each piece is ordinary enough on its own, but put together it’s very much my desk.

Conductor and supervisor

The tool people tend to ask about is t3code, and it’s a phenomenally good piece of work. It calls itself “the open-source control plane for coding agents”, it’s MIT licensed, it drives Claude Code, Codex and a long list of other agents from one interface, and it has native apps for your desktop and your phone.

My first instinct was that t3code lives on a laptop and hud lives on a server. That turns out to be out of date. t3code can run headless as a background service and be reached over Tailscale too. It also has a sidebar that floats any thread needing your approval or an answer to the top, and a page of pull requests across your projects, GitLab included. So the overlap is real, and a fair chunk of what I built, it already does for its own threads.

Where they part company is the job. t3code is a conductor. You start your threads in it, talk to the agent there, review its diffs turn by turn, approve what it wants to do and open the pull request, all with the agent running inside t3code’s own server. It’s where you work with an agent, and it’s very good at that.

hud is a supervisor. The conversations happen elsewhere, and hud’s job is keeping thirty-odd sessions alive that it never talks to, and lifting out the handful of things that need me. As far as I can tell from its docs, t3code doesn’t keep alive or bring back sessions it didn’t start (happy to be corrected if I’ve missed it), and hud doesn’t even try to do what t3code does well when you’re sat in front of one agent. I suspect it’s the same problem, with two very different users in mind. If you drive one or two agents hands-on, t3code is what I’d point you at.

I vibe coded it, on purpose

Here’s the confession. hud is pretty much entirely vibe coded (within reason).

That was deliberate. I wanted to know what Claude was capable of when it was left to its own devices, so I let it make all the calls. I watched the first few merge requests fly past without a comment, and only stepped in if something was drastically wrong. Early on I’d sometimes go and read the code to see how it had done something, but only so I could frame my questions and suggestions to it in the right terms. That got rarer and rarer as the project went along, because a common language grew up around hud as a product. These days I talk to it about cards, roles and the worklist, and it knows what I mean.

What I do read is the intent. All of the specs, still, thirty-odd of them. And at first a lot of the tickets it raised for itself, though these days I skip the bug tickets and read the feature ones and the ones I’ve written myself.

hud’s first commit was in the third week of October, and by the middle of November it had 853 commits and five releases behind it, with something like seventy thousand lines of Go and sixty thousand lines of tests. And 403 of those commits are fixes, against 235 features! Fixes outnumber features in each of the five releases.

The guard is my favourite example of what happens when you leave an agent to it. It’s a check that runs before any session uses a shell command, and refuses anything that would merge, approve or tag outside hud’s own route. It was sound in principle. But because of a couple of earlier decisions, the only way to enforce it was to understand all the ways a shell command can be written, and shells are endlessly inventive. Over three weeks it took 27 separate fixes, each one closing another way a command could slip past: a different spelling of an option, a cd hidden in a chain, a script piped in, an alias, an environment variable. Each fix was correct, as far as it went. And it kept going further down the rabbit hole, chasing the next edge case, until I stepped in. In the end I stopped treating the guard as the lock at all, and let GitLab’s own branch protections be the boundary, with the guard as a polite reminder in front of it.

And it was frustrating for a while. Two weeks in I told the hud session, in no uncertain terms, that it was slow and often inaccurate, and that it was faster for me to go and check merge requests myself than wait for it… which rather defeated the purpose. What turned it around was perseverance more than anything clever. It was plainly obvious it could be better, it needed time and patience to get there, and each release has improved it. It’s still not perfect. For merge requests it’s on par with me doing it myself now, which might not sound like much, until you remember it’s doing that while keeping the other thirty sessions out of my head.

Accountable to an audience of one

There’s a rule in my own instructions that a human is accountable for the code that gets submitted, and nearly all of hud’s commits have my name on them (the rest are bots bumping dependencies and cutting releases). So am I accountable for code I didn’t read?

Yes… but hud is private, so right now I’m accountable only to myself, and I’m happy with what that experiment has taught me.

The day I open-source it, I’m accountable to everyone who uses it, and that’s when I need to get my hands dirty. The whole codebase gets a proper code review and a full security audit, and I fully expect to rework a number of the more questionable choices I let Claude make along the way. Accountability goes hand in hand with responsibility, and it’s my responsibility to make sure a project is in good enough shape that the people using it can be confident it’s safe… and that if something does go wrong, it’s me they hold to account.

Anything other people already depend on is a different story. go-tool-base doesn’t get the hud treatment, and it won’t.

Does this look like your desk?

hud is for me, first and foremost, and that isn’t going to change. But I’d love to know whether my way of working rings any bells. Are you running more sessions than you can watch, on a box you don’t sit in front of, and finding that you are the bottleneck?

If it resonates with enough people who use similar tools, then perhaps that review starts to look like time well spent. And it’s not as locked in as the list above makes it sound. The forge side is built on my own modules, which already talk to GitHub, Codeberg and Bitbucket as well as GitLab, so I suspect other forges are mostly wiring. Other agents would be real work: my chat module can already drive Codex as a model, but supervising a Codex session the way hud supervises Claude Code would mean finding its equivalents of hooks, transcripts and resume.

So if it does ring a bell, come and find me. The best place is the phpboyscout Discord, but any of the socials will do just as well. Tell me what your desk looks like… mine’s a laptop, a tablet ticking over beside it, and a dozen lines that finally stay where I can see them.

Built with Hugo · Theme Stack designed by Jimmy