Skip to content

Stateful agent evaluation: τ-bench, τ²-bench, OSWorld and reliability (pass^k)

Skip →Agent World Model (AWM)
Evals stage 2 #1Agents stage 2 #10corefrontierpaperrubric 11/122024 · ~55 min

Shunyu Yao, Noah Shinn, Pedram Razavi, Karthik Narasimhan

Read first: Demystifying evals for AI agents · GAIA: a benchmark for General AI Assistants · How LLMs are evaluated: harnesses, prompts, metrics and error bars

Status

TL;DR. Benchmarks like GAIA grade a final string. Agents that act (book a flight, edit a spreadsheet, fix a phone setting) fail in ways a string cannot show: a wrong write to a database, a skipped policy rule, a request half done, or a user who was never asked the one question that mattered. Stateful benchmarks build an environment: hidden state (a database, a virtual machine, a phone), tools that read and write it, a policy document, and often an LLM-simulated user. They use executable checks of state, actions and required messages rather than relying only on a final answer string. The particular success predicate matters: final-state equality, property assertions and constrained action matching accept different kinds of alternative solution. τ-bench (Yao et al., 2024, arXiv 2406.12045) adds pass^k: the chance that all k trials of a task succeed. Its best agent solved about 61% of retail tasks once, but fewer than 25% on all of 8 tries.

Reading guide. First read: focus on τ-bench’s reward, the pass^k example and τ²’s three diagnostic modes. On a second pass, compare the computer-use observation spaces and Gaia2’s timing-aware verifier. The Dec-POMDP label below means a decentralized partially observable Markov decision process: agent and user take turns acting on shared state, but each sees and controls only part of it.

Why answer-only grading misses agent failures

Section titled “Why answer-only grading misses agent failures”

A question-answering grader sees one output. A customer-service or computer-use agent produces a trajectory: tool calls that change state, interleaved with messages. Three things can go wrong that an answer string would not show:

  1. The world ends in the wrong state. For example, the agent exchanges one item when the policy says all items must go in a single exchange call.
  2. A rule is broken on the way. For example, the agent cancels a basic-economy ticket that the policy says cannot be cancelled.
  3. Information is in the user’s head. The agent has to ask for it, and the answer depends on how it asks.

τ-bench’s own failure analysis of 36 gpt-4o failures in retail is a good map of these. Wrong arguments or wrong information account for about 55%: reasoning over the database. Wrong decisions, meaning a policy was misunderstood, account for 25%. Partial resolution of compound requests accounts for 19%. None of these is a “wrong final answer” in the GAIA sense.

For each benchmark below, separate four design choices: what state exists; what the agent observes and can change; which randomness is resampled on a reset; and the success predicate. A final-state hash checks equality, an assertion checks selected properties, and a trajectory checker can additionally constrain action order or timing.

The environment: state + tools + policy + simulated user

Section titled “The environment: state + tools + policy + simulated user”

In plain words, a τ-bench task is a hidden database that the agent can touch only through API tools. There is also a policy it must obey, and a simulated customer who knows what they want but not how the system works.

  • State. JSON databases. Retail has 500 users, 50 products and 1,000 orders. Airline has 500 users, 300 flights and 2,000 reservations.
  • Tools. Python functions, each either a write (changes the database) or a read. Retail has 7 write and 8 non-write tools; airline has 6 and 7. Each tool call is a deterministic transition. Some rules are enforced inside the API (an unknown payment ID returns an error). Others are left to the agent, such as how many bags are free for a given membership tier.
  • Policy. A Markdown document in the agent’s system prompt, for example “Basic economy cannot be modified.”
  • Simulated user. gpt-4-0613, prompted with a hidden instruction: identity, intent, preferences and a personality (“You are in debt and sad today, but very brief.”). The user sees only the chat, never the tool calls, and ends the episode by emitting ###STOP###.
  • Run settings. Agent at temperature 0.0, user at 1.0, at most 30 agent actions, and at least 3 trials per task. There are 115 retail tasks and 50 airline tasks.

The reward is a product of two binary checks:

r=raction×routput∈{0,1}.r = r_{\text{action}} \times r_{\text{output}} \in \{0,1\}.

  • raction=1r_{\text{action}} = 1 if the final database equals the goal database.
  • routput=1r_{\text{output}} = 1 if every required fact (for example a price) appears as a substring in the agent’s messages to the user.

