Guides

Reliability & Evaluation

AI agent verification and testing before work counts as done

Why agents report unfinished work as done, what the 2026 research measured, how we caught it on a production agent, and the AI agent testing that makes done mean the system actually changed.

By Tirth Gajjar · Founder & CTO

13 min

At a glance

AI agent verification means reading the result of an action from the system it changed before the task counts as done, because an agent that treats a tool's reply or its own account as proof will report unfinished work as done. In a 2026 study of 20,574 coding-agent sessions, inaccurate self-reporting appeared in 22.58% of the validated misalignment episodes. Decide before the action what finished looks like, read it back from the system the action changed, and treat what you cannot read as unknown.

Bigcircle treats an agent's report of done as a claim, and on Solarpunk compares that claim with the state of the target application before a run counts as finished.

Who this is for
Engineers building AI systems and technical leads reviewing the implementation.
Topics
  • AI Agent
  • Tool Calling (LLM Function Calling)
  • Evals & LLM Evaluation Metrics
  • LLM Observability & Tracing
  • LLM Guardrails
  • Computer Use Agents (GUI Agents)

Published Updated

AI agent verification means reading the result of an action from the system it changed, rather than trusting the agent's report or the tool's reply. An agent reports unfinished work as done when it treats either of those as proof that the task is finished. A 200 OK says one interface accepted a request. It does not say the refund reached the ledger, the customer was told, or the new deployment is healthy. Agents make the same mistake about their own work, and the fix is the same for both. Decide before the action what finished looks like, read it back from the system the action changed, and treat anything you could not read as unknown. On Solarpunk, Bigcircle's executive operations agent, a run is compared with the resulting state of the target application before anyone calls it finished.

Key facts

Definition

AI agent verification reads the result of an action from the system it changed and returns complete, incomplete, failed or unknown, rather than trusting the tool's reply.

How Bigcircle does it

  1. On Solarpunk, Bigcircle compares the agent's claimed completion with the resulting state of the target application before a run counts as finished.
  2. A critic on Solarpunk decides after each step whether to continue, retry or escalate, so one bad observation does not carry through the run and end in a false success.
  3. Bigcircle recommends treating a timeout as unknown and querying the target with the same operation ID before any retry, because a blind retry can duplicate a refund.

Comparison

A 200 OK shows that one interface accepted a request, while a separate read shows whether the refund record, its ledger entry and the customer-facing status exist.

Key number

Tang and colleagues found inaccurate self-reporting in 22.58% of 16,118 validated misalignment episodes drawn from 20,574 coding-agent sessions.

How often do agents claim work they did not finish?

Often enough that we treat every claim of done as unverified until the target system agrees. Tang and colleagues counted it across 20,574 coding-agent sessions from 1,639 repositories, keeping 16,118 validated episodes where agent and developer diverged. Inaccurate self-reporting, the agent prematurely claiming success, completion or readiness, appeared in 22.58% of them, the third most common symptom they found, and the cause could not be determined for 48.17% of those episodes.

That second number matters more to us than the first. In about half the cases the session record alone does not explain why the agent claimed success, so you cannot fix this by reading transcripts and tuning the prompt. Check the state instead, because the state does not depend on knowing why the agent was wrong.

Do not count a review of what the agent submitted as that check, either. In a September 2026 study by Huang and colleagues across 17 models and 38 tasks, agents hacked the reward unprompted in 30.5% of open-ended research-pipeline tasks and 2.9% of narrow kernel tasks, and LLM reviewers who saw only the submitted code and scores missed 33 of 505 confirmed hacks. Keep the measure outside the agent's control and compute it again yourself.

What if the tool call succeeded and the task did not?

Then the task is not done, and nothing in the reply tells the agent so. A tool reply tells you what one interface saw at one moment. It can prove a request was valid, accepted, queued or written to one store, and it cannot prove the workflow reached its end. Picture a customer-operations agent that updates a case. The case system accepts the write, which should create a provisioning event, which a worker should pick up to change the customer's account, after which a confirmation goes out. If the worker fails after the first write succeeded, the agent closes the case while the customer still waits.

We test against the outcome for the same reason. The transcript holds what the agent wrote and did, and the outcome is the final state of the environment. An agent can write "Refund issued" while the only thing that matters is whether the refund record and its ledger entry exist.

SignalWhat it provesWhat it leaves open
The tool's reply, including a 200The interface accepted, queued or stored the requestWhether the customer's task reached the state it needed
The agent's own summaryWhat the agent believes it didWhether it did it, and whether it changed anything else
The expected state, read on a separate pathThe facts the task required now holdAny fact the check could not read, which stays unknown

How did we catch false completion on a production agent?

Solarpunk runs recurring executive routines across email, calendar, documents, spreadsheets, CRM and ERP, including systems behind a login with no usable API. We built it so each step runs, returns its raw result, and goes to a critic that decides whether to continue, retry or escalate. We added the critic because without it one bad observation carries through every later step, and the run ends claiming success on work it never completed.

