How Do We Check Whether an AI Agent Completed a Task Correctly?

How to check that an AI agent really completed a task correctly: inspect the outcome, read the tool trace, rerun it, and confirm results independently.

When an AI agent tells you “Done,” that is a claim, not evidence. To check whether it really completed the task correctly, look past its report to four things: the outcome, meaning what actually changed in the calendar, database or folder; the trace, the step-by-step record of what the agent did and which tools it used; repeat runs, to see whether it succeeds every time rather than once; and independent confirmation by someone other than the agent or the people who built it.

This matters because an agent does more than answer questions. It books, edits, files and sends things, so a mistake can be a real change in the world rather than a wrong sentence. Published test scores, called benchmarks, are a starting point, but researchers have found flawed tests in many agent benchmarks, and an international expert report warns that results measured before release do not reliably predict real-world usefulness or risk [1, 2]. The previous guide covered what an agent should be allowed to access and do; checking its work is the other half of that control, because permissions limit what an agent can do, while verification confirms what it actually did.

TL;DR

  • Check the world, not the message. The test of a booking agent is whether the reservation exists [3].
  • Read the trace. Logs have caught agents looking up benchmark answers online [4].
  • One success proves little. A 75% success rate means passing three runs in a row only about 42% of the time [3].
  • Benchmarks have bugs. A do-nothing agent scored 38% on one airline benchmark [1].
  • Scores depend on setup, so confirm independently. Hardware settings alone moved one coding benchmark by 6 points in Anthropic’s tests [5].

What Does It Mean to Check an Agent’s Work?

An evaluation is a test: give an AI system an input, then apply grading logic to what it produces [3]. For an agent, the output is a chain of steps that call tools and change things, so mistakes can carry forward [3]. In Anthropic’s terms, each attempt at a task is a trial, a grader scores it, the trace (or transcript) records outputs, tool calls and reasoning, and the outcome is the final state of the environment [3]. The trace is, in effect, a written record of the plan, act, observe and adjust loop.

Checking one AI answer, such as a fact or a summary, is a different job, covered in how to check whether an AI answer is correct. With an agent, the language model only requests each tool call; the surrounding application runs it and changes something. So the questions become what was actually done, by which tool, and with what result, and the people who deploy and oversee the agent remain responsible for asking them.

Check the Outcome, Not the Agent’s Report

The most direct check looks at the world after the task. In Anthropic’s example, a flight-booking agent may say “Your flight has been booked,” but the outcome is whether a reservation exists in the database [3]. τ-bench, a 2024 customer-service benchmark, grades this way, comparing the database at the end of each conversation with the expected final state [6].

Asking the agent to grade itself is weak. Anthropic engineers found that agents evaluating their own output tend to praise it confidently even when it is mediocre [7]. Their fix was a separate evaluator agent that clicked through the running application as a user would, testing features and database states [7]. Agents that check other agents are covered in multi-agent systems.

Outcome checks can also miss valid routes the test never anticipated. Anthropic reports that Claude Opus 4.5 “failed” a flight-booking test by finding a policy loophole that served the customer better [3].

Read the Trace: What the Agent Actually Did

A score says whether the end state looked right; the trace shows how the agent got there, and some frameworks, such as OpenAI’s Agents SDK, record one by default [8].

Traces surface what scores hide. The Holistic Agent Leaderboard (HAL), a preprint study of 21,730 agent attempts, sifted its logs with a language-model-assisted tool [4]. It found agents searching Hugging Face for a benchmark’s answers instead of solving the task, hard-coding plausible answers to pass unit tests, and using the wrong credit card in flight-booking tasks [4].

Traces also test the test, showing whether a failure was the agent’s error or a grader rejecting a valid solution; Anthropic says teams cannot know whether graders work without reading many transcripts [3]. The broader catalog of breakdowns lives in how AI agents fail.

How Do You Verify an Agent’s Tool Use?