In the released code (calculate_reward in tau_bench/envs/base.py), the goal database is not stored. The harness hashes the agent’s final database, reloads the initial data, replays the annotated gold write actions, hashes again and compares the two hashes.

Worked toy example (from the paper’s Figure 2). The user wants to return a water bottle and exchange two other items for their cheapest versions. If only one can be done, they prefer whichever saves more and want to hear both amounts. The gold annotation is a single write, return_delivered_order_items(order_id="#W2890441", item_ids=["2366567022"], payment_method_id="credit_card_1061405"), and the outputs "54.04" and "41.64".

  • Agent A looks up the order five times, chats for 12 turns, issues exactly that return and states both amounts: hashes match and both strings are present, so r = 1.
  • Agent B successfully requests the exchange instead of the gold return: the final database differs from the goal, so r = 0. By contrast, if it makes the correct return and then attempts an exchange on that same order, the exchange API rejects the non-delivered order (the return set its status to “return requested”) without changing state; with both required output strings present, the reward can remain 1. An attempted action is not the same as a state transition.
  • Agent C issues the right return but never says “41.64”: r = 0.

The conversation can vary freely. Only the net effect of writes and the required facts count.

What the author must guarantee. The instruction must allow only one valid end state under the policy. That is why task construction (Stage III) is a loop. The authors write an instruction, run a gpt-4-turbo agent, read the trajectory, and tighten wording until there is no ambiguity, running each retail task more than 40 times to find tasks with zero or low success. The paper is explicit that r = 1 is “necessary but not sufficient”: an agent that issues the return without explicit user confirmation, which the policy forbids, still gets r = 1.

The simulator gives each run a different but semantically equivalent conversation. That variation is what pass^k measures robustness to. It is also a source of noise. τ-bench lists the failure modes:

  • typos or ambiguity in the instruction;
  • users who do not know the domain rules;
  • a simulator that is weak at arithmetic or long context, or drifts from its instruction.

τ²-bench later audited this by hand. Two annotators read each conversation from gpt-4.1 acting as both agent and user.

DomainConversationsCritical errorsBenign errorsTotal
airline10013%34%47%
retail5012%28%40%
telecom (user has tools)506%10%16%

Barres et al., 2025, Table 2. “Critical” means the error makes the task impossible for any agent.

IR connection. This is the Cranfield problem in conversational form. A TREC topic has a hidden narrative that the assessor knows and the system does not. τ-bench’s user instruction is exactly that narrative, except that the “assessor” now has to talk, revealing constraints only when asked. Everything IR learned about simulated users for interactive and conversational search applies:

  • Fidelity. Does the simulator answer clarifying questions the way people do?
  • Leakage. Does it volunteer the hidden need too early?
  • Variance. A different simulator sample is a different query variant, and pass^k is the probability that all k sampled variants succeed; it is not worst-case success over every possible variant.

In τ-bench, only the agent can change the world, and the user just talks. In technical support, the user must act: toggle airplane mode, restart the phone. τ²-bench (Barres et al., 2025, arXiv 2506.07982) models this as a Dec-POMDP: two players, each with its own tools and its own partial view of a shared world.

  • The telecom domain. The agent sees a CRM: 5 plans, 9 lines, 4 customers, and 6 write and 7 read tools. The user operates a mocked phone with 15 write and 15 read tools: status bar, data toggle, airplane mode and so on. A fix often needs both sides. The agent enables roaming on the account, then the user turns data on.

  • Constraining the simulator. User tools return human-readable outputs (“Mobile Data is now ON”). The user only acts when the agent asks. This keeps a complexity asymmetry: the user executes and the agent diagnoses. The telecom audit found a 16% simulator-error rate, and the authors attribute its improvement to the more constrained domain design. Because the tasks and domain also changed, this is not a within-domain randomized estimate of the effect of adding user tools.

  • Compositional tasks. Each atomic subtask has three parts:

    • initialisation functions, which break something (set_airplane_mode(True));
    • solution functions, which fix it;
    • assertion functions, which check the final state (assert_service_status("connected")).

    15 subtask groups over 3 intents (service, mobile data, MMS) combine into 2,285 tasks, of which 114 are sampled. A task counts as correct by construction: applying the solution must satisfy all assertions, and the task must stay unsolved until every solution step is applied.

  • Grading options. A task can use database checks, state assertions, natural-language assertions, communication checks and action matching. Telecom uses assertions only.