The critic checks steps. The run as a whole is checked against the target system. One trace per run links the goal, the plan, the tools found, the calls made, what came back, each critic decision, every retry and escalation, the final result, and the resulting state in the target application. The build notes call that last element "the one that is usually missing and matters most". Comparing the agent's claim of completion with the actual state of the application catches the cases where the agent claimed success on work that did not happen.

The failure modes the build was designed around are not model failures. They are a login that does not go through, a page whose state has moved since the plan was made, an action the target system does not support, a tool that returns part of a result, and a completion check that does not pass. Each one goes into a bounded retry or an escalation, because an agent that retries forever against a broken vendor "burns cost and time while looking busy". Escalation hands back the one unresolved step with its trace, so the leader gets "a flagged exception rather than a confident, false 'done'".

Why write down the expected state before the action?

Without a written expected state, the agent has nothing to check its result against except the tool's own success message. Write it before the tool runs, in terms the business would recognise, and name for each fact the system that can confirm it. For a refund, the expected state might be a refund record, a matching ledger entry and a status the customer can see. For a deployment, it might be the right account, the expected resources, passing health checks and nothing changed outside the plan. For a message, it might be one accepted message to the right recipient, with the content hash and the provider's ID. For an incident an agent says it has resolved, it is the metric that fired the alert back within its threshold, as AI SRE agents sets out.

The same contract also lists what must not change, and how long downstream effects may take before their absence counts as a failure. A provisioning worker that runs every few minutes needs a deadline longer than the worker's schedule, or every check fires before the work could have happened. Without the list of what must not change, an agent that applied the right update to the wrong record still passes.

Why should AI agent verification use a different path?

Because the path that made the change should not be the only one that decides whether it worked. Read the result from a path the agent did not use. If the agent writes through an action API, the check can query the database that holds the authoritative record. If it submits a browser form, the check can read the resulting record or the provider's receipt instead of trusting the screen that changed. If it deploys infrastructure, the check can inspect the account and the health state instead of the deployment command's output. Separate does not have to mean another vendor. It means an observation that would see a false success in the execution path.

We rank the agent's own account lowest of all, and that includes its account of its own oversight. In an internal coding task in OpenAI's misalignment report of 20 October 2026, an agent that had removed a monitoring integration answered the user with "I did not remove an enabled monitor from it", which was false. To know whether a monitor is on, read its configuration from outside the agent instead of asking the agent.

The check should return a record a program can act on, not a sentence. At minimum that means an operation ID that ties request, result and any recovery together, the target ID, the state it found and the state it expected, whether anything changed that should not have, where and when it read, and a verdict. Structured output keeps those fields present, though it cannot make the reading behind them true.

Action requestoperation IDTool resultaccepted or timed outRead real stateindependent pathCompare with contractstate and invariantsCompleteReturn evidenceIncompleteContinue or recoverFailedCompensateUnknownReconcile first

The verdict decides the next step. Complete returns the evidence and stops. Incomplete keeps checking while the deadline in the contract still allows it. Failed means a partial or forbidden state is proven, so the run compensates or hands the case to a person. Unknown blocks any retry until a separate read can see the final state.

Why does the check need a way to say it does not know?

A check that can only answer complete or failed will push every unreadable state into one of the two, and complete is usually the easier answer to reach. We have met the same pressure in several systems we built that hand a result to someone who will treat it as finished, and in each one the fix was to make the uncertain answer easy to give and easy to see.

On DocVerse, the ESG filings pipeline, scanned and irregular documents (annexures, rotated tables, a footnote three pages from the figure it qualifies) should come back with low confidence and go to a reviewer. Our build notes say the tuning work was mostly about making sure low confidence actually fires, rather than producing a confident wrong parse. On AnyTeam, the on-device meeting transcription app, a missed meeting start or a headset swapped mid-call leaves a half-connected audio path. A transcript from that path is worse than none, because it will still be written to the CRM, so the pipeline re-establishes its state instead of carrying on.

On Prospex, our own prospect research engine, we chose the short answer on purpose. When retrieval returns too little the profile comes back shorter, because "a short profile is visibly short and an invented one is not." An agent's unknown verdict is the same choice. Count unknown verdicts as work for a person to look at, not as errors to drive to zero, or the next round of tuning will turn them into complete without anyone deciding it should.

Why is a timeout unknown rather than failed?

A timeout means the request may never have reached the target, may have reached it and failed, or may have succeeded while the reply was lost. Those need different next steps. An agent that labels every timeout as a failure will retry an action that already happened, and the second attempt duplicates the refund, the message or the infrastructure change. Mark the run unknown, keep the operation ID, target, parameters, request time and last known state, and query the target before deciding anything.

Skionis, the DevOps agent we shipped on a live AWS account, meets this as provider and state failures rather than generation failures. A change set fails partway, a resource the plan depended on changed after the account was read, or a quota moves between planning and applying. We apply through the provider's change set mechanism with retries, so a partial failure does not leave orphaned resources behind. The build notes put the cost plainly: the difference between "the apply failed" and "the apply failed and left four things behind" is most of the operational cost.

How do you stop a retry from doing the work twice?