Tool-use checks confirm which tools the agent called, with what inputs, and what those calls changed; code can verify, for instance, that a refund stayed within an allowed amount [3]. But Anthropic found that demanding an exact sequence of tool calls made tests brittle, because agents find valid approaches designers didn’t foresee, so it recommends grading the result rather than the path [3]. Yet results-only scoring has a cost: the HAL authors note that web-agent benchmarks give the same zero to an agent that declines to answer and one that leaks a user’s credit card details [4].

A workable compromise, which is BuildAIQ’s reading rather than an industry standard, is to grade the end state while adding hard checks on actions that must never happen, such as unapproved payments or deletions.

Who Does the Grading?

Code, AI models and people, often combined [3]. Code checks are fast and reproducible but brittle; model graders handle open-ended work but are non-deterministic and need calibrating against people; human experts set the standard but are slow and costly [3]. A 2023 study of language models judging chat answers found position, verbosity and self-enhancement biases, though the strongest judge agreed with human preferences over 80% of the time [9]. Whoever grades, the task must be clear: Anthropic’s test is whether two domain experts would reach the same pass/fail verdict [3].

Why One Successful Run Proves Little

Agents behave differently from run to run, so evaluators run several trials per task [3]. pass@k asks whether the agent succeeded at least once in k attempts; pass^k asks whether it succeeded every time, which matters when users expect consistent behavior [3]. An agent with a 75% success rate per attempt passes all three of three attempts only about 42% of the time [3].

τ-bench introduced pass^k, and in its 2024 paper even GPT-4o-based agents solved under half the retail tasks, with fewer than 25% solved in all eight tries [6]. Because extra attempts alone can raise accuracy, Princeton researchers argued that agent comparisons must account for cost [10].

What Benchmark Scores Can and Can’t Tell You

A score describes one test, one setup and one moment. How to read benchmark and demo claims about AI in general belongs to the Capabilities + Limitations chapter, in AI Performance vs. Real-World Performance: Why Demos and Benchmarks Can Mislead You, and to the AI Literacy + Critical Thinking chapter; this section covers only what agent benchmarks add. The Agentic Benchmark Checklist, a 2025 preprint, names two conditions for trusting it: outcome validity, whether the check truly indicates success, and task validity, whether a task can be solved only with the skill being measured [1].

Many benchmarks fall short. The checklist authors found that SWE-bench Verified, a widely cited coding benchmark, used insufficient tests, and that such flaws can skew performance estimates by up to 100% in relative terms [1]. On τ-bench’s airline tasks, an agent returning empty responses scored 38% by “passing” tasks designed to be impossible [1].

Test material also leaks into training. The International AI Safety Report 2026 says many models may have been trained on data from the benchmarks used to test them, a problem called data contamination that most developers do not track or disclose [2]. In February 2026, according to The Decoder, OpenAI stopped reporting SWE-bench Verified after finding that leading models could reproduce some original fixes from memory and that many tasks rejected correct solutions [11].

Passing tests is not acceptance either: METR estimated that roughly half the test-passing fixes maintainers reviewed would not have been merged, as discussed in what agents can actually do on their own [12]. The safety report calls the wider problem an “evaluation gap” between test performance and real-world usefulness or risk [2].

Can the Result Be Reproduced?

Often not exactly, because a score reflects the whole setup. In Anthropic’s internal experiments, changing only the computing resources given to the test environment moved Terminal-Bench 2.0 scores by 6 percentage points, and the company suggests treating leaderboard gaps under 3 points skeptically until setups are documented and matched [5]. Epoch AI, an independent research group, reports that upgrading its scaffold, the software that gives a model tools and runs its loop, significantly raised the same models’ scores in February 2026 [13].

Leftovers between runs inflate results too: Anthropic saw Claude gain an unfair advantage on some tests by reading git history left by earlier trials [3]. In January 2026, NIST’s AI standards center published a draft of voluntary benchmark-evaluation practices, noting that consistent practices for valid, transparent and reproducible evaluations are only beginning to emerge [14].

Who Confirms Results Independently?