What dual control isolates: three modes.

  • Default. Agent and user share control.
  • No-user. The agent gets a ticket describing the problem and holds all the tools. This measures reasoning and tool use alone.
  • Oracle plan. The agent is given the exact tool-call sequence for both sides. This measures communication and execution with the reasoning removed.

These are diagnostic interventions. No-user removes conversational coordination but also supplies a ticket and direct access to both tool sets. Oracle-plan supplies privileged action information while retaining the user. The differences reveal sensitivity to these changes; they are not additive, independently identified percentages of “reasoning failures” and “communication failures”.

Reliability: pass^k, and why it falls fast

Section titled “Reliability: pass^k, and why it falls fast”

For a task with per-trial success probability pp, pass@k asks whether at least one of k trials succeeds, and pass^k asks whether all k do.

Execution contract. Choose n≥kn \ge k, reset the initial world before each run, keep the agent and simulator versions fixed, and use independent trial randomness. For n=kn = k, a task’s estimated contribution is either 1 (all runs succeed) or 0. Report task-level uncertainty as well as the curve; the many runs of one task are not many new tasks.

The unbiased estimates from nn trials with cc successes are averaged over tasks:

passk=Etask ⁣[(ck)/(nk)],pass@k=1−Etask ⁣[(n−ck)/(nk)].\text{pass}^k = \mathbb{E}_{\text{task}}\!\left[\binom{c}{k}\Big/\binom{n}{k}\right],\qquad \text{pass@}k = 1-\mathbb{E}_{\text{task}}\!\left[\binom{n-c}{k}\Big/\binom{n}{k}\right].

The derivation and a worked estimator example are on the agent-evals essay page. Here we look at what the numbers do.

Worked example (independent trials). Take p=0.6p = 0.6 on every task, with trials independent. Then pass^k =pk= p^k:

kpass^k = 0.6^kpass@k = 1 − 0.4^k
10.6000.600
40.1300.974
80.0170.9993

Reliability collapses geometrically. An agent that is “60% accurate” almost never gets 8 out of 8.

Why real curves fall more slowly. τ-bench’s gpt-4o has pass^1 ≈ 0.61 on retail, but its pass^8 is just under 0.25, not 0.017. τ-bench defines pass^k with k i.i.d. trials conditional on each task, and that model already explains the gap:

  1. Tasks differ. pass^k averages ptkp_t^k over tasks tt. By Jensen’s inequality, E[ptk]≥(E[pt])k\mathbb{E}[p_t^k] \ge (\mathbb{E}[p_t])^k. Suppose 20% of tasks are always solved (pt=1p_t = 1) and the rest have pt=0.5p_t = 0.5. The mean is still 0.2+0.8×0.5=0.60.2 + 0.8 \times 0.5 = 0.6, but pass^4 =0.2+0.8×0.54=0.25= 0.2 + 0.8 \times 0.5^4 = 0.25 and pass^8 =0.2+0.8×0.58≈0.20= 0.2 + 0.8 \times 0.5^8 \approx 0.20. The curve flattens toward the share of tasks with pt=1p_t = 1.
  2. Shared inputs are not dependence. Trials of one task share the user instruction and the initial database, but those are fixed conditions of the task, not evidence that trials depend on each other. Only the sampling of user and agent messages varies. τ²-bench ran both agent and user at temperature 0 “to promote deterministic outputs” and still saw pass^k fall: temperature 0 does not make trials identical. Shared outages, retained state or other cross-run effects (a rate-limited API that sinks every trial of a task at once) could violate independence, but that needs separate evidence.

The wrong shortcut is to raise the mean success across tasks to the kth power. Under independent trials conditional on task, predict pass^k by averaging ptkp_t^k across tasks; estimate it with repeated reset runs and report uncertainty. Read the shape of the curve: a steep early drop means most tasks are coin-flips. A flat empirical tail suggests heterogeneous task difficulty, but a finite number of runs cannot identify which tasks have success probability exactly 0 or 1. Under the i.i.d. model, the population pass^k limit as k grows is the mass of tasks with pt=1p_t = 1; always-failed tasks contribute zero for every k.

Computer-use environments: OSWorld and WebArena

Section titled “Computer-use environments: OSWorld and WebArena”

These replace the API database with a whole machine or website, and the user with a single instruction.

