E2E Testing for Chat, Voice, Phone and Video AI Agents
Run Thousands of Test Scenarios against Your Agent and Catch Hallucinations, Bias, and Toxicity Before Users Do.
Tau-Bench (τ-Bench): What It Measures, How pass^k Works and How to Run It
Tau-bench explained: what τ-bench, τ²-bench and τ³-bench measure, how pass^k works, and how to run tau2-bench against your own agent, step by step.
Tau-bench (τ-bench) is Sierra's open benchmark for customer service AI agents. The language model plays the customer, and the agent makes calls to domain tools under a written policy.
A task only passes if the final state of the database is the goal state and the agent's responses provide the user with the information they need. Reliability is reported as pass^k.
This guide explains what τ-bench measures, the difference between τ²-bench and τ³-bench, how to compute and interpret pass^k, how to run the tau2-bench CLI against a model or your own agent and what a τ-bench score can and can't tell you prior to shipping.
TL;DR
Tau-bench (τ-bench) is Sierra's open benchmark for customer service AI agents: a simulated customer played by a language model talks to an agent that calls domain tools under a written policy, and a task passes only when the final database matches the goal state and the agent's replies include the required information.
Which Tau-Bench Version Should You Run?
- Tau3 bench: Start with τ³-bench, the version the original tau-bench repo now points to. It added task fixes, a banking knowledge-retrieval domain and real-time voice evaluation, with Pass^1 and task-completion leaderboards.
- Tau2 bench: Pick τ²-bench's telecom domain when your agent guides users through actions on their own device. τ²-bench added dual control in June 2025, so the simulated user also acts with tools.
- Tau-bench retail: The original τ-bench paper's τ-retail domain has 115 tasks and τ-airline has 50. Retail is the closest public domain to a commerce support agent that handles returns and order changes.
- Tau-bench GitHub repos: Current code: sierra-research/tau2-bench, which hosts τ²-bench and τ³-bench. Outdated tasks: the original sierra-research/tau-bench repo. Install:
uv sync. Python: 3.12 or 3.13.
How Do You Read a Tau-Bench Score?
- pass^k metric: pass^k is the chance an agent succeeds on all k trials of the same task, averaged across tasks. A task passed 3 times out of 4 scores pass^1 = 0.75 but pass^4 = 0, while pass@2 = 1. See pass@k vs pass^k for the full comparison.
- Release decisions: Enough to ship a support agent on its own: No. A τ-bench score ranks models and agent designs on Sierra's public domains; TestMu AI Agent Testing runs your own agent through scenarios generated from your documents and scores every conversation.
What Does Tau-Bench Measure?
Tau-bench is a measure of whether an agent can complete a task correctly and consistently in a multi-turn conversation. The cited τ-bench paper (Yao et al., 2024) defines three parties:
- A simulated user (played by a language model in the paper, gpt-4-0613) with an objective such as changing a flight or returning an item.
- The agent under test has domain API tools (i.e., can look up an order, can modify a reservation) and a policy document it must adhere to.
- A database behind the tools and two checks. A task passes only if both are satisfied: the final database is the same as the annotated goal database, and the agent's responses to the user contain all the information required. The paper notes that passing is "necessary but not sufficient" as an agent could in principle process a return without the user having explicitly said so (i.e. it would be a violation of policy).

