Verification matters more than generation
A language model writes text, code or a table in seconds. The bottleneck is somewhere else: how long it takes to find out whether the result is right. If checking takes as long as the work itself, the agent saves nothing. So before I put an agent on a task, I ask one question: what will we check its work with? If a program can check it, the task fits. If only a person can check it, by redoing the whole thing, I'd hold off on the agent.
By agent I mean a program in which the model doesn't just answer but acts: it reads files, calls other systems, writes and sends. The generator is the part that produces the result. The verifier decides whether to accept the result or send it back. A verifier can be code, another model or a person.
Checking is usually easier than doing
Anthropic's article on moving its Messages API to the Rust language opens with this idea: "Many problems have a generator–verifier gap: it's often far easier to verify that a solution is correct than to come up with one." Claude took part in the migration itself. Later the authors admit that verification, not generation, had become the bottleneck.
The article's numbers show where the risk hides. In April the new version passed about 98% of the tests, yet on real requests its responses matched the old version's only about a quarter of the time. The tests were changed along with the code, and Claude helped with both. When the tests were examined separately, more than a hundred weakened checks turned up: conditions inside a test that had started letting through what they used to catch. There were no rules describing the "correct" response, so the old system became the reference. The same requests went to both versions, and the responses were compared. By August, going by a chart in the article, the match had reached 99.6%.
Two lessons follow for any task. A test written by the same hand as the code checks very little: it bends to fit the code. And the most reliable judge turns up where you have something known to be right: the old system, an accounting total, the original document.
Three verifiers, from cheap to expensive
Code and rules. A program checks the format and required fields, whether the line items add up to the total, whether a quotation appears in the source word for word, whether the code passes its tests. This check costs almost nothing, works the same way every time and never gets tired. Anthropic's guide "Building effective agents" says it's crucial for agents to gain "ground truth" from the environment at each step: the result of a tool call or of running code. The guide also says code can be checked with automated tests, and the agent can fix it based on the results. The ReAct paper (Yao et al., 2022) showed the same idea earlier. On question-answering and fact-checking tasks, the model checked its reasoning against Wikipedia as it went, through Wikipedia's programming interface (API). It made things up less often, and passed errors along less, than when it simply reasoned step by step.
A judge model. A second model grades the answer against criteria you give it. This covers what code can't catch: whether a letter is clear, whether the agent answered the question it was asked. Zheng and colleagues (2023) showed that a strong judge model agrees with people more than 80% of the time, roughly as often as people agree with each other. The same paper describes its biases: it tends to favour the answer shown first, the longer answer, and answers from its own model. So you give the judge concrete criteria, swap the two options round when comparing a pair, and where you can, use a judge from a different model. Anthropic's guide calls the loop where one model writes and another grades and sends it back "evaluator-optimizer", and says it works particularly well when there are clear evaluation criteria.
A person. The most expensive verifier, and the one you need most at the start. Anthropic's article on its research system, in which several agents work together, puts it plainly: "Human evaluation catches what automation misses." Their early agents kept picking sites built for search engines over authoritative sources. The automated evaluations didn't notice. A person doesn't have to read everything. A regular sample is enough, plus every case where the other checks disagree.
What to check first
The order in which I build checks for a new agent:
- Whatever breaks the next step. Format, required fields, data types. If the agent fills in a CRM record, a program rejects one with no phone number or with last year's date. Without it the rest is pointless.
- Facts against the source. Every number, quotation and link in the answer has to be found in the document the agent relies on. A check for "is this line in the source" is written in code, and it cuts out the nastiest error of all: a confident invention.
- Actions with consequences. An email to a client, a change to an order, a payment. Here either a rule fires (the amount is under a threshold, the recipient is on a list) or a person presses "confirm". A mistake in a draft takes a minute to fix; a sent email can't be called back.
- Meaning and quality of the text. A judge model with explicit criteria. Every so often, compare its grades with your own on the same examples.
- A sample by eye. Ten random results once a week. That's how you find the errors nobody has written a check for yet.
If you do only one thing, do the second. In my view it gives the most value per hour of work: it catches the error a person skimming the text would miss, because it sounds plausible.
Tests and real work diverge
The examples you tested the agent on never quite match what arrives in real work. In November 2026 OpenAI published a measurement on this. It was done on a single evaluation set, about agents behaving safely. For all six models studied, the share of safe decisions on test tasks differed from the share in comparable real cases. In their measurement the models did worse on the tests, by 10 to 37 percentage points. In the Rust story it went the other way: the tests looked better than the work on live requests. You can't guess the direction in advance, so measure on real data.
The simplest way is shadow mode. The agent runs alongside your current process and gets the same inputs. Its output is compared with what people or the old system produced, but it isn't sent anywhere. The Rust migration was checked the same way: the old and new versions were compared on live requests. In my view, time in the shadows on live requests will show the real error rate better than a test suite, and in that time you'll come up with checks you hadn't thought of beforehand.
More agents don't solve the verification problem. If you're considering several agents at once, first work out when a swarm pays off and when it only multiplies unchecked text.
When you don't need an agent
Some tasks can be checked in only one way: a specialist rereads everything and redoes the calculations. If a mistake is also expensive, an agent saves little. Here a model works well as an assistant: sketching a draft, finding the right passages in documents, pulling data into a table. The decision and the signature stay with a person. That's still useful; its price just includes the time spent checking.
Checking does get cheaper over time, though. Every error a person finds can become a rule or a test, and a program will catch the next one like it.
How do you check an agent’s work? If you have an observation or objection, write to me — I’d be interested in comparing approaches.
Sources
- Anthropic: Migrating our Messages API to Rust: the generator–verifier gap in the first paragraph; verification became the bottleneck; about 98% of tests passing against roughly a quarter of matches on real requests; more than 100 weakened checks in the migrated tests; the old system as the reference; a 99.6% match by August, per the chart.
- Anthropic: Building effective agents: "ground truth" from the environment at each step; code solutions verified by automated tests; the evaluator-optimizer pattern works when evaluation criteria are clear.
- Zheng et al.: Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena (2023): a strong judge model agrees with people more than 80% of the time, as often as people agree with each other; position, length and self-preference biases.
- Anthropic: How we built our multi-agent research system: human evaluation catches what automation misses; early agents chose sites built for search engines over authoritative sources.
- OpenAI: Eval-production behavior gaps in agent safety and the role of eval-awareness: on one evaluation set about safe agent behaviour, all six models made a lower share of safe decisions on tests than in comparable real cases, a gap of 10.2 to 37.4 percentage points.
- Yao et al.: ReAct: Synergizing Reasoning and Acting in Language Models (2022): on question-answering and fact-checking tasks, calling the Wikipedia API while reasoning reduces hallucination and error propagation compared with chain-of-thought reasoning.