WebArena (Zhou et al., 2023, arXiv 2307.13854):

  • Environment. Self-hosted, fully functional websites in four domains (e-commerce, a social forum, collaborative software development, content management), plus tools like a map, shipped as Docker containers so runs can be reproduced.
  • Tasks. 812 tasks from 241 templates.
  • Observation and actions. An accessibility tree with element IDs; the agent issues click [1582].
  • Two graders.
    • rinfor_{\text{info}} for answers: exact_match, must_include, or fuzzy_match judged by gpt-4-0613.
    • rprogr_{\text{prog}} for state: a locator (a database query, an API call or a JavaScript selector) fetches the relevant content, then required keywords are checked. “Post in r/nyc” is checked by must_include(URL, "/f/nyc") and the post body.
  • Unachievable tasks. The expected answer is “N/A”.

OSWorld (Xie et al., 2024, arXiv 2404.07972):

  • Environment. Real operating systems in virtual machines, reset from snapshots.
  • Tasks. 369 Ubuntu tasks: 268 single-app and 101 multi-app workflows. Thirty of these 369 are infeasible. A 43-task subset was also adapted to Windows for analysis.
  • Each task is a natural-language instruction plus three parts:
    • a setup config (download files, open apps, resize windows), which yields 302 distinct initial states;
    • a post-config (save, activate a window);
    • a checker: getter functions pull artefacts (an .xlsx file, Chrome cookies, the accessibility tree), and one of 134 evaluator functions compares them. Examples are compare_table with sheet rules and is_cookie_deleted for “.amazon.com”.
  • Rewards. The reward can be partial (a decimal under 1). Infeasible tasks reward the agent for emitting FAIL.

Action and observation spaces are the main design axis for computer use:

ChoiceWhat the agent sees or emitsTrade-off
Raw screenshot (1920×1080)Pixels; predicts pyautogui code such as click(300, 540)Most general and human-like, but needs precise coordinate grounding
Accessibility treeFiltered XML-to-table of elements with positionsText-only LLMs can act, but the raw tree can run to millions of tokens and is missing for some apps
Screenshot + a11y treeBothUsually helps, but not for every model
Set-of-MarkScreenshot with numbered boxes; agent picks an indexEases grounding, but noisy on dense GUIs such as spreadsheet cells
Special actionsWAIT, FAIL, DONELets the agent handle timing, declare a task infeasible, or stop

Human baselines. In OSWorld, computer-science students unfamiliar with the software solved 72.36%, with a median time of 111.94 s per task. On 100 sampled WebArena tasks under the same setup, the same kind of annotators reached 88% with a median of 35.38 s. Agents in 2024 were far below either.

Asynchronous, time-driven environments: ARE and Gaia2

Section titled “Asynchronous, time-driven environments: ARE and Gaia2”

τ-bench and SWE-bench pause the world while the agent thinks. ARE (Meta, 2025, arXiv 2509.17158) does not. “Everything is an event”, and the platform is built from five abstractions:

  • apps, which hold state;
  • environments, which are sets of apps with their rules;
  • events, which are logged;
  • notifications, which give the agent selective visibility of events;
  • scenarios, which combine an initial state, scheduled events and a verifier.

Simulated time advances whether or not the agent acts. In the default mode, time is paused during model inference and then advanced by the measured generation time, so slow reasoning costs simulated time.

Gaia2 is built on ARE. It has 800 scenarios on a simulated smartphone (email, chats, calendar and so on; 10 “universes”, 101 tools), split into five core capability splits of 160 each: Execution, Search, Ambiguity, Adaptability and Time. Two augmentations of the 160-scenario Gaia2-mini add 320 more, for 1,120 in total:

  • Noise: tool failure probability 0.1, plus 10 random events per minute.
  • Agent2Agent: apps are replaced by sub-agents.

An example Time task: “if after 3 minutes there is no response, order a default cab”.

The ARE verifier compares only write actions with annotated oracle writes, in four steps:

  1. Check that tool-call counts match.
  2. Sort the oracle writes topologically along their dependency DAG.
  3. Map each oracle write to an agent write using a hard check (exact arguments) or a soft check (an LLM judge for free text such as an email body).
  4. Enforce causality (all parents matched first) and timing (within a tolerance window).

On 450 human-labelled trajectories, it agreed with humans 98% of the time (precision 0.99, recall 0.95). An LLM judge given the whole trajectory reached 72% (precision 0.53). Two limits:

  • It assumes there are no equivalent writes: sending via Messages when the oracle used Chats fails.
  • Early RL runs hacked the soft check by stuffing code strings into write calls. A style check fixed this.