The database check is what makes τ-bench different from answer grading evals. The agent can say all the right things and still end up failing if it refunds the wrong order. The paper's two original domains were τ-retail (115 tasks) and τ-airline (50 tasks).
The headline results were pretty depressing, actually. The paper reports that even GPT-4o got fewer than 50% of the tasks right and its pass^8 score in retail was below 25%.
τ-bench is a benchmark, not one of the AI testing tools you run against your own agent on every release. It tells you how a model or agent design behaves on Sierra's domains; it does not test your tools, your policies or your customers.
What Is the Difference Between Tau-Bench, Tau2-Bench and Tau3-Bench?
The name of the benchmark has changed to track the new versions. The first sierra-research/tau-bench repo is still there, but its README states that the tasks therein are not updated and points you to τ³-bench in sierra-research/tau2-bench, which contains the current versions. As per the τ-bench leaderboard:
| Version | Released | What it added | Leaderboard metric |
|---|---|---|---|
| τ-bench | June 2024 | Retail and airline domains, simulated user, pass^k | - |
| τ²-bench | June 2025 | Telecom domain with dual control: the user can also act with tools | Pass^1 (text: retail, airline, telecom) |
| τ³-bench | Feb-Mar 2026 | Task fixes, a banking knowledge-retrieval domain, real-time voice | Pass^1 (τ³-Banking), task completion (τ³-Voice) |
The τ²-bench paper is all about why dual control is important. In the earlier benchmarks the agent was the one using the tools. In technical support the agent has to be the one helping the user to take action on their own device.
The paper reports a substantial performance drop when agents go from the no-user scenario to dual control and attributes this to the difficulty of the user guidance aspect.
The repo's own release notes (v2.0.0, 19th October 2026 "Multilingual and Voice") include τ-i18n with 6 languages and the τ-Entity intake domain. The current README lists the following domains: mock, airline, retail, telecom, banking_knowledge and intake.
How Does pass^k Work, and How Is It Different From pass@k?
pass^k is the probability that an agent will succeed on all k independent attempts at the same task, averaged across different tasks. The τ-bench paper estimates this from n trials per task and c successes as:
pass^k = E_task [ C(c, k) / C(n, k) ]
where C is the binomial coefficient. Pass@k, the metric commonly used in code benchmarking, is the probability that at least one of k attempts is successful: 1 minus E_task of C(n-c,k)/C(n,k).
A simple example makes the point. Suppose you run a single task four times (n = 4) and the agent succeeds three times (c = 3):
| Metric | Calculation | Value |
|---|---|---|
| pass^1 | C(3,1) / C(4,1) = 3 / 4 | 0.75 |
| pass^2 | C(3,2) / C(4,2) = 3 / 6 | 0.50 |
| pass^4 | C(3,4) / C(4,4) = 0 / 1 | 0.00 |
| pass@2 | 1 - C(1,2) / C(4,2) = 1 - 0 | 1.00 |
pass@2 says the task is "solved"; pass^4 says the agent isn't trustworthy to do it four times in a row. For a support agent who's talking to thousands of customers, pass^k is the metric that predicts the number of complaints.
This little script takes per-task trial counts as input and computes pass^k and pass@k from them. It will fail (exit code 1) if pass^k falls below the threshold that you specify. The trial counts are just plain input data so you can easily paste in the results from τ-bench or from your own runs.
#!/usr/bin/env python3
"""Compute pass^k and pass@k from per-task trial counts and gate on pass^k."""
import argparse
import csv
import sys
from math import comb
def pass_hat_k(n: int, c: int, k: int) -> float:
return comb(c, k) / comb(n, k)
def pass_at_k(n: int, c: int, k: int) -> float:
return 1 - comb(n - c, k) / comb(n, k)
def main() -> int:
ap = argparse.ArgumentParser()
ap.add_argument("csv_file", help="CSV with columns: task_id,trials,successes")
ap.add_argument("--k", type=int, required=True)
ap.add_argument("--min-pass-hat-k", type=float, required=True)
args = ap.parse_args()
rows = []
with open(args.csv_file, newline="") as f:
for row in csv.DictReader(f):
n, c = int(row["trials"]), int(row["successes"])
if not (0 <= c <= n) or n < args.k:
sys.exit(f"Task {row['task_id']}: need 0 <= successes <= trials and trials >= k")
rows.append((n, c))
if not rows:
sys.exit("No tasks found in the CSV")
hat = sum(pass_hat_k(n, c, args.k) for n, c in rows) / len(rows)
at = sum(pass_at_k(n, c, args.k) for n, c in rows) / len(rows)
print(f"tasks={len(rows)} pass^{args.k}={hat:.3f} pass@{args.k}={at:.3f}")
if hat < args.min_pass_hat_k:
print(f"FAIL: pass^{args.k} {hat:.3f} is below {args.min_pass_hat_k}")
return 1
print("PASS")
return 0
if __name__ == "__main__":
sys.exit(main())Run python3 pass_k.py trials.csv --k 4 --min-pass-hat-k 0.6. A file with one row refund-1,4,3 prints pass^4 = 0.000 and exits with code 1; change it to refund-1,4,4 and it passes.

