AI Agents That Matter

Sayash Kapoor, Benedikt Stroebl, Zachary S. Siegel, Nitya Nadgir, Arvind Narayanan

Here is a blog-style summary of the paper "AI Agents That Matter".

TL;DR

Current AI agent benchmarks are fundamentally flawed, overemphasizing accuracy while ignoring massive inference costs and lacking proper holdout sets. This paper demonstrates that simple baselines can match or outperform complex, state-of-the-art agent architectures at a fraction of the cost, and proposes a new framework to jointly optimize both accuracy and dollar cost.

What Problem Does This Paper Address?

AI agents—or compound AI systems that use LLMs to plan, use tools, and interact with environments—are widely considered the next frontier of AI. However, their development is driven by benchmarks that treat them like static language models. This creates several critical issues:

  1. Uncontrolled Costs: Current leaderboards only measure accuracy. Because LLMs are stochastic, developers can artificially boost accuracy simply by retrying tasks multiple times, leading to needlessly complex and wildly expensive agents.
  2. Conflated Needs: Model developers (who need scientific, compute-normalized metrics) and downstream application developers (who need real-world dollar cost metrics) are forced to use the same benchmarks.
  3. Benchmark Gaming: Many agent benchmarks lack adequate holdout sets. This allows agents to use fragile shortcuts—like hardcoding website URL structures—that score high on leaderboards but fail instantly in the real world.
  4. Poor Reproducibility: A lack of standardized evaluation scripts leads to pervasive bugs and inflated accuracy claims.

Methods

The authors tackle these problems through three main contributions:

  • Simple Baselines: To prove that complex "System 2" agent architectures (planning, reflection, self-debugging) are often overhyped, the authors introduced three simple, cost-effective baselines:
  • Retry: Repeatedly run the model at temperature 0 up to 5 times if it fails initial environment checks.
  • Warming: Same as retry, but gradually increase the temperature (from 0 to 0.5) to introduce variation.
  • Escalation: Start with a cheap model (Llama-3 8B) and progressively move to more expensive models (GPT-3.5, Llama-3 70B, GPT-4) only if the solution fails test cases.
  • Joint Optimization Framework: The authors modified the DSPy framework using the Optuna hyperparameter optimization library. Instead of just optimizing for accuracy, they performed a multi-objective search to maximize accuracy while minimizing the token count (cost) of prompts and few-shot examples.
  • Generality Framework: They proposed a core principle mapping an agent's intended level of generality to the required type of holdout set needed to prevent overfitting.

Datasets

Rather than introducing a new dataset, the authors audited and re-evaluated agents across several prominent existing benchmarks:

  • HumanEval: Used to evaluate coding agents (LDB, LATS, Reflexion) against the new simple baselines.
  • HotPotQA: Used to test the DSPy joint optimization framework for multi-hop question answering.
  • NovelQA: Used as a case study to show how long-context evaluation benchmarks mislead downstream developers regarding the costs of RAG (Retrieval-Augmented Generation) systems.
  • WebArena: Used to demonstrate how agents take shortcuts due to a lack of proper task holdouts.
  • Benchmark Survey: The authors also systematically reviewed the holdout practices of 17 recent agent benchmarks.

Key Insights and Ideas

  • The "System 2" Illusion: Widespread beliefs that complex planning and reflection loops drive agent gains may be incorrect. Simple retries and temperature adjustments achieve similar accuracy for a fraction of the cost.
  • The Pareto Frontier of Agent Design: Evaluating agents on a single axis (accuracy) is scientifically meaningless. Agent performance must be viewed as a Pareto frontier of accuracy versus inference cost.
  • Proxies for Cost are Misleading: Downstream developers care about dollar costs, not parameter counts. For instance, Mistral marketed Mixtral 8x22B as cost-effective based on active parameters, yet it costs twice as much as Llama 2 13B on certain API providers.
  • Hardcoded Success: Without hidden, dynamic holdout tasks, leaderboards reward agents like STeP (on WebArena) that hardcode environment-specific policies, making them brittle to real-world website drift.

Key Results

  • HumanEval: The simple Warming baseline matched the accuracy of the best state-of-the-art agent architectures. Crucially, the complex LATS agent cost over 50 times more than the warming baseline for substantially similar accuracy.
Figure 1: Our simple baselines offer Pareto improvements over SOTA agents. We run each agent five times and report the mean accuracy and the mean total cost on the 164 HumanEval problems. Where results for LDB have two models/agents in parenthesis, they indicate the language model or agent used to generate the code, followed by the language model used to debug the code. Where they have just one, they indicate that the same model was used to both generate the code and debug it. Note the nonstandard axes; In Appendix A, we show our results with the full y-axis as well as error bars and provide additional details. Robustness checks are contained in Appendix A.2. Section 4 explains why we measure dollar costs instead of using proxies for cost such as the amount of compute used.
  • HotPotQA: Joint optimization successfully reduced variable costs by 53% for GPT-3.5 and 41% for Llama-3-70B compared to default DSPy implementations, without sacrificing accuracy.
HotPotQA Joint Optimization
  • Benchmark Survey: Out of 17 surveyed benchmarks, 12 lacked appropriate holdout sets for their claimed level of generality, including 7 that featured no holdout set at all.
Levels of Generality and Holdouts

Limitations and Future Work

While this paper provides a vital course correction for agent evaluation, the authors note several limitations:

  • Volatile Pricing: Dollar-cost metrics are tied to current commercial API pricing, which fluctuates frequently. To mitigate this, they released an interactive web app allowing users to recalculate the Pareto frontiers using live token prices.
  • Ignoring the Human in the Loop: Current benchmarks evaluate agents in total isolation. In reality, humans steer, give feedback to, and supervise agents, which can drastically alter real-world accuracy.
  • Call for Standardization: Future work must focus on building unified evaluation frameworks (akin to HELM for language models) that can handle dynamic web environments, rate limits, and cost tracking.

Summary updated

BibTeX
@article{kapoor2025ai,
  author = {Sayash Kapoor and Benedikt Stroebl and Zachary S. Siegel and Nitya Nadgir and Arvind Narayanan},
  title = {{AI Agents That Matter}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2025},
}
Figure