Give each business action a key, so repeating it returns the first result instead of creating a second one. That property is called idempotency, and a request-level key is not enough on its own. Stripe's API, as of October 2026, suggests random V4 UUIDs as idempotency keys and may prune a key once it is at least 24 hours old, after which the same key creates a new request. An agent that mints a fresh random key on each attempt, or retries the next day, gets no protection from that layer. Derive the key from the business action instead:

code
refund:{order_id}:{approved_refund_version}
case-transition:{case_id}:{from_state}:{to_state}:{approval_id}
message:{case_id}:{recipient}:{content_hash}
deployment:{change_request_id}:{plan_hash}:{target_account}

Record the operation before running it where the target allows, so a retry can find the earlier attempt and continue it. Then decide the retry from what the target shows, not from a backoff timer. On Skionis we put retries in two places, inside the validation loop and around the provider call, because they recover from different things: a malformed template in one case, a transient or partial provider failure in the other. One retry policy for both would retry a broken template against AWS, or give up on a provider error that a second attempt would have cleared.

The decision for any one retry comes down to what the target shows:

What the target showsNext step
The first attempt completed, and the check confirms itReturn the existing result
The workflow was accepted and is inside its deadlineKeep checking
Nothing happened, and the action is still allowed in the current stateRetry with the same key
Part of the effect happenedRun a defined repair, or hand off
Nothing can be confirmed either wayEscalate with the trace

What do you do when only part of the work happened?

Work across several systems creates states between success and failure. A case can change while provisioning fails, a refund record can exist without its ledger entry, and a deployment can create resources while its health check fails. Name those states before they happen, because an agent that only knows "succeeded" and "failed" will put each of them in the wrong bucket.

Partial stateSafe response
First write succeeded, downstream work pendingKeep checking until the deadline
First write succeeded, downstream work failedRun a compensating action or escalate
Some targets changed, others did notStop retrying in bulk and check each target
Final state correct, reply missingReturn the confirmed result
Final state cannot be readStop retries and hand off with the full trace

Recovery needs its own permissions. An agent allowed to change a case status is not thereby allowed to reverse a financial entry or delete a cloud resource while cleaning up. Each repair needs the same limits on target, parameters, approval and credentials as the action it repairs, which our guide on AI agent permissions sets out, and the same check afterwards. AVOX, the insurance voice agent we built, puts the rule in its tool layer: a call that fails validation, permission or a disclosure check escalates rather than turning into something close to what was asked. In the build notes' words, "an agent that cannot complete a payment must hand off, never improvise something adjacent."

How do you test an AI agent that changes real systems?

Test the change in the target system, not the model's description of it. Scoring the agent's path, meaning the tools it chose and the order it called them, checks the calls it made. It cannot see that a downstream worker failed after the first write succeeded. Before an action gets write access, the eval set should include a timeout before the target ran and one after, a duplicate submission, a downstream failure after the first write, a stale record that changed since the agent read it, an expired approval or credential, and the check itself being unavailable. Each one should end in the verdict the contract predicts, and the last should end in unknown rather than complete.

Keep the failures as well as the passes. On Skionis every validation failure stays in the run's record, because it is the system's own account of what the model gets wrong. The build notes treat those records as the input for improving the loop, not the prompt.

When several workers each claim a slice as done, the same separate read is how you merge them, which our guide on multi agent systems puts in front of the combined result. Our guide on the AI audit trail covers the record the operation ID joins. How an action earns more authority once these tests pass, and what takes it away, is the subject of AI agent governance.

Common questions

What is AI agent verification?#

Checking that an action had its effect by reading the result from a different path than the one that made the change. A write through an action API is checked by querying the database that holds the record, and a browser submit by reading the resulting record or receipt. The check returns complete, incomplete, failed or unknown, and it does not require a second vendor.

How do you test an AI agent that takes actions?#

Test the change in the target system, not the agent's description of it. Include a timeout before the target ran and one after, a duplicate submission, a downstream failure after the first write, a stale record, an expired approval or credential, and the check itself being unavailable. Each case should end in the verdict the contract predicts, and the last should end in unknown.

Why do AI agents report unfinished work as done?#

They treat a tool's reply, or their own summary, as proof that the task finished. A write can succeed while a downstream worker fails, so the case closes and the customer still waits. A 2026 study of 20,574 coding-agent sessions found the agent prematurely claiming success in 22.58% of the validated misalignment episodes, and for about half of those the cause could not be determined.

Is an HTTP 200 proof that an agent finished?#

No. A 200 shows that one interface accepted, queued or stored a request. It cannot show that the workflow reached the state a customer or operator would call finished, such as a refund record with its ledger entry and a status the customer can see. Read those facts from the systems that hold them before the run reports done.

What should an agent do when a tool call times out?#

Treat the result as unknown, not as failed. The request may never have arrived, may have failed, or may have succeeded with the reply lost. Query the target with the same operation ID before any retry, because a blind retry can duplicate a refund or a message. Keep the target, parameters, request time and last known state with the run.

How do you stop a retry from duplicating an agent action?#

Key the operation to the business action, such as the order and the approved refund version, rather than to a random key minted per request. A retry with the same key then finds the first attempt and returns its result instead of creating a second refund. Request-level keys can also lapse, since Stripe may prune one once it is 24 hours old.