Note: Testing your own support agent rather than a benchmark domain? TestMu AI Agent Testing takes your own documents and creates multi-turn scenarios and personas from them. It then scores every single conversation. See how Agent Testing works.
How Do You Run Tau2-Bench?
The tau2-bench README uses uv and requires Python 3.12 or 3.13 (>=3.12, <3.14). Those commands are from the README and the CLI reference in the repo.
# 1. Install
git clone https://github.com/sierra-research/tau2-bench
cd tau2-bench
uv sync
# 2. Add model keys (LiteLLM is used, so any supported provider works)
cp .env.example .env
# then set OPENAI_API_KEY (or your provider's key) inside .env
# 3. Smoke test: 5 airline tasks, 1 trial
tau2 run --domain airline --agent-llm gpt-4.1 --user-llm gpt-4.1 \
--num-trials 1 --num-tasks 5
# 4. Browse the saved simulations (results are written under data/simulations/)
tau2 view
# 5. Reliability run: 4 trials per task, enough to compute pass^4
tau2 run --domain retail --agent-llm gpt-4.1 --user-llm gpt-4.1 \
--num-trials 4 --num-tasks 5 --save-to retail-k4Useful flags from the CLI reference:
| Flag | What it does | Default |
|---|---|---|
--domain / -d | Domain to run (airline, retail, telecom, banking_knowledge, intake, ...) | - |
--agent | Registered agent to evaluate | llm_agent |
--agent-llm, --user-llm | Models for the agent and the simulated user | gpt-4.1-2025-04-14 (the CLI help notes τ-Entity uses gpt-5.5 as the user model) |
--num-trials | Trials per task (set k or more to compute pass^k) | 1 |
--num-tasks, --task-ids | How many tasks, or which ones | - |
--max-concurrency | Parallel simulations | 3 |
--save-to | Run name; results go to data/simulations/<name>/results.json | - |
For a reliability run, just crank --num-trials up to at least the k that you're interested in. The CLI also has tau2 run-pass3 which runs Pass^3 over 3 trials and tau2 leaderboard --metric with pass_1 to pass_4 as options.
Each additional trial will of course result in a multiplication of the number of model calls both for the agent and the simulated user, so start with --num-trials on a small subset.
How Do You Run Tau-Bench Against Your Own Agent?
You can evaluate your own agent logic but only within the domains, tools and policies of τ-bench. The Agent Developer Guide in the repository (src/tau2/agent/README.md) outlines the four steps:
- Pick the right base class. If you're making a text-based agent (turn-based), then subclass
HalfDuplexAgent. If you're making a voice agent, then subclassFullDuplexAgent. Both of these take the domain tools anddomain_policyas parameters in their constructor. - Define a state class. Use a Pydantic
BaseModel(the guide's example state containssystem_messagesandmessages). A full duplex agent can extendStreamingStatefromtau2.agent.base.streaming. - Implement the agent. Implement
get_init_state(message_history)andgenerate_next_message(message, state)(half duplex) orget_next_chunk(...)(full duplex). Mix inLLMConfigMixinfromtau2.agent.base.llm_configif your agent is going to call an LLM. - Provide a factory function and register the agent. The guide's example factory is
create_agent(tools, domain_policy, **kwargs); the framework passesllm,llm_argsandtaskthrough kwargs. Register it insrc/tau2/registry.pywithregistry.register_agent_factory(...), passing the factory and a name such as "my_agent".
Then run it with tau2 run --domain <domain> --agent my_agent --agent-llm <llm> --user-llm <llm>.
Before you write any code, run tau2 domain airline (or another domain). It starts the domain's environment server and opens API docs where you can read the tools and policy constraints and try the calls. Runnable examples live in the repository's examples/agents/ folder; the reference text agent is LLMAgent in llm_agent.py.
This is the main limit of τ-bench for product teams: your agent is graded on how it handles an airline's or a retailer's policy, with that domain's tools. Your refund rules, your CRM and your edge cases are not in the benchmark unless you build a new domain.
Is a Tau-Bench Score Enough to Ship a Customer Service Agent?
No. A τ-bench score tells you nothing about your prompts, your tools, your data or your policies. It's just a score that tells you how well a model or agent design performs on a set of public tasks.
You use it to pick a model and to compare agent designs. You then go and test your own agent on your own scenarios before you release it.
| Question | Does τ-bench answer it? | What answers it for your agent |
|---|---|---|
| Can this model follow a written policy while using tools? | Yes, on Sierra's domains | Your own policy-based scenarios |
| Does it succeed every time, not just once? | Yes, with pass^k over several trials | Repeated runs of your own suite |
| Does it follow our refund, identity and escalation rules? | No | Validation criteria per scenario |
| Does it state facts that match our systems? | Only the benchmark database | Checks against your own APIs |
| Does it stay correct for angry, confused or multilingual users? | Partly (τ-i18n, voice) | Personas built from your real customers |
| Does it still pass after next week's prompt change? | No | Scheduled runs on every release |
The Four-Gate Agent Release Check
We use four gates for a customer-facing agent. τ-bench covers the first one.
- Capability gate (benchmark). Shortlist models by τ²-bench or τ³-bench Pass^1 on the domain most relevant to you (retail for commerce, telecom for tech support, banking knowledge for retrieval-intensive support).
- Reliability gate (pass^k). Run your candidate agent several times per task and gate on pass^k, not pass^1. The script above enforces a threshold.
- Your-policy gate. Take your own agent and test it on scenarios derived from your policies. For each scenario you have written pass/fail criteria and fact checks against your own systems.
- Regression gate. Re-run the same suite on every prompt, model or tool change and then look at the actual transcripts post-launch.
Gates 3 and 4 are where TestMu AI Agent Testing comes in. It doesn't replace benchmarks or evals at all. It tests the agent that you've actually built.
- Scenarios and personas from your docs. Upload your requirement docs (policies, FAQs, etc.) in PDF, DOCX, XLSX, CSV, TXT, MD and so on (up to 200MB per file) or link to Confluence, Jira or S3 and we'll generate Happy Path, Negative, Edge Case, Integration and Red Team scenarios, each with a persona. Production transcripts are graded separately in Post-Production analysis mode. See Chat Agent testing.
- Multi-turn conversations with a simulated user. The platform talks to your agent via its API, selects each subsequent message from the scenario goal and context and terminates when the goal has been achieved, the turn limit has been reached (1 to 100, default 25) or an unrecoverable error occurs.
- 9 scoring metrics plus your own criteria. Every conversation is scored 0-100% on Bias Detection, Hallucination Detection, Completeness, Context Awareness, Response Quality, Conversation Flow, User Satisfaction, File Handling Quality and File Generation Accuracy (as listed in the Agent Features & Metrics guide). There are also validation criteria which are scenario-based (e.g. "Agent must mention the return policy") and Data Validation which checks the facts the agent states against your own API.
- Runs from the terminal. Agent Testing CLI (
pip install agent-testing-cli) pullsLT_USERNAMEandLT_ACCESS_KEYfrom the environment and then kicks off a saved chat suite with:agent-testing-cli --project "$TESTMU_PROJECT_ID" --json run --workflow "$TESTMU_WORKFLOW_ID" --suite "$TESTMU_SUITE_ID" --yes. The docs make it clear that chat evaluations are asynchronous and that--waitshould not be used with Chat, so this command simply starts the run. You'll then need to check the scores in the platform or use scheduled runs for the release gate.

One key difference: τ-bench grades both the final state of the database and the information in the response. A refund that never occurred will still fail even if the response is correct.
Agent Testing scores the conversation and uses Data Validation to check the facts stated in the response against your API. If your release decision is going to be based on a backend side effect, then you should of course also add a check of that system.
For more on how simulated users behave over the course of turns, see our guide to multi-turn conversations and how to test them. For how τ-bench sits alongside MMLU, SWE-bench and the other benchmarks, see LLM benchmarks explained.
Watch: Agents Testing Agents
These TestMu AI sessions demonstrate how Agent Testing works to simulate users and score the conversations, and why you'll need to build your own bespoke benchmarks from your own context.
Subscribe to the TestMu AI YouTube channel for more tutorials on testing and automation.
Conclusion
Tau-bench is a public benchmark for customer service agents that scores the output on a database, uses a simulated user and reports on reliability via pass^k. Use τ²-bench or τ³-bench to select a model and to compare agent designs. Gate on pass^k rather than a single run and then of course test your own agent on your own policies prior to every release.
Test the agent you built on your own policies. Try TestMu AI Agent Testing: generate scenarios from your documents, run multi-turn conversations with personas, and score every run.
Testing an AI agent? TestMu AI's Agent Testing validates chat, voice and IVR agents before your customers talk to them.
Was this helpful?
Authors

Shantanu Wali
Author · 33 posts
Shantanu Wali is Vice President of Product Management at TestMu AI, where he owns several product lines across the testing platform, including the Real Device Cloud and the Digital Experience Testing Cloud. He has also contributed significantly to the development and scaling of KaneAI, TestMu AI's flagship GenAI-native testing agent that uses natural language to make software testing faster and more reliable in this AI era. He brings 7+ years of experience across software development and product management, starting as a backend developer at Infosys building solutions for Fortune 500 clients. Shantanu holds an MBA from IIM Calcutta and a B.Tech in Mechanical Engineering.
Mayank Bhola
Reviewer
Mayank Bhola is Co-Founder and Head of Products at TestMu AI, where he leads the entire product portfolio across KaneAI, Kane CLI, HyperExecute, SmartUI, the Real Device Cloud, Accessibility, and other software testing product lines. As an early Lead Architect he designed and built the company's flagship Tunnel technology from scratch, created the React-based automation platform, and architected the data-intensive pipelines and FAAS services that scale it. He brings more than 10 years of experience in software development and product engineering, with earlier roles as Head of Technology at Juggernaut Books and Senior Software Engineer at PressPlay TV and Zomato. Mayank holds a B.Tech in Computer Engineering from JIIT Noida.
Tau-Bench FAQs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance
- Advanced access controls
- Advanced data retention rules
- Advanced Local Testing
- Premium Support options
- Early access to beta features
- Private Slack Channel
- Unlimited Manual Accessibility DevTools Tests



