TraceBench is a simulation-based benchmark that measures how agent instructions and tool design change the behavior of LLM agents. By generating root-cause attribution tasks from interpretable physical dynamical systems with known ground truth, it isolates whether domain context, labeled examples, console-based tools, or submission format most changes an agent’s trajectory and accuracy. Its headline result: agents explore data through numerical console output far more than visualizations, and direct-answer submission consistently beats programmatic script generation.

What Is TraceBench and Why It Matters for AI Agents

Most evaluation today asks whether an agent gets the right final answer. TraceBench asks a harder question: how did the agent get there, and what made it behave that way? Published in August 2026 by Tommaso Bendinelli, Artur Dox, and Christian Holz (arXiv 2608.27182), TraceBench is a controlled simulation framework in which every task has a ground-truth answer by construction. There is no ambiguity about what the “right” agent behavior is, because the root cause is known before the agent even runs.

That design choice matters because real-world agent failures are rarely binary. An agent can reach the correct final prediction through a brittle path that will collapse on the next task. TraceBench is built to make those differences visible: it tracks the full trajectory of tool calls, observations, and decisions rather than only the last output. For anyone building agents for time-series monitoring, industrial diagnostics, or root-cause analysis, this kind of trajectory visibility is what separates a research demo from a production system you can trust.

The Four Controllable Axes: Instructions and Tools, Isolated

The core power of TraceBench is that it treats instructions and tool design as variables you can turn on and off independently. Each generated task is a controlled experiment across four axes:

  • Domain context: whether the agent is told it is analyzing a bouncing ball with restitution, drag, and gravity, or just given an opaque sequence of numbers.
  • Observation noise: low or high, which changes how hard it is to detect a real parameter change against background variation.
  • Labeled examples: how many labeled support samples per class the agent can use to calibrate its reasoning (each condition provides three).
  • Submission mode: whether the agent submits a direct answer or must produce a reusable Python script that maps each sample to a predicted root-cause label.

Because these axes are orthogonal in the experimental design, the authors can attribute a change in agent behavior to a specific factor. When removing domain context hurts performance, the cause is instruction design, not task difficulty. When programmatic submission underperforms direct answers, the cause is tool design, because the underlying task is identical.

The Three Mechanical Systems and How Tasks Are Built

TraceBench’s tasks come from interpretable mechanical systems, starting with the ball-drop system: a bouncing ball governed by gravity, quadratic air drag, a coefficient of restitution in the range [0,1], mass, and an impact-speed cutoff of 0.5 m/s for static contact. Agents receive time-series observations and must decide whether a parameter changed mid-simulation and, if so, which one.

Three systems across the simulators give the benchmark breadth without sacrificing control. Each episode is a clean attribution problem: a parameter silently shifts, and the agent must find where and what. The known physics parameters are the ground truth, so a trajectory that “found” the wrong cause is provably wrong — not merely suboptimal.

The scale of evaluation is meaningful. Each condition uses 10 test samples per task and 5 repetition seeds per simulator and condition, producing 60 evaluation episodes per agent and 150 test samples per condition. Four agents are evaluated across the full grid, which yields enough episodes to distinguish real effects from noise. Cost constraints shaped the design too: ablations that remove domain context were run only on gpt-5.5 and gemini-3.1-pro.

Key Findings: Domain Context, Console Output, and Submission Mode

The most reliable and consistent finding is that domain context helps. Agents told what physical system they are analyzing perform substantially better than agents given raw numbers. This is a direct, practical signal for anyone designing agent instructions: grounding the agent in the domain of the problem is cheap, reliable leverage that pays off across different models.

Less intuitive is the tool-design finding. Agents in TraceBench explore data primarily through numerical console output rather than visualizations. Given the choice between inspecting numbers in a terminal and rendering plots, they default to the former. That contradicts the common assumption that visual interfaces are the best way to help agents understand data, and it is a concrete takeaway for observability tooling: numeric, machine-parseable output deserves at least as much engineering attention as dashboards.

Labeled support examples are a more complicated story. They may raise cost without reliably improving performance. That matters for operators who assume that “more in-context examples” is always a safe upgrade — TraceBench suggests the benefit is conditional and worth measuring rather than assumed.

Programmatic Submission and the Out-of-Sample Generalization Gap

One of the sharpest results is the performance gap between submission modes. When agents must write a reusable Python script that maps each sample to its predicted root-cause label, they perform worse than when they submit predictions directly. The scripts also showed limited out-of-sample generalization — they fit the training distribution but failed to transfer.

This is a critical nuance for any team building agents that must emit artifacts (code, policies, configs) rather than direct answers. The skill of solving one problem and the skill of encoding a general solution are different, and TraceBench shows the latter is harder for current models. It is a warning against equating “the agent found the answer” with “the agent can codify the rule.” Agents that look capable on the specific test can fail badly on the next distribution shift.

The programmatic condition also illuminates tool design: requiring a script does not just change the output format, it changes the entire planning strategy the agent adopts, and that shift is where accuracy is lost.

How TraceBench Compares to Trajectory-Level Tool-Use Benchmarks (TRAJECT-Bench)

TraceBench is not the only benchmark taking trajectories seriously. TRAJECT-Bench (arXiv 2510.04550) shares the premise that existing tool-use benchmarks overlook whether tools are selected, parameterized, and ordered correctly in-sequence. It pairs high-fidelity executable tools with production-style APIs across finance, travel, and music domains (1,000+ tools) and synthesizes trajectories that vary in breadth (parallel calls) and depth (interdependent chains), scaled from 3 to over 10 tool counts.