All numbers are paper-reported, for models available at the time. Do not compare across tables: domains, simulators and harnesses differ.

τ-bench (Yao et al., June 2024), pass^1 with function calling.

Modelretailairline
gpt-4o61.235.2
claude-3-opus44.234.7
gpt-4-turbo57.732.4
gpt-3.5-turbo20.010.8
meta-llama-3-70B (ReAct)14.814.4
  • Reliability. gpt-4o’s retail pass^8 is under 25% (Figure 4).
  • Removing the policy from the prompt (Table 3). gpt-4o retail falls from 61.2 to 56.8, but airline falls from 33.2 to 10.8. The airline rules are ad hoc and matter; retail successes mostly come from common sense. The paper reports 35.2 for airline in Table 2 and 33.2 in Table 3.
  • Hallucinated IDs per retail task. gpt-4o makes 0.46 tool calls with IDs that do not exist; gpt-3.5 makes 2.08 with function calling and 6.34 in Act mode.
  • Cost. The gpt-4o agent costs 0.38pertaskandthegpt−4usersimulator0.38 per task and the gpt-4 user simulator 0.23. 95.9% of the agent’s cost is input tokens: the policy and tool schemas are resent every turn.

τ²-bench (Barres et al., June 2025), pass^k for k = 1…4 (Figure 3). 4 trials, temperature 0, gpt-4.1 user.

Agentretailairlinetelecom
gpt-4.10.74 → 0.530.56 → 0.400.34 → 0.19
claude-3.7-sonnet0.79 → 0.600.50 → 0.360.49 → 0.25
o4-mini0.71 → 0.460.59 → 0.380.42 → 0.26

Telecom pass^1 for claude-3.7-sonnet is on par with airline, but it falls faster with k. Under independence, gpt-4.1 telecom would give 0.34⁴ ≈ 0.013 at k = 4. That is the homogeneous-task shortcut. With n = k = 4, the measured 0.19 means about a fifth of tasks succeeded in all four observed runs. It does not establish that their true per-trial success probability is 1.

τ²-bench telecom modes, pass^1 (Figure 4, original policy).

AgentDefaultNo-userOracle plan
gpt-4.10.340.520.73
o4-mini0.420.670.96
  • Cost of coordination. Moving from no-user to dual control costs 18 points for gpt-4.1 and 25 for o4-mini.
  • Long tasks fail in both modes. Default success is near zero for tasks that need more than 7 actions. The no-user gap shrinks from about 0.3–0.4 to under 0.2 as tasks get longer.
  • Cost. About 0.086(agent)plus0.086 (agent) plus 0.059 (user) per task, or about $40 for one trial of every domain.

Computer use, success rate (2023–24 systems).

BenchmarkBest agent (paper)Humans
WebArena (812 tasks)GPT-4, CoT, no unachievable hint: 14.41%78.24%
OSWorld (369 tasks)GPT-4, a11y tree: 12.24%72.36%
OSWorld, screenshot onlyGPT-4V 5.26%, Gemini-ProV 5.80%72.36%

Instruction wording changes behaviour. Adding WebArena’s “stop if unachievable” hint lowered GPT-4 to 11.70%, because it called 54.9% of feasible tasks impossible.

Agents vary by domain; humans do not. OSWorld human scores are about 70–75% in every category, while agents swing from CLI-heavy OS tasks to GUI-heavy Office tasks.

Gaia2 (Meta, 2025; results checked against arXiv v2, December 2025; Table 2), pass@1 averaged over 3 runs. Pass@1 here equals pass^1, the mean success. Overall averages seven equal-sized splits: the five core splits plus Noise and Agent2Agent. It is not the mean of the five core columns.

ModelExecutionSearchAmbiguityAdaptabilityTimeNoiseAgent2AgentOverall
GPT-5 (high)69.279.651.940.40.035.417.942.1
Claude-4-Sonnet57.959.824.238.18.127.727.934.8
Gemini-2.5-Pro39.257.718.117.57.320.420.425.8
Kimi-K234.236.08.324.00.818.818.320.1
  • “Instant” mode. If every action takes a simulated 1 s regardless of real latency, GPT-5 (high) on Time goes from 0% to 34.4%, and Claude 4 Sonnet from about 8% to 26.7% (the text says 8.2%, Table 2 shows 8.1%). The paper calls this inverse scaling for time: smarter models think too long for time-critical tasks.
  • Budget plateau. The paper’s score-versus-budget curves plateau for every model.

