Context Theory Get your growth audit

Answer

How do you make an AI agent verify its own work?

Give it something to run rather than something to consider. A review it performs on its own output mostly returns agreement.

Give it a check to execute rather than a review to perform. Running a test, a query or a comparison and reading the result is verification; re-reading its own output is not, and returns approval almost every time.

The phrase self-verification covers two different operations with very different reliability. One is executing something that produces an independent verdict: run the tests, run the query, recompute the total, compare against the source, open the file and read what is actually there. The other is asking the system to consider whether its output is correct. The first works. The second returns agreement most of the time, because the assessment is made from the same material and the same reasoning that produced the output.

So the design objective is to convert as much of the check as possible into something executable. In code that is tests, type checks and linting. In data work it is totals, row counts, referential checks and range constraints. In document work it is quotation matching, link resolution and a comparison of named entities against a source list. Each of these has the property that the agent can be wrong and the check still says so.

The second principle is that verification should read reality rather than memory. A frequent and expensive failure is an agent that reports a change was made because it issued the command, without confirming the state afterwards. The command may have failed, been rejected, or applied somewhere else. Requiring the agent to read back what it wrote — open the file, re-query the record, check the status — turns an assumption into an observation, and this single habit removes a surprising share of confidently wrong completion reports.

The third is that the check should be defined before the work, not after. A verification step invented at the end tends to test what was produced rather than what was required, and it will pass, because it was designed by looking at the answer. This is the same reason the completion condition belongs in the brief, and it is the difference between a check and a justification.

There is a legitimate role for a second model pass, and it is narrower than usually claimed. Comparing an output against a stated rubric, or against source material, is a discrimination task and is genuinely useful — particularly when the reviewing pass has not seen the reasoning that produced the work and is given only the artefact and the requirement. What does not work is asking the same run, with all its context, whether it did well, because at that point the reviewer and the author are not independent in any meaningful sense.

Finally, be clear about what verification cannot cover. Every technique above checks the work that was done. None of them detects the work that was never attempted, which needs the coverage question asked separately: how many items existed, how many were handled, which were skipped. Teams that build good verification and no coverage accounting end up with high confidence in a partial result, which is a worse position than low confidence in the same result.

Verification is an action with a result, not an opinion with a conclusion, and an agent will happily supply the second when asked for the first.

Siddharth Sharma, Context Theory

Related questions

Should the agent write the tests it verifies against?

It can draft them, and the requirement should predate them. A test written after the work encodes the behaviour of the work; a test written against a requirement can fail it. If the agent produces the tests, read them against what you asked for rather than against what it built, which takes a minute and is the whole of the control.

Is a separate verification agent better than the same one checking?

Where it has less context, yes, and the reason is independence rather than capability. A reviewer given the artefact and the requirement, without the reasoning that produced the artefact, is evaluating the output on its merits. A reviewer holding the full history of the work is largely re-deriving the same conclusions, which is why the second opinion agrees so reliably.

METHOD

Every figure below carries its source and the date it was verified. Nothing on this page is asserted.

The numbers on this page.

Datapoints
What Value Specific to
Sub-15-minute compliance — automated routing vs manual only62.5% vs 39.1%Category-wide
Close rate — response under 5 minutes vs over 24 hours32% vs 12%Category-wide

2026 speed-to-lead benchmark · verified

Optifai speed-to-lead benchmark · n=939 companies · Q2 2025–Q1 2026 · verified

What is specific to this page.

Evidence
Kind Claim Check it against
WorkflowSelf-verification splits into executing an independent check and re-considering the output, and only the first produces a verdict the agent can be contradicted by, because the second is formed from the same material and reasoning that generated the work.Comparing outcomes when an agent is asked to review its output against when it is required to run a pre-written check and report the result.
SoftwareAgents report changes as made on the basis of having issued the instruction rather than of observing the resulting state, so requiring a read-back of the written file, record or status converts an assumption into an observation and removes a substantial share of incorrect completion reports.Introducing a silently failing write into a run and checking whether the agent's report acknowledges it.
ResponseA verification step designed after the work tests what was produced rather than what was required and passes for that reason, which is why the check must be fixed before the run in the same way as the completion condition.Comparing a check authored before a run against one authored after it, applied to the same output.
ConstraintEvery verification technique evaluates work performed and none detects work never attempted, so verification without separate coverage accounting produces high confidence in a partial result, which is worse than low confidence in the same result.Running a full verification suite against an output that covers only part of the input set.

Each row would be wrong on another industry's page. Where a sourced figure exists it is in the table above instead; these are the constraints that shape the work and do not happen to be numbers.

Start with the measurement.

Reading about a benchmark is not the same as knowing your own number. The audit produces yours, measured rather than estimated.

Get your growth audit

$497 · delivered in 5 business days · credited against month one