TRANSMISSION // 2612.05702v1

Why AI Agents Fail Is Hard to Tell From Their Traces

Source published

A survey maps research on diagnosing and improving AI agents from their execution histories—and finds that pinpointing the exact failing step remains difficult.

AI-generated conceptual illustration for Why AI Agents Fail Is Hard to Tell From Their Traces
AI-generated conceptual illustration; not documentary evidence.

When an AI agent makes a mistake, its final answer may not reveal where things went wrong. A new survey reviews how researchers inspect agents’ step-by-step histories, or trajectories, to trace failures and guide improvements.

An AI agent’s mistake can be easy to spot and hard to explain. An incorrect result might stem from a bad assumption early in a run, a later tool-use error, or a chain of small problems. Because agents make decisions across many steps—and may involve multiple models or tools—the final outcome alone often does not identify what needs fixing.

A survey by Junjie Wang and colleagues takes stock of research into this diagnostic problem. It asks how researchers analyze an agent’s trajectory: the sequence of actions, reasoning, tool interactions and observations involved in completing a task. The goal is not only to label failures, but to understand how diagnosis might support more reliable agents.

Mapping a growing field

The authors say they reviewed 55 papers published from early 2025 through April 2026, spanning software engineering, artificial intelligence and human-computer interaction. They organize the work into five areas: ways of classifying failures; methods for assigning causes; strategies for improving agents; tools for monitoring and analyzing trajectories; and datasets and benchmarks used to evaluate the research.

This is a survey, not a new experiment comparing agents. Its findings are a synthesis of existing work, as described in the abstract. The authors group the literature’s approaches into four taxonomic perspectives for describing failures, four methodological paradigms for attributing them, and three families of enhancement strategies. The abstract does not name these categories, so their specific contents cannot be assessed from the available material alone.

The broad direction, according to the authors, is a move beyond simple prompting toward methods involving causal inference, models fine-tuned to trace failures, and dynamic interventions. In plain terms, researchers are trying to do more than ask a language model to guess why an agent failed: they are exploring ways to analyze relationships between steps, train specialized diagnostic systems, or intervene during execution.

Finding the failing step remains difficult

The survey’s central caution is that precise, step-level attribution is still limited. A diagnosis may identify a general kind of problem without reliably pinpointing the step that caused it. That distinction matters: an agent that misunderstands an instruction may need a different remedy from one that chooses the wrong tool or mishandles a tool’s output.

The authors also find that existing benchmarks—the tasks and datasets used to test diagnostic systems—lack diversity. They describe a shift toward benchmarks that make more of an agent’s execution visible and include annotations for failures that cannot be recovered from. Better visibility and clearer labels could make methods easier to evaluate, but a benchmark still cannot guarantee that a diagnosis will transfer to other tasks or settings.

The survey points to established software-engineering ideas as a possible source of help. Fault localization seeks the part of a program responsible for a defect; program repair attempts to fix it; and empirical software engineering tests claims against observed behavior. The authors argue that these methods may help diagnose agent failures and improve systems. This is a proposed direction, not evidence that any particular adaptation already solves the problem.

What the evidence can—and cannot—show

The findings depend on which papers the survey included and how the authors grouped them. The available source is the abstract, not the full paper, so it does not provide search procedures, inclusion criteria, detailed category definitions, or evidence for evaluating individual studies. Those details would be needed to judge how comprehensive or reproducible the review is.

The reported review period ends in April 2026, so later work is outside its stated scope. And while the authors describe progress in research methods, they also emphasize continuing limits in attribution accuracy and benchmark diversity. A framework for organizing the field is useful, but it does not by itself establish which diagnostic approach works best in practice.

The paper is an arXiv preprint; the supplied source does not establish whether it has undergone peer review. Its conclusions should therefore be read as the authors’ synthesis of a fast-moving research area, not as a settled verdict. For now, the survey’s message is measured: understanding an agent’s full trail may make failures more explainable, but locating the responsible step—and turning that diagnosis into a dependable fix—remains an open challenge.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • Failed AI agents often had evidence of their mistakes, a trace study finds

    Supporting evidence: The survey describes how an observed failure may differ from its origin as errors propagate through later reasoning and tool use. In 95 failed runs from two multi-agent corpora, Wang et al. report that symptom labels mapped to multiple origin cells and kinds. This supports that diagnostic challenge in those corpora, but does not establish its prevalence across agent settings.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2612.05702v1 — Original paper

      Excerpt reference: static/papers/2612.05702v1.md:1102-1165
      Basis: Paper text
      Source file SHA-256: ea9537af465af3fec5cef759faf9037e149fd98f99bd8f6acf6dcb6366d0dc1c

    • 2611.13254v1 — Original paper

      Excerpt reference: static/papers/2611.13254v1.md:781-835
      Basis: Paper text
      Source file SHA-256: 447ab3951fa14949eaeaf42f4214658d67dc4a98e3d1e78563c7ad563df5f5f5

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.