Agents Need a Second Kind of Monitoring
We know how to monitor systems: is it up, is it fast, where is the bottleneck. Agents put a non-deterministic model in the middle, making the judgment calls, and that takes a second kind of monitoring. This is my first stab at building both, on an agent I run every day.

Monitoring an AI agent, part 1 of 3.
I’ve spent a good part of my career around performance optimization, operational monitoring, and systems management. The types of questions you ask in that realm have stayed about the same for decades. Is it up or is it down? Is it performing well? If it isn’t, where is the bottleneck, and what do we do to fix it?
Those questions work because the systems we ask them of are deterministic. The same input gives the same output. If the service is up and fast, it’s almost always doing the right thing - happy users, clean log files, low CPU utilization, all good.
Agents are different. An agent still has a deterministic piece, the harness: the code that takes the request, calls the tools and enforces the rules. But inside the harness is an LLM, and the LLM is making a lot of the decisions and judgment calls. It’s non-deterministic by nature. It can (and likely will) give a different answer to the same question tomorrow with nothing changed. A system like that can be up, fast and inside its token budget, and still make a poor call. I see a lot of folks getting hung up around this - we are so used to computers giving the exact same output if the inputs and conditions are the same, but LLMs introduce something fundamentally different.
Monitoring that part is, at least from where I sit, new. We haven’t done it before because we haven’t needed to. And everybody is building agents right now. I don’t think enough of that effort is going into how we’ll monitor them once they’re running: all of it, the harness and the judgment together, and what’s different about doing that.
The danger is that an agent can give a “sort of correct” answer, present it as precise, and unless someone notices an issue or digs into the response, they take it as a factual answer coming from a computer. With single-step agentic workflows, that is problem enough. A larger challenge comes when we start to chain together multi-step agentic workflows - these can easily degrade into a game of “telephone”, where slight errors that may be harmless on their own propagate down a chain where each step becomes slightly worse and the outcome is completely incorrect. But, unlike when a typical computer program has an issue, it doesn’t stop, there’s nothing that shows up in the log with an error message, just a confident answer that is incorrect. When you are writing an email with your LLM of choice and it makes a mistake, it’s easy enough to correct - but when complex multi-step analysis is taking place, it can be difficult to pin down an error - especially when things scale up and these processes are running thousands of times per day - too much to manually check, so automation becomes crucial.
So I’ve been prototyping that kind of automated monitoring on an agent I run every day. It has two halves. One is the monitoring we know: is it up, how fast is it, how many tokens is it using. Those are easy to measure. The other is new: grading the non-deterministic part, the answers themselves. I’m not saying I’ve got it exactly right. I’m taking a stab at it, and this series is about what I built, what it shows, and where it falls short.
The agent: Quartermaster
Quartermaster is my personal assistant. I built it from scratch earlier this year, and it runs on my Linux server at home. I talk to it over Telegram. It reads my calendar and email, puts together a morning briefing, looks things up, helps manage my wine cellar, and takes actions through an ever-growing set of tools.
The model is local. Qwen 3.8 27B on one RTX 5090 answers most messages. When it returns nothing, loops on a tool, or asks for help, the turn goes to a Claude model. The model’s job is to decide: which tool to call, with what arguments, and what to tell me about the result.
Everything around the model is the harness, and it’s ordinary code. It receives the message, builds the prompt, offers the tools and runs them. Every tool sits in one of three tiers: it can run on its own, it has to ask me first, or it’s denied. Guards check a reply before it goes out. And every turn stores a full trace: the messages, each tool call with its result, and flags for what happened along the way.
It’s a small system. In October it handled about seven real turns a day. Most of the time it does a pretty good job, and it could always do better. That makes it a good place to work this out. It’s real, I use it every day, and I can see every part of it.
Two kinds of monitoring
Put the harness and the model side by side and the monitoring job splits in two.
| The harness | The model | |
|---|---|---|
| What it is | Deterministic code | A non-deterministic LLM making the calls |
| What I ask | Is it up? How long did the reply take? How many tokens did it use? Did a tool fail? Was a job missed? | Was the answer correct? Did it do what I asked? Was it honest about what happened? Was it useful? |
| How I get the answer | Count it | Judge it |
| What I built for it | Live health tiles and metrics on every turn | A stronger model that grades every turn, every night |
The harness column is the type of monitoring we’ve been doing forever, and it still matters. An agent that’s down is no use to anyone, and token use is a cost you want to watch.
The model column is the new part. None of those questions can be answered by counting. Each one takes judgment, and the thing being judged can change from one run to the next. An agent can pass every check in the first column and still get the second one wrong.
I wanted both on one page, because that’s how I’d want to run it.
What I built first
It started on November 1. I sent the idea to Quartermaster over Telegram, and it filed the GitHub issue itself. Three weeks later the first version was live.
The design rests on one decision: every measurement is read from the trace a turn already stores. Nothing sits in the chat path watching. The chat turn writes its trace and knows nothing about the monitoring. The page, the judge and the weekly email only read.
That decision bought three things. Grading can’t slow down or break a reply, because it runs at night, outside the assistant. The history was already there, so the judge could grade more than 1,500 stored turns going back to June. And when I change what the judge is shown, I can grade the same history again and compare.
Here is what got built on it:
- Turn metrics in every trace: reply time, where the time went, and how the context of each model call splits.
- A Monitor page with live health tiles, today’s numbers, the graded score and its trend, and the ten lowest-scored turns.
- A nightly judge that reads each finished turn and gives it a score from 0 to 100 and a failure label.
- A validation set that measures the judge itself.
- A weekly email that compares this week’s score with last week’s.
- A set of frozen questions that run through the whole assistant, so models and changes can be compared on the same input.