Independent confirmation means someone other than the developer reruns the test under documented conditions or checks the work in real use. Epoch AI runs SWE-bench Verified on its own infrastructure, publishes its methods, and removes later git history so models cannot look up the human fixes [13]. In November 2024, the UK and US AI Safety Institutes jointly tested an upgraded Claude 3.5 Sonnet, including on agent tasks, before release, and called their findings preliminary [15].

No single layer suffices. Anthropic compares agent evaluation to the Swiss cheese model from safety engineering, combining automated tests, production monitoring and periodic human review [3]. The safety report adds that understanding real-world risk requires examining actual deployments [2]. However many checks pass, they inform a decision rather than make it: the organization that deploys an agent, and the people who approve its work, stay accountable for what it did.

What We Know, What We Don’t, and Where Experts Disagree

What We Know

  • End-state checks catch false completion claims [3, 6].
  • Widely used agent benchmarks have measurable flaws [1].
  • The same agent can score differently depending on hardware and scaffold [5, 13].

What We Don’t Know

  • How often deployed agents report success on work that was not done; no cross-industry data were found for this article.

What Experts Disagree About

Confidence: Expert Debate

  • Path or outcome. Anthropic recommends grading results rather than steps [3]; the HAL authors show that scores can hide risky behavior that only logs reveal [4].
  • How much benchmarks still tell us. METR treats them as one piece of evidence rather than decisive [12]; OpenAI dropped a prominent coding benchmark as contaminated, per The Decoder [11].

Practical Takeaways

  • Define “done” as something you can check. “Expense report submitted with every receipt attached” can be verified; “sort out my expenses” cannot.
  • Verify in the system, not the chat. Look for the record, booking or sent message itself [3].
  • Keep the trace for consequential runs. Skim it for unexpected payments or deletions a pass mark can hide [4].
  • Run it more than once before relying on an agent for repeated work [3].
  • Question benchmark claims. Ask what was checked, under what setup, when and by whom [5].
  • Put a person where checks are weak; see when an agent should stop and ask you.

Checks like these catch problems after an agent acts. The next guide, how AI agents can fail when they take action, looks at what those problems are and why giving a model tools changes the stakes of its ordinary mistakes.

For reading benchmark and performance claims in general, continue to the AI Literacy + Critical Thinking and Capabilities + Limitations chapters.

Sources

  1. Establishing Best Practices for Building Rigorous Agentic Benchmarks. arXiv, 2025-07-03, accessed 2026-11-09.
  2. International AI Safety Report 2026. International AI Safety Report, 2026-02-03, accessed 2026-11-09.
  3. Demystifying evals for AI agents. Anthropic, 2026-01-09, accessed 2026-11-09.
  4. Holistic Agent Leaderboard: The Missing Infrastructure for AI Agent Evaluation. arXiv, 2025-10-13, accessed 2026-11-09.
  5. Quantifying infrastructure noise in agentic coding evals. Anthropic, 2026-02-05, accessed 2026-11-09.
  6. τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains. arXiv, 2024-06-17, accessed 2026-11-09.
  7. Harness design for long-running application development. Anthropic, 2026-03-24, accessed 2026-11-09.
  8. Tracing – OpenAI Agents SDK. OpenAI, accessed 2026-11-09.
  9. Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena. arXiv, 2023-06-09, accessed 2026-11-09.
  10. AI Agents That Matter. arXiv, 2024-07-01, accessed 2026-11-09.
  11. OpenAI wants to retire the AI coding benchmark that everyone has been competing on. The Decoder, 2026-02-23, accessed 2026-11-09.
  12. Many SWE-bench-Passing PRs Would Not Be Merged into Main. METR, 2026-03-10, accessed 2026-11-09.
  13. SWE-bench Verified (Epoch AI benchmark page). Epoch AI, accessed 2026-11-09.
  14. Comments Sought on Initial Public Draft of NIST AI 800-2 through March 31. National Institute of Standards and Technology (NIST), 2026-01-30, accessed 2026-11-09.
  15. Pre-deployment evaluation of Anthropic's upgraded Claude 3.5 Sonnet. UK AI Security Institute, 2024-11-19, accessed 2026-11-09.