τ-bench

Also known as: tau-bench

On this page 7

τ-bench (tau-bench) is a benchmark for tool-agent-user interaction that measures how reliably AI agents complete realistic customer-service tasks while talking to a simulated user, calling domain APIs and following a written policy. Published in 2024 by researchers at Sierra, it became a standard reference for evaluating conversational, tool-using agents rather than single-turn question answering.

Its defining ideas are a language-model user simulator, grading by the final state of a database instead of by the wording of the conversation, and the pass^k metric, which asks whether an agent succeeds on the same task in all of k independent attempts. Together they expose how far agents still are from the consistency that real deployments require.

How τ-bench simulates a customer conversation

τ-bench places an agent in a three-party loop of agent, tools and user. The agent receives a domain policy document and a set of tool schemas, such as functions to look up an order, modify a reservation or issue a refund. A separate language model plays the customer, guided by a hidden instruction that describes what the customer wants and what personal details the customer knows.

The conversation continues until the simulated user ends it. The evaluator then compares the resulting database state with an annotated goal state and, for some tasks, checks that required information was communicated. Because many different dialogues can reach the same correct state, this design rewards outcomes rather than scripted phrasing.

The table below describes the main components of the benchmark.

ComponentRoleWhy it matters
Domain policyWritten rules the agent must followTests rule adherence, not only capability
Tool APIsFunctions that read and write the databaseTests correct tool calling and arguments
User simulatorLLM that plays the customerIntroduces realistic, partial information
DatabaseJSON records of users, orders or flightsProvides an objective success check
Goal stateAnnotated correct final databaseAllows many valid dialogue paths
Components of the τ-bench environment

Domains, tasks and the pass^k metric

The original release covers two domains: retail and airline. Retail tasks involve order cancellation, returns, exchanges and address changes, while airline tasks involve booking, changing and canceling flights under fare rules, baggage allowances and membership tiers. The airline policy is notably stricter and harder to apply correctly.

DomainApproximate number of tasksTypical difficulty
RetailAbout 115Multi-item exchanges and returns with constraints
Airline50Fare classes, compensation rules, policy refusals
Domains in the original τ-bench

The benchmark introduced pass^k as a reliability measure. The common pass@k metric counts a task as solved if any of k attempts succeeds, which suits code generation where one correct answer can be selected. pass^k instead estimates the probability that all k attempts succeed, which matches customer service, where every customer must receive a correct outcome.

MetricQuestion it answersBehavior as k growsBest suited to
pass@kDoes at least one attempt succeedRises toward 1Generation with later selection
pass^kDo all attempts succeedFalls toward 0 for inconsistent agentsDeployed agents serving users
Comparison of pass@k and pass^k

In the original paper, even the strongest function-calling models solved well under two thirds of retail tasks on a single attempt and far fewer airline tasks, and their pass^8 in retail fell below 25 percent. Scores have risen with newer models, but the gap between single-attempt success and consistent success remains the benchmark’s central lesson.

How it compares with other agent benchmarks

τ-bench differs from other agent benchmarks in its focus on dialogue and policy compliance. WebArena and OSWorld test agents that operate web pages or desktop applications, GAIA tests multi-step research with tools, and AgentBench spans several environments. None of these places a simulated human with incomplete information inside the loop as a core element.

BenchmarkEnvironmentInteraction partnerSuccess criterion
τ-benchDomain APIs and databaseSimulated customerFinal database state
WebArenaSelf-hosted websitesNone during the taskFunctional checks on site state
OSWorldFull desktop operating systemsNone during the taskExecution-based scripts
GAIA benchmarkWeb, files and toolsNone during the taskExact final answer
AgentBenchEight varied environmentsVaries by environmentEnvironment-specific scores
Comparison of τ-bench with neighboring benchmarks

A follow-up, τ²-bench, adds a telecom domain with dual control, in which the simulated user must also act on a device, so the agent has to guide another party rather than simply call tools itself.

Using τ-bench in agent development

Teams use τ-bench mainly as a regression and comparison suite for tool-calling agents. Because the environment, tools and goal states are fixed, it can compare models, prompts, agent strategies such as ReAct prompting, and tool-schema changes under identical conditions.

  • Report pass^k, not only pass^1, because consistency is what users experience.
  • Fix the user-simulator model and temperature, since a different simulator changes scores.
  • Inspect failed trajectories by category, such as wrong arguments, policy violations or premature actions.
  • Build a domain-specific variant with internal policies and tools before relying on public scores.

Limitations and known criticisms

τ-bench has limitations that affect how scores should be read. The simulated user is itself a language model and can make mistakes, reveal information too early or end conversations incorrectly, which adds noise unrelated to the agent. Some annotated goal states have also been questioned, and corrected task sets have circulated since release.

The domains are small and synthetic, so a high score does not prove readiness for a real contact center with legacy systems, authentication and escalation paths. Public results may also reflect tuning to the benchmark, which is why practitioners treat τ-bench as a necessary signal of reliability rather than a sufficient one.

In everyday language

τ-bench is a driving test for AI customer-service agents. A computer plays the customer. The agent must chat with this customer, follow the company rules and use the company systems to fix the problem. Only the final result counts, such as whether the right order was canceled.

The test also asks a tougher question. Can the agent solve the same problem correctly every time? A helper who is right only on good days is not reliable. τ-bench measures that consistency by repeating each task several times.

Seen in the real world

An engineering team at an online retailer is choosing a model for an agent that will handle returns and exchanges. Two candidate models score similarly on general benchmarks, so the team runs both on the τ-bench retail domain with eight trials per task, using the same user simulator for each run.

Model A has the higher single-attempt score, but its pass^8 drops sharply, and trajectory review shows that it sometimes exchanges items without confirming details with the customer. Model B is slightly weaker on one attempt yet far more consistent across trials. The team selects Model B, adds an explicit confirmation step to the system prompt, and then builds an internal variant of the benchmark with the retailer’s own return policy before a limited pilot.