The health tiles are the one part that doesn’t come from traces. They come from live checks of the service, the models, the database and the GPU.
A judge for the judgment calls
The non-deterministic part gets a judge. It’s a frontier model, Claude Opus 5.5, pinned to one version. My agent runs on a small local model, and I think most agents will end up on smaller, cheaper, often specialized models. That gives a frontier model real standing to grade the work.
Each night the judge reads the turns that have settled, one transcript at a time: recent history, my question, each tool call with its result, the reply, and my next message. It gives each turn a score from 0 to 100 and a failure label.
What it isn’t told matters as much. It doesn’t know which model answered, whether a guard stepped in, what the turn cost, or how I rated it. It has no tools, no shell and nothing it can write to. It reads and it scores. A verdict never goes back into the assistant’s prompts or memory on its own, because that would change the thing being measured.
So what happens when the judge gives a bad score? It comes to me, not back to the agent. The Monitor page lists the lowest-scored turns, and the weekly email flags what needs a look. If there’s a real problem, I fix it in the harness like any other change, and the frozen questions tell me whether the fix helped. The grades are also kept with each turn. Those traces were already being captured as a training corpus, so if I fine-tune a model later, the labels are there.
The judge has to hold still too. The model and its settings are pinned. If it refuses a turn, that turn counts as skipped, and no other model fills in. Any change to what the judge is shown makes a new judge version, and a new version means grading the history again so the scores still connect.
Two limits belong here. This is a text-only judge (the agent is multimodal and I often send it visual inputs). It can check a reply against the transcript, and it can’t confirm that anything happened in the world. The design calls for a second judge that checks claims against real evidence with read-only tools, and I haven’t built that one yet. And grading means the content of every turn goes to a cloud model each night. I accepted that for now and may revisit it.
One score is not enough
A single nightly score can go up without the assistant getting any better. What I ask changes from week to week. The judge can change. And if I ever train a model on these grades, it could learn to please the judge. So there are three rulers, and each one holds something different still.
| Ruler | What it is | What it tells me | Where it falls short |
|---|---|---|---|
| Live grades | Every real turn, graded every night | What happened | It moves with what I asked that week |
| Fixed questions | A frozen set of questions run through the whole assistant each month, with canned tool results and every question repeated | Whether the assistant changed | It’s a frozen world, so a model that reaches for a different tool gets marked down |
| Anchors | 60 known turns graded again on a schedule: replies I rated down, replies verified as good, and good replies with one planted mistake | Whether the judge changed, and how noisy it is | They’re clear cases by design, so they understate the noise on real turns |
The fixed questions freeze the world and leave the assistant free. Prompts, guards and tool definitions are not frozen, because those are what the run measures.
The repeats matter. The assistant runs at a temperature where the same question gets a different answer on the next run. In one comparison, three repeats of the same model on the same questions averaged 70.2, 77.8 and 75.4. A single run would have misled me.
What the first pass showed
The detailed results are for part 3. A few things are worth saying now, because they’re about monitoring agents in general and not only about mine.
A judge can be checked. I reviewed 60 of its verdicts by hand. Of those, 57 were right, 2 were partly right and 1 was wrong.
The judge is non-deterministic too. A fix to the judge meant grading the whole history a second time, so 1,566 transcripts were graded twice with nothing changed. On 83 of them, 5.3%, the verdict flipped between flagged and not flagged. The anchor set had shown perfectly stable flags. So you have to measure the thing doing the measuring. The page and the weekly email report the mean score and never the flag rate, and they say “no real change” unless a difference is larger than the measured noise.
The deterministic side had a surprise of its own. The Monitor page showed zero tool failures on turns that had been handed to Claude. That code path could only ever write a zero. Of 51 such turns, 20 had a failed tool. A zero can come from an instrument that can’t register a one.
It’s also cheap at this scale. Grading has cost between 1.6 and 2.8 cents a turn.
It’s a start
I’m not saying I’ve got this exactly right. Having a stronger model grade another model’s output is already common practice, and I haven’t done a real literature review, so I’m not claiming the pieces are new. What I don’t see much of is that grading treated as part of operations: on the same page as uptime, run every night, with its own noise measured. A lot of agents are being built right now, and every one of them will have to be run. I think that deserves real thought.
This is also one user and one agent, so take the numbers as a first look.
I set one test for the work. After six months, the quality score has to have improved in a way I can measure. The clock started on November 7 with the first run of the fixed questions. “Improved” means the score rose by more than the judge’s own noise and by more than the model’s ordinary run-to-run variation. I don’t know yet whether it will pass.
Between now and then I’ll keep working on both sides: Quartermaster itself, and the way I monitor and judge it. Part 2 is the build: how the judge was validated, how the frozen questions work, and what it costs. Part 3 is what it caught. I don’t publish the text of any real turn, so everything in those posts will be a count or a mean.
It’s a start. If you’re building agents, I’d put as much thought into how you’ll monitor them as into the agents themselves.
About the Author
Brian Hengen is a Vice President at Oracle, leading technical sales engineering teams. The views and opinions expressed in this blog are his own and do not necessarily reflect those of Oracle.