mlsanityData to 7 Oct 2026

Where LLM Agents Fail and How They can Learn From Failures

arXiv 2509.25370 ↗First posted 29 Sep 2025cs.AIcited by 118

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Large Language Model (LLM) agents, which integrate planning, memory, reflection, and tool-use modules, have shown promise in solving complex, multi-step tasks. Yet their sophisticated architectures amplify vulnerability to cascading failures, where a single root-cause error propagates through subsequent decisions, leading to task failure. Current systems lack a framework that can comprehensively understand agent error in a modular and systemic way, and therefore fail to detect these errors accordingly. We address this gap with three contributions. First, we introduce the AgentErrorTaxonomy, a modular classification of failure modes spanning memory, reflection, planning, action, and system-level operations. Second, we construct AgentErrorBench, the first dataset of systematically annotated failure trajectories from ALFWorld, GAIA, and WebShop, grounding error analysis in real-world agent rollouts. Third, we propose AgentDebug, a debugging framework that isolates root-cause failures and provides corrective feedback, enabling agents to recover and iteratively improve. Experiments on AgentErrorBench show that AgentDebug achieves 24% higher all-correct accuracy and 17% higher step accuracy compared to the strongest baseline. Beyond detection, the targeted feedback generated by AgentDebug enables LLM agents to iteratively recover from failures, yielding up to 26% relative improvements in task success across ALFWorld, GAIA, and WebShop. These results establish principled debugging as a pathway to more reliable and adaptive LLM agents. The code and data will be available at https://github.com/ulab-uiuc/AgentDebug

Key facts. Cited by 118 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 23 of its 26 references that are in the map. First posted on arXiv 29 Sep 2025.

Builds on

23 of 26 references.

Closest ancestors · 3

Same direction, newest first

  1. 2025Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systems30 Apr
  2. 2025Why Do Multi-Agent LLM Systems Fail?17 Mar
  3. 2024Defining and Detecting the Defects of the Large Language Model-based Autonomous Agents24 Dec

Other references · 20

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  4. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  5. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  6. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
  7. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
  8. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
  9. 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
  10. 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,143
  11. 2023GAIA: a benchmark for General AI Assistantscited by 1,084
  12. 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
8 more
  1. 2025Multi-Agent Collaboration Mechanisms: A Survey of LLMscited by 424
  2. 2025MultiAgentBench: Evaluating the Collaboration and Competition of LLM agentscited by 169
  3. 2025METAL: A Multi-Agent Framework for Chart Generation with Test-Time Scalingcited by 33
  4. 2024Testing and Understanding Erroneous Planning in LLM Agents through Synthesized User Inputscited by 22
  5. 2025Embodied Web Agents: Bridging Physical-Digital Realms for Integrated Agent Intelligencecited by 15
  6. 2025VeriLA: A Human-Centered Evaluation Framework for Interpretable Verification of LLM Agent Failurescited by 14
  7. 2025SafeScientist: Toward Risk-Aware Scientific Discoveries by LLM Agentscited by 14
  8. 2025CREW-WILDFIRE: Benchmarking Agentic Multi-Agent Collaborations at Scalecited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 115.

118 papers.

Sort:

By area:

  1. 2026Code as Agent Harnesscited by 40
  2. 2026From Agent Traces to Trust: A Survey of Evidence Tracing and Execution Provenance in LLM Agentscited by 29
  3. 2026ContextBench: A Benchmark for Context Retrieval in Coding Agentscited by 23
  4. 2026AgentNoiseBench: Benchmarking Robustness of Tool-Using LLM Agents Under Noisy Conditioncited by 19
  5. 2026From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanismscited by 19
  6. 2026Agentic Uncertainty Quantificationcited by 16
  7. 2026The Last Human-Written Paper: Agent-Native Research Artifactscited by 12
  8. 2026Wink: Recovering from Misbehaviors in Coding Agentscited by 11
  9. 2026Characterizing Faults in Agentic AI: A Taxonomy of Types, Symptoms, and Root Causescited by 11
  10. 2026Failure as a Process: An Anatomy of CLI Coding Agent Trajectoriescited by 11
  11. 2026Who&When Pro: Can LLMs Really Attribute Failures in AI Agents?cited by 11
  12. 2026Time to REFLECT: Can We Trust LLM Judges for Evidence-based Research Agents?cited by 10
