TL;DR
When AI agents generate multiple solutions to a hard problem, we usually rely on "verifier" models to score and pick the best one—essentially grading on vibes. Agent-as-a-Verifier replaces those opaque scalar scores with auditable, evidence-backed certificates built by a team of role-separated LLM agents that actually poke the environment, run tests, and check claims. Not only does this pick better winners and steer working agents toward right answers, it even catches clever "reward-hacking" bugs that fool official benchmark graders.
What Problem Does This Paper Address?
A popular way to make LLMs smarter at inference time ("test-time scaling") is best-of-$N$ selection: generate $N$ candidate solutions and use a verifier to pick the winner. Standard verifiers read an agent's text transcript and output a single number, like 0.52.
This creates two headaches. First, the scores are mushy and uninformative: on one major benchmark, 77% of candidate scores clustered tightly between 0.45 and 0.55, leaving rankings to ride on tiny, noisy margins without any record of what was checked.
Second, reading a transcript is like grading a lab report without looking at the beaker. An agent's log can sound confident, hide subtle bugs, or omit the final state of a workspace. Without actively inspecting files and running code, a verifier is vulnerable to presentation bias and smooth-talking hallucinations.
Methods
Instead of outputting a gut-feeling score, Agent-as-a-Verifier constructs a structured, auditable certificate. Its core design principle is strict separation of authority: LLM agents propose and execute checks, while a deterministic orchestrator enforces the rules and computes the final verdict. No single LLM can simply declare a solution "correct."
Six stateless, information-isolated LLM roles work in an assembly line:
- Extractor: Reads the agent's run and builds a directed acyclic graph (DAG) of atomic claims, mechanically binding tool-call claims to cryptographic digests of the actual execution log.
- Compiler: Translates claims into checkable obligations. Crucially, to define the final task's acceptance contract, the compiler only sees the original prompt and baseline workspace—never the candidate's answer—preventing an agent from moving its own goalposts.
- Critic: Challenges the obligations in both directions, looking for missing checks (too weak) or unfair requirements (too strict).
- Oracle & Discharger (Executor): The oracle proposes how to test an obligation (e.g., file inspection, symbolic math, running a script), and the discharger executes it inside the captured environment.
- Judger: Blindly audits the execution evidence for fidelity and strength.
Finally, the deterministic orchestrator folds this evidence into a strict verdict ladder (VERIFIED $\succ$ SUPPORTED $\succ$ PARTIAL $\succ$ UNVERIFIED $\succ$ REFUTED). Crashes, missing tools, or uncheckable claims fail closed—uncertainty never becomes a pass. The same engine can also run online, feeding counterexamples back to a working agent via MCP before it finishes.
Datasets
No training datasets are used (the framework is training-free). The authors evaluate on three existing benchmarks—no new benchmarks are introduced:
- Terminal-Bench 2.1: Command-line/container engineering tasks (445 official recorded traces across 89 tasks for offline selection; 87 live tasks for online steering).
- FrontierMath: 12 public competition-grade mathematics problems.
- CyberGym (
arvosubset): 50 cybersecurity vulnerability tasks requiring inputs that crash a vulnerable binary while leaving a patched one intact.
Key Insights and Ideas
- Blindness prevents self-confirmation: Isolating what each LLM role sees stops the verifier from talking itself into agreeing with a persuasive agent. Compiling the goal contract without seeing the agent's trace ensures the test matches the user's prompt, not the agent's excuses.
- Verifiers can catch "reward hacking" that fools the benchmark itself: In one Terminal-Bench task (
largest-eigenval), a candidate wrote fast custom $2\times2$ matrix math to beat a speed test. It passed the official benchmark with a perfect1.0because the benchmark's test suite accidentally reset its random seed to zero and only tested clean, standard-normal matrices. Agent-as-a-Verifier stress-tested 4,083 arrays, found a floating-point catastrophic cancellation on extreme scales (-5.4e23), and saved the exact failing matrix as a replayable refutation. - Inspectable failures: When Agent-as-a-Verifier makes a mistake, you don't just get a bad number—you can read the certificate and see why (e.g., an over-literal reading of a prompt clause or a missing sandbox GPU model).
Key Results
- Offline Best-of-5 Selection (Terminal-Bench 2.1): Using the exact same underlying model (
gpt-5.6-luna), Agent-as-a-Verifier solved 80/89 tasks overall—and 30/36 on the non-trivial mixed pools where candidates actually disagreed—beating the text-scoring LLM-as-a-Verifier baseline (74/89 overall, 24/36 mixed) and a reporteddeepseek-v4-flashlogprob baseline ($\approx$78/89). - Online In-the-Loop Steering: Attaching Agent-as-a-Verifier to a live working agent boosted pass rates across every tested domain:
Limitations and Future Work
Rigorous checking isn't cheap. Running six isolated, tool-using LLM roles is slow and compute-heavy—increasing wall-clock time by roughly an order of magnitude when steering an agent online. Additionally, this is not a mathematically airtight formal proof system: translating English tasks into obligations and auditing evidence still relies on LLMs, meaning weaker models could botch check generation. Finally, the online experiments ran each task once per arm, and the FrontierMath sample was small (12 problems).
Next, the authors suggest cutting latency via parallel check execution and caching obligations across candidates, shrinking the LLM-dependent surface with deterministic formal checkers, and applying evidence-backed verification to automated research and recursive self-improvement.
Summary updated