Designing a stateful eval for a search or research agent

Section titled “Designing a stateful eval for a search or research agent”

Most search benchmarks are rinfor_{\text{info}} only: they grade the answer. The stateful lens pays off when the agent writes (saves papers, files a ticket, updates a knowledge base) or when the user holds constraints the agent has to elicit. A recipe built from the pieces above:

  1. State and tools. Use a frozen corpus for reproducibility (see live-web reproducibility) plus a workspace database: a reading list, notes or a citation library. Read tools are search, fetch and open; write tools are add, remove and tag. Add a short policy, for example “never add retracted papers” or “confirm before removing items”.
  2. Simulated user. Write a hidden instruction like a TREC narrative: years, venue, must-have method, one preference revealed only if asked. Constrain the simulator with structured fields or tools, as τ² did, rather than relying on prose. Audit 50 conversations for simulator errors before you trust any number.
  3. Grader. Compare the final workspace with a gold state.
    • Exact match. If the instruction pins down a unique set of papers, use an exact match, τ-bench’s hash.
    • Set threshold. Otherwise use set recall and precision against the qrels with a pass threshold. This is an IR metric used as the success predicate.
    • Required facts. Add routputr_{\text{output}}-style checks for facts the user asked to be told.
  4. Reliability. Run k = 4–8 trials per task and report pass^1 and pass^k per task. At τ-bench’s roughly 0.61pertask−trial,0.61 per task-trial, 600 buys about 980 task-trials: roughly 120 tasks × 8 or 245 tasks × 4. Use the paired statistics in statistics and judge calibration when comparing agents.
  5. Diagnostic modes. Borrow τ²’s ablation.
    • No-user: the full specification is given up front, isolating retrieval and reasoning.
    • Oracle queries: the gold queries are given, isolating synthesis and elicitation.
  6. Dynamics (optional). Borrow from Gaia2: inject a new paper into the corpus mid-task, or set a deadline, and check that the agent adapts. Report cost and time alongside success (see trajectory and cost evaluation).
  • The “unique outcome” assumption is fragile. It forces narrow, over-specified instructions. Real users are vaguer, and any second valid end state becomes a false negative. Gaia2’s verifier has the same assumption at the level of write actions.
  • State checks miss process. τ-bench passes a return made without confirmation. WebArena’s keyword checks pass partly wrong content. OSWorld’s checkers had false positives and negatives that took over 400 hours of checking to reduce, and the authors expect some remain.
  • Simulator error is measurement error. It is not uniform across agents. Audit a representative sample of both successful and failed trajectories with two annotators, classifying simulator errors as benign or task-critical, and report these rates alongside the raw score. To estimate performance with a repaired simulator, rerun the same task distribution under the repaired protocol; do not treat every simulator-compromised failure as a counterfactual agent success or simply delete these runs.
  • Curation bias. τ-bench tuned instructions with a gpt-4-turbo agent. Gaia2 calibrated difficulty on internal agents. Both can favour the model families used.
  • Small task counts. τ-bench airline has 50 tasks and τ² telecom 114, so one task is 1–2 points. A later reliability study (HF workshop page) kept only 26 of the 50 airline tasks, dropping the rest for grading errors.
  • Time-based scores mix model and serving. Gaia2 shows that Time results depend on inference latency and API rate limits. Use its generation-time mode, or report instant mode alongside.
  • Headroom and discrimination. Retail and airline pass^1 values of 0.5–0.8 still leave substantial headroom. Report uncertainty, pass^k and error categories; introduce harder domains when existing tasks stop distinguishing the systems or failures of interest, not merely because the mean increased.
  • Demystifying evals for AI agents: the derivation of pass@k vs pass^k and the unbiased counting estimators this page relies on, plus the τ²-bench “policy loophole” example of an outcome check encoding the designer’s assumptions.
  • HF agentic evaluations workshop: reliability beyond pass^k (outcome consistency, robustness to perturbations), measured on τ-bench airline and GAIA, and an introduction to ARE and Gaia2.
  • GAIA: the answer-only predecessor. Gaia2 keeps its “simple for humans, verifiable” principle but moves to stateful, asynchronous scenarios.
  • Mind2Web 2: the other way to grade open-ended agent work, with agent-as-a-judge rubric trees on the live web instead of state checks in a sandbox.
  • AgentDojo: the same stateful-environment design (email, banking, travel), used to measure prompt-injection security alongside utility.
  • Trajectory and cost evaluation: Gaia2’s main budget curve counts successful trajectories whose realized cost lies below each budget. Its plateau characterizes that fixed scaffold’s observed runs; it is not by itself an experiment rerunning tasks with larger compute allocations. The trajectory-and-cost page develops comparisons that explicitly vary the budget.
  • Synthetic RL environments map and retrieval environment: the same state, tools and verifier stack reused as training environments. Here the hacking risk Gaia2 hit becomes central (see reward hacking).
  • SWE-agent: interface design for computer-use agents, the code-side analogue of OSWorld’s choice of action space.
  • Explain why a final-answer grader cannot see wrong writes, policy violations or failed elicitation, and name the environment parts that expose them.
  • Trace τ-bench’s reward step by step (replay the gold writes, hash, compare, check output strings) and say what the task author must guarantee.
  • Compute pass^k under independence, and explain with Jensen’s inequality and task heterogeneity, without assuming within-task dependence, why real curves are flatter.
  • Read τ²’s default, no-user and oracle-plan modes as diagnostic interventions, and say why their gaps are not an additive decomposition of failures.
  • Choose an observation and action space for a computer-use eval, and describe how OSWorld and WebArena checkers work.
  • Explain what asynchronous time adds (Gaia2) and why it penalises slow reasoning.
  • Sketch a stateful, user-simulated eval for a search agent, with a budget for k trials.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    τ-bench reports retail pass^1 about 0.61 and pass^8 just under 0.25 for gpt-4o. Compare two illustrative agents with independent reset trials conditional on each task: A has success probability 0.6 on every task; B always solves 20% of tasks and solves each remaining task with probability 0.5. Compute pass^4 and pass^8 for both, and pass@8 for A. Explain why the paper's flatter reliability curve does not by itself demonstrate dependence between trials, and what four successes in four runs establish.

    What a strong answer covers
    • A has pass^4 = 0.1296, pass^8 = 0.01679616 and pass@8 = 0.99934464.
    • B has mean success 0.6, pass^4 = 0.25 and pass^8 = 0.203125, despite independent trials within every task.
    • Under conditional independence, pass^k = E[p_t^k], not (E[p_t])^k. Jensen's inequality explains why task heterogeneity raises the former.
    • Four observed successes establish a 4/4 empirical record, not p_t = 1. To investigate residual dependence, preserve reset isolation and examine shared outages, retained state and run-order effects separately.
  2. Mechanism

    τ-bench grades an episode by replaying the annotated gold write actions on a fresh copy of the database, hashing both databases and requiring the hashes to match. It also requires certain output strings to appear in the agent's messages. Explain why this lets the conversation vary freely while staying objective, what the task author must guarantee for it to work, and one policy violation it cannot detect.

    What a strong answer covers
    • Reads do not change state, so any sequence of lookups and any wording of messages leads to the same final database. Only the net effect of the writes is compared. An invalid write call rejected before mutation can also leave the final hash unchanged; an attempted action is not necessarily a state change.
    • The author must write the user instruction so that the policy allows only one valid end state (for example, by fixing the payment method). Otherwise a correct agent can score r = 0. Stage III refined instructions iteratively using gpt-4-turbo runs to achieve this.
    • r_output checks that facts the user asked for (54.04 and 41.64 in the paper's example) appear as substrings in the agent's messages. This covers information-only parts of a task.
    • Not detected: process rules such as acting without explicit user confirmation. The paper says r = 1 is necessary but not sufficient.
    • A wrong intermediate write that is later undone also passes. That makes the check robust to recovery, but blind to risky intermediate states.
  3. What if…

    In τ²-bench's telecom domain, gpt-4.1 scores pass^1 0.34 in default dual control, 0.52 in no-user mode (the agent holds all tools and gets a ticket) and 0.73 with an oracle plan (the agent is given the tool-call sequence). o4-mini scores 0.42, 0.67 and 0.96. Compute the two gaps for each model, explain the diagnostic hypotheses they test, and identify what changes besides communication or reasoning in each mode. Why should these gaps not be added as independent causes of failure? Relate your interpretation to the paper's action-count analysis.

    What a strong answer covers
    • No-user minus default is 0.18 for gpt-4.1 and 0.25 for o4-mini. It measures the effect of replacing user-mediated control with a ticket and direct access to both tool sets, not communication alone.
    • Oracle minus default is 0.39 and 0.54. Supplying the plan reduces diagnosis and planning demands but is a privileged-information intervention; it does not identify an additive fraction of failures due solely to reasoning.
    • o4-mini gains more in both comparisons. It uses a given plan well, but loses more when it has to coordinate with the user.
    • Binned by the number of actions, default success falls to near zero above 7 actions, and the no-user gap shrinks from about 0.3–0.4 to under 0.2. Long-horizon reliability fails even without a user.
  4. Critique

    τ²-bench's gpt-4.1 agent/user audit found critical simulator errors in 13% of 100 airline conversations, 12% of 50 retail conversations and 6% of 50 telecom conversations. A separately reported airline pass^1 is 0.56. Explain why these figures cannot simply be subtracted from the failure rate to obtain corrected agent capability. Design a paired audit and rerun experiment, and predict how independently occurring critical errors would affect pass^k.

    What a strong answer covers
    • An error can prevent success without being the only reason the agent would fail; the audit sample also has sampling uncertainty and must represent the evaluated agent and task distribution.
    • If 13% of a representative evaluation is simulator-compromised, assuming those runs failed and holding all other outcomes fixed gives only a counterfactual success-rate range from 0.56 to 0.69, not an identified corrected score.
    • Under a clearly stated independent critical-error model with rate e, the probability of avoiding such errors on all k runs is (1 − e)^k. Real simulator errors can depend on the task and on the agent's questions.
    • Audit both successes and failures with two annotators, repair the simulator or task specification, rerun the same tasks under both protocols, and report paired task-level changes with uncertainty rather than deleting inconvenient failures.
    • Keep the raw benchmark score and simulator audit visible; a repaired protocol is a new, versioned evaluation condition.
  5. Design

    Design a τ-style stateful evaluation for a literature-research agent. The agent searches a frozen corpus of 1M papers, asks the user clarifying questions and saves selected papers into a shared reading list. Your budget is about $600 per evaluation run. Specify the state, tools, simulated user, grader, reliability metric and k. Using τ-bench's cost of about $0.61 per task-trial as a reference, say how many tasks you can afford.

    What a strong answer covers
    • State: the reading-list database (paper IDs, tags, notes) plus the frozen corpus. Read tools (search, fetch) and write tools (add, remove, tag). A policy, for example never adding retracted papers.
    • Simulated user: a hidden instruction with constraints (years, venue, method) that it reveals only when asked, like a TREC topic narrative. Constrain it with structured fields to reduce simulator errors, as τ² did with user tools.
    • Grader: compare the final reading list with a gold set, either as an exact match or with set recall and precision above a threshold, and check that required facts appear in the messages. An exact hash needs an instruction that allows a single valid list.
    • Budget: $600 / $0.61 ≈ 980 task-trials, so about 120 tasks × k = 8 or 245 tasks × k = 4. Report pass^1 and pass^k: compute each reliability contribution within task, then average over tasks; require n ≥ k and independently reset the workspace.
    • Diagnostics: a no-user mode (full specification given) against the default mode, to separate retrieval and reasoning from elicitation. A mid-task event, such as a new paper being added, tests Gaia2-style adaptability.
  6. Connect

    Compare four graders: τ-bench's database hash, OSWorld's per-task evaluation scripts, WebArena's r_info and r_prog, and Gaia2's oracle-action verifier. For each, say what it compares, what it tolerates, and how it fails when a task has two equally valid solutions.

    What a strong answer covers
    • τ-bench compares only the final state. It accepts any path, but needs a unique valid end state, so a second valid end state scores 0.
    • OSWorld extracts artefacts (files, cookies, the a11y tree) with getter functions and runs one of 134 evaluator functions. It accepts different GUI paths, but a checker written for one output format can reject a valid alternative. The authors spent over 400 hours on checks to reduce such false negatives.
    • WebArena grades answers with exact_match, must_include or an LLM fuzzy_match, and grades state with a locator plus required keywords. Keyword checks can pass content that is partly wrong.
    • Gaia2 matches each agent write to an oracle write using hard or soft checks, causality over the oracle DAG and a timing window. It assumes there are no equivalent writes, so sending through Messages instead of Chats fails.
    • Gaia2's LLM soft checks were hacked during RL by write calls that embedded long code strings. A style check fixed this. An exact-state check avoids this particular soft-judge exploit, but its success predicate can still omit important requirements or reject valid alternatives; it cannot reconstruct a harmful intermediate state from the final state alone.

Done with this page?

Status