The two benchmarks complement each other:

DimensionTraceBenchTRAJECT-Bench
FocusRoot-cause attribution over time seriesTool-use trajectory correctness
Ground truthKnown physics parametersSynthesized tool-usage trajectories
ToolsConsole, visualization, submission APIs1,000+ production-style APIs
MetricsAccuracy + trajectory analysisSelection/argument correctness, Traj-satisfy
Key bottleneckProgrammatic generalizationShort-to-mid trajectory transition

Both expose the bottleneck of mid-length trajectories, and both reject final-accuracy-only evaluation. TRAJECT-Bench identifies similar-tool confusion and parameter-blind selection as failure modes. TraceBench isolates the instruction and tool-design levers that cause those failures in the first place. Together, they make the case that trajectory-level diagnostics are the real unit of agent evaluation.

What TraceBench Teaches About Designing Agent Interfaces and Observability

The results translate directly into design guidance for agent interfaces. First, offer tools the agent will actually use: numerical console output drove exploration in TraceBench, so a system that only surfaces visualizations may hide the very information agents rely on. Second, make trajectories inspectable — if you cannot replay how an agent reached a conclusion, you cannot debug it, and TraceBench’s released trajectories exist precisely for that purpose.

Third, be deliberate about grounding. Domain context is the single most reliable lever tested, so default to injecting it. Fourth, question the reflex to add more labeled examples; TraceBench found they can add cost without dependable gains. Finally, decide consciously whether your agents must produce reusable artifacts. If the output is a script, budget for the fact that generalization will be weaker and plan more evaluation around out-of-sample behavior.

These are not abstract results. Any observability stack for agents should mirror TraceBench’s discipline: measurable interventions, known ground truth, and trajectory telemetry that survives inspection.

Broader Applications: Root-Cause Analysis in Time-Series Monitoring

The task TraceBench studies is not academic trivia. Finding whether a parameter of a physical or industrial system changed — and which one — is exactly the job of anomaly detection and root-cause analysis in asset monitoring, fleet telemetry, and infrastructure observability. A drift in a sensor, a shift in a machine’s damping, a change in load characteristics: all are mid-signal parameter changes an agent must attribute correctly.

TraceBench’s controlled design is what makes it useful here. In production you rarely have ground truth for a root cause, so you cannot tell whether your agent got it right by skill or by luck. TraceBench provides the controlled counterpart — tasks where the answer is known by construction — which is a training and validation harness for time-series diagnosis agents. Teams building those systems can use TraceBench to measure how much their instructions and tooling actually contribute, then carry the winning design into the uncontrolled world.

Limitations and Open Questions

TraceBench is deliberately narrow, and that narrowness has limits. It covers three mechanical systems and four LLM agents, which is a small slice of the agent design space. The domain-context ablations ran only on two models due to cost, so the generalizability of that specific result across the model zoo is an open question. Costs also shape the labeled-example finding: whether the marginal cost of support examples ever pays off at scale remains under-tested.

The programmatic submission result is striking but tied to the benchmark’s synthetic tasks; whether the out-of-sample gap persists for code-generation on organic, real-world data is untested ground. And while TraceBench measures trajectories well, it does not by itself prescribe what a good trajectory looks like — the metrics stop at correlation with accuracy rather than a normative account of ideal behavior. These are natural next steps for a first release, not fatal gaps.

Conclusion and Where to Get the Data, Trajectories, and Leaderboard

TraceBench makes a clean, defensible contribution: a controlled benchmark that isolates how agent instructions and tool design change trajectories, with conclusions that run counter to common assumptions. Numerical console output beats visualizations as an exploration tool. Domain context reliably helps. Labeled examples are a conditional, not automatic, upgrade. And requiring agents to emit reusable scripts costs accuracy and generalization.

The artifacts are public. The datasets, full agent trajectories, experimental results, and a live leaderboard are released at tracebench.github.io, with the paper on arXiv (2608.27182). For teams building agents that must diagnose time series or emit durable code, those resources are a fast way to measure their own design choices against a controlled ground truth.

Frequently Asked Questions

What is TraceBench? TraceBench is a simulation-based benchmark that generates root-cause attribution tasks from interpretable physical dynamical systems with known ground truth. It measures how agent instructions and tool design change LLM agent trajectories and accuracy, rather than only the final answer.

Why does TraceBench matter for my AI agent? It isolates which design choices actually move agent performance. Its findings — that domain context helps, console output beats visualization for exploration, and direct answers beat programmatic scripts — are directly actionable for building observability tooling and agent instructions.

What is the key difference between TraceBench and TRAJECT-Bench? TraceBench focuses on root-cause attribution over time series with known ground truth, while TRAJECT-Bench focuses on tool-use trajectory correctness across 1,000+ production-style APIs. Both reject final-accuracy-only evaluation and identify mid-length trajectories as a bottleneck.

Does programmatic submission really hurt agent performance? Yes. In TraceBench, agents that must produce a reusable Python script mapping samples to root-cause labels performed worse than agents submitting direct predictions, and their scripts showed limited out-of-sample generalization.

How many agents and tasks does TraceBench evaluate? It evaluates four LLM agents and three interpretable mechanical systems, spanning four experimental conditions (low/high noise paired with direct-answer and programmatic submission). Each condition runs 10 test samples per task across 5 repetition seeds, yielding 60 evaluation episodes per agent and 150 test samples per condition.