τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains

Shunyu Yao, Noah Shinn, Pedram Razavi, Karthik Narasimhan

Published
Lab
Sierra
Topic
Evals
Citations
1,890

Summary

TL;DR

τ-bench emulates conversations between a simulated user and an agent that has domain API tools and policy rules to follow.

Why builders care

Editor's note

The closest benchmark to real product agents: users, tools and policies at once.

How to apply it

Editor's note
  1. 1Add policy rules to your evals and test whether the agent follows them across a whole conversation.
  2. 2Run the same scenario multiple times to measure consistency.

Key results

From the abstract
  1. 1

    Our experiments show that even state-of-the-art function calling agents (like gpt-4o) succeed on <50% of the tasks, and are quite inconsistent (pass^8 <25% in retail).

  2. 2

    Our findings point to the need for methods that can improve the ability of agents to act consistently and follow rules reliably.

  • Existing benchmarks do not test language agents on their interaction with human users or ability to follow domain-specific rules, both of which are vital for deploying them in real world applications.

  • We propose τ-bench, a benchmark emulating dynamic conversations between a user (simulated by language models) and a language agent provided with domain-specific API tools and policy guidelines.
  • We employ an efficient and faithful evaluation process that compares the database state at the end of a conversation with the annotated goal state.
  • We also propose a new metric (pass^k) to evaluate the reliability of agent behavior over multiple trials.

Existing benchmarks do not test language agents on their interaction with human users or ability to follow domain-specific rules, both of which are vital for deploying them in real world applications. We propose τ-bench, a benchmark emulating dynamic conversations between a user (simulated by language models) and a language agent provided with domain-specific API tools and policy guidelines. We employ an efficient and faithful evaluation process that compares the database state at the end of a conversation with the annotated goal state. We also propose a new metric (pass^k) to evaluate the reliability of agent behavior over multiple trials. Our experiments show that even state-of-the-art function calling agents (like gpt-4o) succeed on <50% of the tasks, and are quite inconsistent (pass^8 <25% in retail). Our findings point to the need for methods that can improve the ability of agents to act consistently and follow rules reliably.

Everything on this page is written from this abstract. For methods and full results, read the paper PDF.

Ask the paper

Not live yet
Answers will quote the passages of the paper they come from.

Try one of these about “τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains”: