Unfinished business
A few weeks ago I built Agent Ops, a little browser dashboard that shows what my Claude Code agents are up to (I wrote it up in Part 1 of Building Agents That Learn). It started with one annoyance. When the main agent hands work to a handful of subagents, the terminal goes quiet and you have no idea whether anything is happening or whether it is just sitting there waiting. I wanted to see it.
Version one did that job. Claude Code fires hooks on every prompt, tool call and subagent start and stop, those hooks post to a tiny server on my PC, and a page full of glowing sci-fi rings tells me who is working, who is waiting and who needs me. It costs nothing to run because it never calls a model. I liked it a lot. I also stopped touching it, because I got distracted by something much bigger.
That bigger thing is the new agent ops project I have been writing about in the rest of that series: a proper, from-scratch rethink of how I run and watch AI agents. It has its own specs, its own designs and a long road ahead. Working on it gave me a pile of ideas, and some of them were small enough, and useful enough, that I did not want to wait months to use them.
So I went back to the original. Think of this as a fork rather than a sequel. The new project stays where it is, a separate thing for later. This post is about taking the old dashboard, borrowing the best bits from the new thinking, and finishing it off properly. What came out the other end is something useful today, for seeing what my agents are doing, how long things take, which models are doing the work and roughly what it is all costing me.
It also just looks cool. I am not going to pretend that was not part of the point.
What it looks like now
Here is the main screen. Everything in these screenshots comes from the built-in sample data rather than my real projects, so the project names and numbers are made up, but every panel is the real thing.

Along the top are my 5-hour and weekly Claude limits, each with a white marker showing how much of the window has gone, so I can see at a glance whether I am burning through it too fast. Below that sits a strip of alerts for anything that looks stuck, then the headline numbers: agents working, main agents waiting on subagents, permission prompts that need me, uncommitted branches, tokens used today and an estimated cost.
The agent graph underneath is the heart of it. Each Claude Code session gets a panel with the main agent as a ring on the left and its subagents branching off to the right. The sidebar holds four collapsible cards: agent types, today’s stats, the most edited files and an activity meter.
How it works, briefly
The whole thing is a Node server and one web page, with no packages to install and no build step. Claude Code’s hooks post every event (a prompt, a tool call, a subagent starting or stopping) to the server on 127.0.0.1, and the page updates within about a second. A small status line script forwards my limit figures in the same way. Token counts and costs are worked out by reading Claude Code’s own transcript files on disk, so they are best guesses rather than invoice-grade numbers.
I set a few ground rules at the start and stuck to them:
- No tokens. Nothing in the dashboard calls a model. Watching your agents should not cost you anything.
- Local only. The server only listens on my own machine and refuses requests from anywhere else.
- No prompts in the log. The daily log keeps tool names and file paths, never what I typed or what a tool returned. It holds seven days and prunes itself.
- Everything switchable. Every feature has an on/off setting in
config.json, in case something gets on my nerves.
That last point matters more than it sounds. A dashboard you leave open all day has to earn its place on the screen.
The features, one by one
Here is everything that went in, what it does, and whether I think it was worth it.
Agents that stay on screen
This was the first thing I fixed, and the most embarrassing. In version one, finished subagents vanished the moment I typed my next prompt. The tool was meant to show how agents relate to each other, and it was throwing that relationship away.
Now every subagent stays attached to the main agent that launched it until the session ends. The current turn shows as the live tree. Earlier turns fold into a rail underneath, one row per turn, with each subagent as a small chip showing its task, model and how long it took. Click a chip and you get its full details.

Verdict: should have been there from day one. It is the feature that makes the rest make sense.
Tool trails and model badges
Every agent card now shows its last eight tool calls as a row of little letters: R for read, E for edit, B for bash, S for search and so on. Failed calls go red. You can see what an agent has been doing as well as what it is doing right now, and a row of red Bs tells you a story before you have read a word.
Each agent also carries a badge for the model it is running on. Before a subagent’s first reply the badge is dashed and says “expected”, based on what it was asked to use. Once the transcript confirms the real model, it turns solid. The main agent shows its model and effort level inside the ring.
Verdict: it is easy to assume your subagents run on whatever you think you set them to. The badge stops you assuming, and because cost is worked out from the model each agent actually used, the numbers line up with what you see.
The timeline
Every session now has a TREE and TIMELINE switch. The timeline draws one lane for the main agent, coloured by what it was doing (working, waiting, needing me, idle), and one bar for each subagent, with ticks for every tool call and red ticks for failures. Turn boundaries are dashed lines, and you can zoom to this turn, the last 15 minutes, the last hour or the whole session.

Verdict: this is the view I did not know I wanted. The tree shows what is happening now. The timeline shows where an hour went, and it is quite humbling to see how much of a long session is the main agent sitting in purple, waiting on its helpers.
Loop and stuck alerts
The server now watches for patterns that usually mean wasted time: the same command failing three times, the same file read five times, one file edited six times in ten minutes, an agent that has gone quiet, a main agent waiting more than ten minutes, or a permission prompt I have left hanging. Each one raises an alert in a strip at the top and a badge on the agent’s card. They clear themselves when the thing succeeds or a new turn starts, or I can dismiss them.

Verdict: genuinely useful. The LOOPING alert is the one that earns its keep, because an agent stuck in a test-fix-test loop can burn through a surprising amount of your limit before you notice.
Files per agent
Each card shows a count like “4 read · 2 edited”. Click it for the list. Hover a file in the most edited panel and every agent that touched it lights up. The file collision warning from version one, which flags two agents editing the same file within a few minutes, now draws a line between the two cards.

