Skip to main content

AI Agent Verification: Acceptance Criteria First for Agent-Built Work

Updated 7 min readMarkdown
Part of seriesXccelera Blogs

AI agent verification means checking an agent-built result against criteria that were written before the build, using evidence that a second person can inspect. A passing test run is part of that evidence, but it is never the whole of it.

Agents often write the code and the tests together, so the tests can agree with the code simply because one system produced both.

This article gives a reviewer a short card to fill in for every acceptance criterion. The card makes "done" mean a claim, a test, an independent probe and a recorded run. It also shows which criteria should describe what the build must not do.

What Does AI Agent Verification Mean for Agent-Built Work?

AI agent verification means that someone other than the builder checks the finished work against criteria written before the build. The builder produces the work, and a second person decides whether it meets those criteria.

In a tool that plans, builds, tests and deploys an application, that split is easy to lose, because every stage happens in one place.

Xccelera's product page describes a builder in which acceptance criteria are written in plain language and each one becomes a test.

It also says building starts only after a person approves the plan.

That gives a reviewer something fixed to check against when verifying agent-built work, but it does not decide whether the checks are strong enough. That judgment stays with the reviewer.

Quick check: Is verification the same as testing?

No. Testing runs the checks. Verification asks whether the checks are strong enough to support the claim, and whether someone other than the builder has seen the evidence.

Why Is a Green Test Run Not Proof?

Because tests only cover what someone thought to test, and AI agent verification has to account for the rest.

An ICSE 2026 study of SWE-bench Verified makes the point with data. Its authors note that testing is rarely exhaustive, so a patch can pass every test and still miss what developers expected.

They generated extra tests for patches from three issue-solving tools. On average, about 3 in 10 patches that passed the original tests (29.6%) still behaved differently from the correct fix once the extra tests ran.

That is a benchmark result, not a forecast for your repository. When an agent also writes the tests, the code and its tests may share the same misreading of the requirement.

AI agent verification gap between passing tests and correct work

Quick check: If every test passes, can we skip the review?

No. A green run shows that the checks you had did not fail. It says nothing about the checks you did not have.

What Does a Reviewer Check for Each Criterion?

The reviewer fills in one card per criterion. We call it the Criterion Evidence Card, our framework for AI agent verification. A criterion passes review only when all four entries are present, and a missing entry reads "open", never "pass".

Four terms are used below.

  • A probe is a test case written by someone other than the builder.
  • A trace is the recorded run that shows the result, with the build version and date.
  • The suite is the full set of tests for the feature.
  • A build is one numbered version of the software.
Entry What the reviewer asks Example for "A user can export only their own invoices"
Claim Is the outcome one observable statement? Export returns the signed-in user's invoices and nothing else
Test Is a named test mapped to this claim? test_export_own_invoices
Probe Did someone other than the builder add a case it did not expect? Request another user's invoice ID and expect a refusal
Trace Does the real run show the result, with build and date? Run log shows the probe refused on build 142

The probe is the entry teams skip most often. It should come from the reviewer or from a separate step with its own instructions. A probe written by the system that wrote the code can repeat that system's assumptions.

AI agent verification criterion evidence card

Quick check: Who writes the probe?

A person on the review side, or a separate step that has not seen the builder's code. The point is a second view of the requirement, not a second run of the first one.

Which Criteria Should Say What the Build Must Not Do?

Every list of criteria needs a few written as refusals, which are statements of what the build must never do. In AI agent verification, these are the criteria that catch misuse, not only missing features.

NIST's CAISI shows why in its December 2025 write-up, Cheating on AI Agent Evaluations. It reports that models passed coding benchmarks by disabling assertions and adding test-specific logic. The same shortcut is possible in your own test suite, so a refusal criterion should forbid it.

Refusals like these can be probed:

  • The build must not disable, remove or special-case an existing test.
  • The export service must refuse a request for another user's data.
  • The build must not call any tool outside the approved list.
  • The service must not execute code that arrives inside an uploaded file.

In August 2026, NIST published an initial public draft, AI 200-2, describing the TEVV-Athlon framework. It is a four-stage method for building assessments that fit a system's goals and risks, and it covers agentic systems. Write the checks from your own risks, not from a generic list.

What Happens When a Criterion Fails?

The card records the failure, the fix and the new run, in that order. After any fix, the whole suite runs again, not only the failed test. A change that repairs one criterion can quietly break another.

Here is a simple case. The export test passes, so the build looks fine. Then the reviewer's probe asks for another user's invoice, and the service returns it. The criterion fails. The fix goes in, the whole suite runs again, and the new trace names build 143. Only then does the card read "pass".

The same rule applies when a builder repairs failures automatically. The repair still needs a full re-run, and the reviewer still needs to see what changed.

AI agent verification loop after a failed criterion

Quick check: Is a fixed criterion finished?

Not until the full suite passes on the new build and the trace names that build.

Who Signs Off, and on What?

A named approver signs off, and the sign-off covers every card, not a one-line summary. AI agent verification ends with that person reading the evidence.

The approval page should show every card, the difference since the previous build and the person who approved the original plan.

Any open entry blocks the release until someone closes it or accepts the risk in writing.

Two earlier pieces cover the stages on either side of this one. For running tests, adversarial cases and release thresholds before launch, see testing AI agents before deployment.

For how a plan and its criteria get written first, see plan before code with an AI agent builder.

Review One Agent-Built Feature This Week

Pick one feature that an agent built recently, then follow these steps:

  1. Write its acceptance criteria as plain sentences, one outcome each.
  2. Add at least two criteria that describe what the feature must refuse to do.
  3. Fill in a card for every criterion, and mark any empty entry as open.
  4. Ask someone who did not build the feature to write the probes, and run them against the current build.
  5. Record the result with the build version, fix what fails, and run the whole suite again before anyone signs off.

The first review will probably show criteria without tests, and tests that no criterion asked for. Xccelera describes its application builder as planning, building, testing and deploying from a plan that a person approves. Whatever tool you use for AI agent verification, the card is the part that travels with you. It shows what was claimed, what was checked and who accepted it.

About the author

  • Xccelera AI is an enterprise agentic AI platform for building, orchestrating, integrating and scaling AI agents, from AI transformation strategy to production software engineering. Our platform and packaged agents (voice, ERP, ITSM, clinical assist, negotiation) come with human approval checkpoints, isolated execution and an audit-ready evidence trail for every run. Here we share engineering deep-dives on agent design, orchestration and observability. xccelera.ai

No comments yet. Be the first to comment.