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

Shunyu Yao, Noah Shinn, Pedram Razavi, Karthik Narasimhan
6/17/2024
cs.AIcs.CL

No official code found. Best implementation: sierra-research/tau2-bench (1,911 stars, MIT, last commit 2026-04-30). 1 more below.

Abstract

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.

View on arXivView PDF

Code Implementations(2)

MIT

Code and Data for Tau-Bench

1,411215PythonJun 6, 20247 months agoMIT
MIT

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

1,911481CSS, HTMLJun 9, 20255 months agoMIT
aibenchmarkconversational-agentslanguage-model-agentllm

Cite this paper

@article{yao2024bench,
  title  = {τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains},
  author = {Shunyu Yao and Noah Shinn and Pedram Razavi and Karthik Narasimhan},
  year   = {2024},
  eprint = {2406.12045},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.12045v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.12045.svg)](https://codeofpaper.com/paper/2406.12045)

Discussion