Verdict: handy rather than essential. One honest gap: edits made through bash commands (a sed or a script) are invisible, because the hooks only see the command, not what it changed. The panel says so.
Cost by agent type
A sidebar card breaks down runs, average time, tokens, estimated cost and failure rate by agent type, for today or the last seven days, with the model for each.

Verdict: this one answers questions I had only been guessing at, like which helper agents are cheap and quick and which are slow, expensive or prone to failing. The seven-day view is where it gets interesting.
The result drawer
Click any subagent and a drawer slides out showing the brief the main agent gave it, the result it sent back, every tool call with timings, and the files it touched. This is the one feature that shows actual prompt text, so it works differently from the rest. The text is read from the transcript on my disk only when I open the drawer, and never goes into the log or the live feed. The server also refuses to read any file outside my Claude folder, so the feature cannot be used to read anything else.

Verdict: lovely when you want to know what a helper was actually asked to do. It is also the feature I have exercised least, so I will report back.
Notifications
There is a NOTIFY button in the header. Turn it on and you get desktop notifications when a session needs you, a long turn finishes or fails, an alert fires or you get close to a limit. Each trigger has its own tick box, there is a bell on each session to mute it, and there is an optional short tone, which is off by default. Refreshing the page does not replay old notifications.

Verdict: this is what makes it practical to leave the dashboard on a second screen and get on with something else. The catch is that it only works while the page is open in a browser tab.
A sidebar that stays out of the way
The sidebar went through a couple of rounds. It is now a column of collapsible cards that stays in view as you scroll, and a RAIL button shrinks it down to a strip of icons with fly-outs when I want the room for the agent graph. The live event feed moved out of the sidebar altogether and now slides in from the right when I press FEED.

Verdict: small change, big difference on a busy day.
Themes, because why not
This is where it got fun. I wanted anyone to be able to restyle the dashboard by dropping a folder into a themes directory, and I did not want themes limited to swapping a few colours. If someone wants an Apple-style theme or something that looks like it came off a film set, the theme should be able to change the shape of the page, not just its paint.
So a theme can have up to four layers. A theme.json file sets colours, fonts, glow and animation speed. An optional stylesheet restyles anything. Optional HTML templates replace whole parts of the page, right up to the overall layout. And an assets folder holds local fonts, images and sounds. Anything a theme leaves out falls back to the default neon look.
The obvious worry with letting people share themes is that a theme could carry code that reads your dashboard and sends it somewhere. So themes cannot contain JavaScript at all. The template engine strips scripts and click handlers, and the page tells the browser to refuse scripts and connections from anywhere but the dashboard itself. A downloaded theme can make the page look like anything it likes, but it cannot do anything.
There are a few bits of tooling around it:
- A theme picker in the header with colour swatches. Themes that replace templates get a LAYOUT tag, so you know they will look very different.
- Install a theme by dropping a
.zipon the picker or into the folder, and export any theme as a zip to share. The installer checks every file before unpacking anything. - A Theme Lab page that draws every part of the dashboard in every state from sample data, so you can check a theme without waiting for your agents to misbehave.
- A checker,
node theme-check.js <theme>, which catches broken templates, scripts, remote files and colours that are too hard to read. - A ready-made prompt you can paste into your own coding agent to make a theme that follows the rules.


It ships with six themes: Neon (the default), Daylight, High Contrast, Glass (light and frosted), Bridge (a starship console look with pill-shaped bars) and the newest, Outpost.

Outpost started as a pile of screenshots of late-70s film console props, the kind you see in the original Star Wars films: maroon hull panels, chunky CRT screens with green and white vector graphics, lit push buttons. I gave Claude the pictures and asked for something inspired by them, without copying any one of them. The result has engraved cream nameplates, scanlined screens in dark bezels, a targeting reticle for the main agent, radar rings for the limits, wireframe tiles for agent types and two little console sounds for notifications. It uses no logos, characters or film lettering, so it is safe to share.

How it got built, and what went wrong
I did not write this code by hand. I wrote a feature spec with Claude first: nine features, each with a “done when” list. Then we made design mock-ups of every screen. Then the build itself was split between two Claude agents working in parallel, one on the server and one on the page, with a single contract file up front defining exactly how the two halves talk to each other. A third pass checked their work rather than taking their word for it. By the end there were 93 server tests and 27 page and theme tests, all passing.
It was not all smooth, and the mistakes were the most useful part:
- A flaky test. Two alert tests checked the result before the server’s four-second timer had run, so they failed about one run in three. The fix was to wait for the timer, not to loosen the test.
- Fake data in my real log. A simulator run was pointed at my live dashboard by mistake, and 80 lines of made-up activity went into my real daily log. They were cleaned out with a backup kept, and the README now warns about it.
- A drawer that flickered. The result drawer contains live timers, so it was rebuilt every second and replayed its slide-in animation each time. It now animates only when it first opens.
- An idle dashboard that looked busy. Quiet agents still had moving dots and ticking timers. Now only agents that are genuinely working move.
- A theme that broke itself. After a later change, the running server rejected the default Neon theme. Nothing was wrong with the theme. The server had loaded the theme rules at start-up and never noticed they had been updated. It now reloads them whenever they change.
There are still a few things I have not properly tested, mainly how it all looks on a narrow screen and the result drawer against a long real transcript. I will fix those as they bite.
What next
For now, Agent Ops is done, in the sense that it does what I need. It can sit on a second screen, it costs nothing to run, and it tells me at a glance whether my agents are working, waiting, stuck or waiting for me.
The bigger agent ops project carries on separately. Some of what I learned here will probably end up in it, and some of what I build there might find its way back. Either way, finishing this one first felt right. Half-finished tools are the ones you stop opening.

Leave a Reply