Back to Automation

How Do You Know If It Worked?

How Do You Know If It Worked?
AI Tutorials Team 4 June 2026

An agent finishes by telling you what it did. That report is generated by the same system that did the work, which makes it the least independent evidence available.

Why is self-reporting unreliable?

Because it describes intent rather than effect. An agent that believed it wrote a file will say it wrote a file, and whether the file exists is a separate question.

What should you check instead?

  • The actual state. Does the result exist and is it right?
  • A sample of the work. Not just the summary.
  • The trace. What it actually did.
  • Edge items. First and last of a batch.

Why check the first and last?

Because bulk work degrades at the ends. The first item reveals whether the approach was right and the last reveals whether it drifted, which are the two common patterns.

What can be verified automatically?

More than people assume. Tests passing, files existing, records matching a schema, counts reconciling: anything with a definite answer should be checked by code rather than by reading.

What needs a person?

Judgement about quality and appropriateness. Whether generated text is suitable, whether an approach was sensible, and whether the goal was the right one all require somebody who understands the context.

What about counting as a habit?

The cheapest verification available and the most neglected. Comparing input count to output count catches partial completion, duplication and silent skipping in one operation.

It is also automatable, which means it need not depend on anybody remembering. A check that fails loudly when the numbers disagree turns the most common agent failure into something you are told about rather than something you discover.

What is the most common false success?

Partial completion reported as finished. An agent processing a hundred items may have handled sixty, and a summary saying the task is complete conceals it unless you count.

How do you catch that?

By counting. Comparing what went in against what came out is a trivial check and it catches the single most common agent failure in bulk work.

What about tasks you cannot verify?

A signal not to delegate them. If nobody could tell whether the output was right, the agent is producing confidence rather than value.

What about the report itself?

Worth specifying rather than accepting. An agent instructed to report counts, verification results and unfinished items produces something checkable; one left to summarise produces a narrative.

The difference is substantial in practice. A structured report can be validated automatically, and a paragraph describing success requires somebody to read it and decide whether to believe it.

What about output that is right for the wrong reason?

More common than people expect and only visible in the trace. An agent that guessed correctly, or found the right answer through a mistaken route, will fail on the next similar task.

That is the argument for reading traces during evaluation rather than only checking outcomes. A success rate built on lucky runs overstates reliability, and the difference shows up as inconsistency nobody can explain.

What should the agent be asked to provide?

Evidence rather than assurance. Instructing it to report what it verified, and what it could not complete, produces something checkable rather than a claim of success.

What is the discipline?

Never accept the summary as the result. Check the state, count the items, read the trace on anything important, and treat self-reported success as a hypothesis.