38 more
  1. 2026GRASP: Gated Regression-Aware Skill Proposer for Self-Improving LLM Agentscited by 10
  2. 2025Failure Modes in LLM Systems: A System-Level Taxonomy for Reliable AI Applicationscited by 9
  3. 2026DART: Semantic Recoverability for Structured Tool Agentscited by 9
  4. 2026FALAT: Tracing Failures in LLM Agent Trajectories via Dependency-Guided Searchcited by 9
  5. 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Tracescited by 9
  6. 2026The Why Behind the Action: Unveiling Internal Drivers via Agentic Attributioncited by 8
  7. 2026AgentEval: DAG-Structured Step-Level Evaluation for Agentic Workflows with Error Propagation Trackingcited by 8
  8. 2026AgentForesight: Online Auditing for Early Failure Prediction in Multi-Agent Systemscited by 8
  9. 2026Steer2Adapt: Dynamically Composing Steering Vectors Elicits Efficient Adaptation of LLMscited by 7
  10. 2026Your Agents Are Aging Too: Agent Lifespan Engineering for Deployed Systemscited by 7
  11. 2026Better Harnesses, Smaller Models: Building 90% Cheaper Agents via Automated Harness Adaptationcited by 7
  12. 2026AgentDebugX: An Open-Source Toolkit for Failure Observability, Attribution, and Recovery in LLM Agentscited by 7
  13. 2025Metacognitive Self-Correction for Multi-Agent System via Prototype-Guided Next-Execution Reconstructioncited by 6
  14. 2026When Agents Fail: A Comprehensive Study of Bugs in LLM Agents with Automated Labelingcited by 6
  15. 2026Model or Harness? An Interaction-Centric Taxonomy for Localizing Agent Failurescited by 6
  16. 2026AgentRewind: Recoverable Execution for Long-Horizon LLM Agentscited by 6
  17. 2026Why Your Deep Research Agent Fails? On Hallucination Evaluation in Full Research Trajectorycited by 5
  18. 2026LongCoT: Benchmarking Long-Horizon Chain-of-Thought Reasoningcited by 5
  19. 2026Beyond Individual Intelligence: Surveying Collaboration, Failure Attribution, and Self-Evolution in LLM-based Multi-Agent Systemscited by 5
  20. 2026VerifyMAS: Hypothesis Verification for Failure Attribution in LLM Multi-Agent Systemscited by 5
  21. 2026What Resolve Rate Hides: Trajectory Structure Diagnostics for Coding Agentscited by 5
  22. 2026TRAJDEBUG: Tracing Error Lifecycle to Identify Critical Failures in Long-Horizon Agent Trajectoriescited by 5
  23. 2025PBFuzz: Agentic Directed Fuzzing for PoV Generationcited by 4
  24. 2026PreFlect: From Retrospective to Prospective Reflection in Large Language Model Agentscited by 4
  25. 2026Guideline-Grounded Evidence Accumulation for High-Stakes Agent Verificationcited by 4
  26. 2026NetAgentBench: A State-Centric Benchmark for Evaluating Agentic Network Configurationcited by 4
  27. 2026FAMA: Failure-Aware Meta-Agentic Framework for Open-Source LLMs in Interactive Tool Use Environmentscited by 4
  28. 2026TACT: Mitigating Overthinking and Overacting in Coding Agents via Activation Steeringcited by 4
  29. 2026PIVOT: Bridging Planning and Execution in LLM Agents via Trajectory Refinementcited by 4
  30. 2026Compiling Agentic Workflows into LLM Weights: Near-Frontier Quality at Two Orders of Magnitude Less Costcited by 4
  31. 2026Doomed from the Start: Early Abort of LLM Agent Episodes via a Recall-Controlled Probe Cascadecited by 4
  32. 2026AI-NativeBench: An Open-Source White-Box Agentic Benchmark Suite for AI-Native Systemscited by 3
  33. 2026PEARL: Self-Evolving Assistant for Time Management with Reinforcement Learningcited by 3
  34. 2026TopoCurate:Modeling Interaction Topology for Tool-Use Agent Trainingcited by 3
  35. 2026PACEvolve++: Improving Test-time Learning for Evolutionary Search Agentscited by 3
  36. 2026Why Retrying Fails: Context Contamination in LLM Agent Pipelinescited by 3
  37. 2026Interactive Evaluation Requires a Design Sciencecited by 3
  38. 2026CASPIAN: Online Detection and Attribution of Cascade Attacks in LLM Multi-Agent Systems via Cross-Channel Causal Monitoringcited by 3

50 most cited of 118 All 118 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?
  2. 2025How Do LLMs Fail In Agentic Scenarios? A Qualitative Analysis of Success and Failure Scenarios of Various LLMs in Agentic Simulations
  3. 2026Beyond the Leaderboard: A Synthesis of Tool-Use, Planning, and Reasoning Failures in Large Language Model Agents
  4. 2025DoVer: Intervention-Driven Auto Debugging for LLM Multi-Agent Systems
  5. 2026Towards Self-Improving Error Diagnosis in Multi-Agent Systems
  6. 2026Repair or Resample? Rethinking Failure Debugging in LLM Multi-Agent Systems
  7. 2026AgentFixer: From Failure Detection to Fix Recommendations in LLM Agentic Systems
  8. 2026Beyond Resolution Rates: Behavioral Drivers of Coding Agent Success and Failure