Where LLM Agents Fail and How They can Learn From Failures
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
- 2025Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systems30 Apr
- 2025Why Do Multi-Agent LLM Systems Fail?17 Mar
- 2024Defining and Detecting the Defects of the Large Language Model-based Autonomous Agents24 Dec
Other references · 20
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
- 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,143
- 2023GAIA: a benchmark for General AI Assistantscited by 1,084
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
8 more
- 2025Multi-Agent Collaboration Mechanisms: A Survey of LLMscited by 424
- 2025MultiAgentBench: Evaluating the Collaboration and Competition of LLM agentscited by 169
- 2025METAL: A Multi-Agent Framework for Chart Generation with Test-Time Scalingcited by 33
- 2024Testing and Understanding Erroneous Planning in LLM Agents through Synthesized User Inputscited by 22
- 2025Embodied Web Agents: Bridging Physical-Digital Realms for Integrated Agent Intelligencecited by 15
- 2025VeriLA: A Human-Centered Evaluation Framework for Interpretable Verification of LLM Agent Failurescited by 14
- 2025SafeScientist: Toward Risk-Aware Scientific Discoveries by LLM Agentscited by 14
- 2025CREW-WILDFIRE: Benchmarking Agentic Multi-Agent Collaborations at Scalecited by 5
Built on by
Citing papers per year: 2025: 3; 2026: 115.
118 papers.
Sort:
By area:
- 2026Code as Agent Harnesscited by 40
- 2026From Agent Traces to Trust: A Survey of Evidence Tracing and Execution Provenance in LLM Agentscited by 29
- 2026ContextBench: A Benchmark for Context Retrieval in Coding Agentscited by 23
- 2026AgentNoiseBench: Benchmarking Robustness of Tool-Using LLM Agents Under Noisy Conditioncited by 19
- 2026From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanismscited by 19
- 2026Agentic Uncertainty Quantificationcited by 16
- 2026The Last Human-Written Paper: Agent-Native Research Artifactscited by 12
- 2026Wink: Recovering from Misbehaviors in Coding Agentscited by 11
- 2026Characterizing Faults in Agentic AI: A Taxonomy of Types, Symptoms, and Root Causescited by 11
- 2026Failure as a Process: An Anatomy of CLI Coding Agent Trajectoriescited by 11
- 2026Who&When Pro: Can LLMs Really Attribute Failures in AI Agents?cited by 11
- 2026Time to REFLECT: Can We Trust LLM Judges for Evidence-based Research Agents?cited by 10
38 more
- 2026GRASP: Gated Regression-Aware Skill Proposer for Self-Improving LLM Agentscited by 10
- 2025Failure Modes in LLM Systems: A System-Level Taxonomy for Reliable AI Applicationscited by 9
- 2026DART: Semantic Recoverability for Structured Tool Agentscited by 9
- 2026FALAT: Tracing Failures in LLM Agent Trajectories via Dependency-Guided Searchcited by 9
- 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Tracescited by 9
- 2026The Why Behind the Action: Unveiling Internal Drivers via Agentic Attributioncited by 8
- 2026AgentEval: DAG-Structured Step-Level Evaluation for Agentic Workflows with Error Propagation Trackingcited by 8
- 2026AgentForesight: Online Auditing for Early Failure Prediction in Multi-Agent Systemscited by 8
- 2026Steer2Adapt: Dynamically Composing Steering Vectors Elicits Efficient Adaptation of LLMscited by 7
- 2026Your Agents Are Aging Too: Agent Lifespan Engineering for Deployed Systemscited by 7
- 2026Better Harnesses, Smaller Models: Building 90% Cheaper Agents via Automated Harness Adaptationcited by 7
- 2026AgentDebugX: An Open-Source Toolkit for Failure Observability, Attribution, and Recovery in LLM Agentscited by 7
- 2025Metacognitive Self-Correction for Multi-Agent System via Prototype-Guided Next-Execution Reconstructioncited by 6
- 2026When Agents Fail: A Comprehensive Study of Bugs in LLM Agents with Automated Labelingcited by 6
- 2026Model or Harness? An Interaction-Centric Taxonomy for Localizing Agent Failurescited by 6
- 2026AgentRewind: Recoverable Execution for Long-Horizon LLM Agentscited by 6
- 2026Why Your Deep Research Agent Fails? On Hallucination Evaluation in Full Research Trajectorycited by 5
- 2026LongCoT: Benchmarking Long-Horizon Chain-of-Thought Reasoningcited by 5
- 2026Beyond Individual Intelligence: Surveying Collaboration, Failure Attribution, and Self-Evolution in LLM-based Multi-Agent Systemscited by 5
- 2026VerifyMAS: Hypothesis Verification for Failure Attribution in LLM Multi-Agent Systemscited by 5
- 2026What Resolve Rate Hides: Trajectory Structure Diagnostics for Coding Agentscited by 5
- 2026TRAJDEBUG: Tracing Error Lifecycle to Identify Critical Failures in Long-Horizon Agent Trajectoriescited by 5
- 2025PBFuzz: Agentic Directed Fuzzing for PoV Generationcited by 4
- 2026PreFlect: From Retrospective to Prospective Reflection in Large Language Model Agentscited by 4
- 2026Guideline-Grounded Evidence Accumulation for High-Stakes Agent Verificationcited by 4
- 2026NetAgentBench: A State-Centric Benchmark for Evaluating Agentic Network Configurationcited by 4
- 2026FAMA: Failure-Aware Meta-Agentic Framework for Open-Source LLMs in Interactive Tool Use Environmentscited by 4
- 2026TACT: Mitigating Overthinking and Overacting in Coding Agents via Activation Steeringcited by 4
- 2026PIVOT: Bridging Planning and Execution in LLM Agents via Trajectory Refinementcited by 4
- 2026Compiling Agentic Workflows into LLM Weights: Near-Frontier Quality at Two Orders of Magnitude Less Costcited by 4
- 2026Doomed from the Start: Early Abort of LLM Agent Episodes via a Recall-Controlled Probe Cascadecited by 4
- 2026AI-NativeBench: An Open-Source White-Box Agentic Benchmark Suite for AI-Native Systemscited by 3
- 2026PEARL: Self-Evolving Assistant for Time Management with Reinforcement Learningcited by 3
- 2026TopoCurate:Modeling Interaction Topology for Tool-Use Agent Trainingcited by 3
- 2026PACEvolve++: Improving Test-time Learning for Evolutionary Search Agentscited by 3
- 2026Why Retrying Fails: Context Contamination in LLM Agent Pipelinescited by 3
- 2026Interactive Evaluation Requires a Design Sciencecited by 3
- 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)
- 2026Harness Evolution Hits a Ceiling: When Weight Training Should Begin8 Oct 2026
- 2026Know the Shape, Find the Fault: Topology-Conditioned Diagnosis of Multi-Agent LLM Failures7 Oct 2026
- 2026Dependency-Aware Reward Shaping for Agentic Reinforcement Learning1 Oct 2026
- 2026My FAULT: Self-Diagnosis as Credit Assignment in Self-Evolving Agentic Reinforcement Learning1 Oct 2026
- 2026Agent Error Dataset: Scaling 50,000 Error--Diagnosis Pairs for Failure Analysis and Error-Aware Post-Training30 Sep 2026
- 2026AgentBug-Smith: Automatically Reproducing Real-World Harness Bugs in Agentic Systems29 Sep 2026
- 2026One Readout, Many Repairs: Diffusion-Guided Hierarchical Search for Tool-Agent Repair28 Sep 2026
- 2026Beyond Skill Evolution: Self-Evolving Context Management Policies for Long-Horizon Agent Harnesses28 Sep 2026
- 2026Vestrum: Improving Agent Harnesses by Adapting Their Verification, Structure and Memory27 Sep 2026
- 2026DAAF: From Failure Localization to Editable System Assets in LLM Agents26 Sep 2026
- 2026RECLAIM: Can Agents Reproduce the Claims of Machine Learning Papers?23 Sep 2026
- 2026Lookahead-R: Budget-Aware Tool Retrieval via Execution-Centric Planning20 Sep 2026
38 more
- 2026Locating Hidden Failures Makes Long-Horizon Agents More Reliable15 Sep 2026
- 2026Recoverability as a System Primitive for Long-Horizon AI Agents12 Sep 2026
- 2026Bridging Thought and Action: Taming Long-Horizon Instability in Open-Source LLM Agents with a MetaTool-Enhanced ROS Framework11 Sep 2026
- 2026Skynet: Workflow-Level Anomaly Detection for Agentic AI via Semantic and Structural Modeling6 Sep 2026
- 2026What if LLMs Ate Their Words: Causal History Effects in Multi-Turn Interaction5 Sep 2026
- 2026DCFA: Dual-view Causal-inspired Attribution for Failure Reasoning in LLM-based Multi-agent Systems4 Sep 2026
- 2026Monitoring Web Agents Without Internal Signals: Observable Trajectories and Key-Step Supervision2 Sep 2026
- 2026Act More, Decide Less: Skill-Guided Adaptive Action Chunking for Long-Horizon LLM Agents2 Sep 2026
- 2026EDGE: Error Dependency Graph-Guided Multi-Error Attribution in Multi-Agent LLM Systems1 Sep 2026
- 2026Using Grounded Theory for Agent Behavior Analysis at Scale31 Aug 2026
- 2026Last Step Matters: Early Uncertainty Cannot Predict Failure in Long-Horizon Agents30 Aug 2026
- 2026Detect Before You Attribute: Cascade Failure Attribution for Multi-Agent Systems30 Aug 2026
- 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Traces24 Aug 2026
- 2026CatchBench: When Can an Agent Failure Be Caught?24 Aug 2026
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environments20 Aug 2026
- 2026Towards Risk-free AI Agent Deployment17 Aug 2026
- 2026AgentRewind: Recoverable Execution for Long-Horizon LLM Agents14 Aug 2026
- 2026LoongReflect: Boosting Long-Horizon Reflection in Search Agents via Global Perspective Distillation12 Aug 2026
- 2026AgentChaos: Chaos Engineering for Agent Systems via Programmatic Fault Injection7 Aug 2026
- 2026TRAJDEBUG: Tracing Error Lifecycle to Identify Critical Failures in Long-Horizon Agent Trajectories6 Aug 2026
- 2026SkillTV-Bench: Benchmarking How Well Judges Perform on Skill-Augmented Agentic Execution6 Aug 2026
- 2026RouteGuard: Certifying Routing Gain in LLM Multi-Agent Systems When Complementarity Is Not Enough5 Aug 2026
- 2026When Agentic Executions Fail: Detecting and Localizing Runtime Faults from Telemetry4 Aug 2026
- 2026HPFA: Hypergraph-Based Paired Failure Attribution for LLM Reasoning3 Aug 2026
- 2026CUADebug: Diagnosing and Repairing Computer-Use Agent Failures31 Jul 2026
- 2026Model or Harness? An Interaction-Centric Taxonomy for Localizing Agent Failures30 Jul 2026
- 2026Towards an Agent Operating System - Lessons from Classical and Cloud OS27 Jul 2026
- 2026Output Format x Model Identity: Interaction Effects in Single-Round Coding Agent Performance23 Jul 2026
- 2026AgentDebugX: An Open-Source Toolkit for Failure Observability, Attribution, and Recovery in LLM Agents21 Jul 2026
- 2026Experience Memory Graph: One-Shot Error Correction for Agents15 Jul 2026
- 2026Agent Hacks Agent: Autoresearch for Production-Agent Red-Teaming13 Jul 2026
- 2026Omni-Decision: Evidence-Ledger Planning for Omni-Modal Agents13 Jul 2026
- 2026World Model Science: Self-Organized Criticality, Weak Chaos, and Metastable Belief Dynamics in Long-Horizon LLM Agents12 Jul 2026
- 2026Who&When Pro: Can LLMs Really Attribute Failures in AI Agents?10 Jul 2026
- 2026Failure as a Process: An Anatomy of CLI Coding Agent Trajectories10 Jul 2026
- 2026Better Harnesses, Smaller Models: Building 90% Cheaper Agents via Automated Harness Adaptation9 Jul 2026
- 2026Who Broke the System? Failure Localization in LLM-Based Multi-Agent Systems8 Jul 2026
- 2026Doomed from the Start: Early Abort of LLM Agent Episodes via a Recall-Controlled Probe Cascade7 Jul 2026
50 newest of 118 All 118 (JSON)
- 2026Code as Agent Harnesscited by 40
- 2026From Agent Traces to Trust: A Survey of Evidence Tracing and Execution Provenance in LLM Agentscited by 29
- 2026ContextBench: A Benchmark for Context Retrieval in Coding Agentscited by 23
- 2026AgentNoiseBench: Benchmarking Robustness of Tool-Using LLM Agents Under Noisy Conditioncited by 19
- 2026From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanismscited by 19
- 2026Agentic Uncertainty Quantificationcited by 16
- 2026Wink: Recovering from Misbehaviors in Coding Agentscited by 11
- 2026Failure as a Process: An Anatomy of CLI Coding Agent Trajectoriescited by 11
- 2026Who&When Pro: Can LLMs Really Attribute Failures in AI Agents?cited by 11
- 2026Time to REFLECT: Can We Trust LLM Judges for Evidence-based Research Agents?cited by 10
- 2026GRASP: Gated Regression-Aware Skill Proposer for Self-Improving LLM Agentscited by 10
- 2026DART: Semantic Recoverability for Structured Tool Agentscited by 9
12 most cited of 84 All 84 (JSON)
- 2026Know the Shape, Find the Fault: Topology-Conditioned Diagnosis of Multi-Agent LLM Failures7 Oct 2026
- 2026Dependency-Aware Reward Shaping for Agentic Reinforcement Learning1 Oct 2026
- 2026My FAULT: Self-Diagnosis as Credit Assignment in Self-Evolving Agentic Reinforcement Learning1 Oct 2026
- 2026Agent Error Dataset: Scaling 50,000 Error--Diagnosis Pairs for Failure Analysis and Error-Aware Post-Training30 Sep 2026
- 2026AgentBug-Smith: Automatically Reproducing Real-World Harness Bugs in Agentic Systems29 Sep 2026
- 2026One Readout, Many Repairs: Diffusion-Guided Hierarchical Search for Tool-Agent Repair28 Sep 2026
- 2026Beyond Skill Evolution: Self-Evolving Context Management Policies for Long-Horizon Agent Harnesses28 Sep 2026
- 2026Vestrum: Improving Agent Harnesses by Adapting Their Verification, Structure and Memory27 Sep 2026
- 2026DAAF: From Failure Localization to Editable System Assets in LLM Agents26 Sep 2026
- 2026RECLAIM: Can Agents Reproduce the Claims of Machine Learning Papers?23 Sep 2026
- 2026Lookahead-R: Budget-Aware Tool Retrieval via Execution-Centric Planning20 Sep 2026
- 2026Skynet: Workflow-Level Anomaly Detection for Agentic AI via Semantic and Structural Modeling6 Sep 2026
12 newest of 84 All 84 (JSON)
- 2026Characterizing Faults in Agentic AI: A Taxonomy of Types, Symptoms, and Root Causescited by 11
- 2026FALAT: Tracing Failures in LLM Agent Trajectories via Dependency-Guided Searchcited by 9
- 2026LongCoT: Benchmarking Long-Horizon Chain-of-Thought Reasoningcited by 5
- 2026TACT: Mitigating Overthinking and Overacting in Coding Agents via Activation Steeringcited by 4
- 2026Argus: Reorchestrating Static Analysis via a Multi-Agent Ensemble for Full-Chain Security Vulnerability Detectioncited by 1
- 2026MODF-SIR: A Multi-agent Omni-modal Distilled Framework for Social Intelligence Reasoningcited by 1
- 2026HPFA: Hypergraph-Based Paired Failure Attribution for LLM Reasoningcited by 1
- 2026DCFA: Dual-view Causal-inspired Attribution for Failure Reasoning in LLM-based Multi-agent Systemscited by 1
- 2026HyperGuide: Hyperbolic Guidance for Efficient Multi-Step Reasoning in Large Language Modelscited by 0
- 2026Agent System Operations: Categorization, Challenges, and Future Directionscited by 0
- 2026Bridging Thought and Action: Taming Long-Horizon Instability in Open-Source LLM Agents with a MetaTool-Enhanced ROS Frameworkcited by 0
- 2026Bridging Thought and Action: Taming Long-Horizon Instability in Open-Source LLM Agents with a MetaTool-Enhanced ROS Framework11 Sep 2026
- 2026DCFA: Dual-view Causal-inspired Attribution for Failure Reasoning in LLM-based Multi-agent Systems4 Sep 2026
- 2026HPFA: Hypergraph-Based Paired Failure Attribution for LLM Reasoning3 Aug 2026
- 2026MODF-SIR: A Multi-agent Omni-modal Distilled Framework for Social Intelligence Reasoning10 Jun 2026
- 2026Agent System Operations: Categorization, Challenges, and Future Directions1 Jun 2026
- 2026FALAT: Tracing Failures in LLM Agent Trajectories via Dependency-Guided Search30 May 2026
- 2026HyperGuide: Hyperbolic Guidance for Efficient Multi-Step Reasoning in Large Language Models22 May 2026
- 2026TACT: Mitigating Overthinking and Overacting in Coding Agents via Activation Steering7 May 2026
- 2026LongCoT: Benchmarking Long-Horizon Chain-of-Thought Reasoning15 Apr 2026
- 2026Argus: Reorchestrating Static Analysis via a Multi-Agent Ensemble for Full-Chain Security Vulnerability Detection8 Apr 2026
- 2026Characterizing Faults in Agentic AI: A Taxonomy of Types, Symptoms, and Root Causes6 Mar 2026
- 2026The Last Human-Written Paper: Agent-Native Research Artifactscited by 12
- 2025Failure Modes in LLM Systems: A System-Level Taxonomy for Reliable AI Applicationscited by 9
- 2026Steer2Adapt: Dynamically Composing Steering Vectors Elicits Efficient Adaptation of LLMscited by 7
- 2026Your Agents Are Aging Too: Agent Lifespan Engineering for Deployed Systemscited by 7
- 2026Model or Harness? An Interaction-Centric Taxonomy for Localizing Agent Failurescited by 6
- 2026TopoCurate:Modeling Interaction Topology for Tool-Use Agent Trainingcited by 3
- 2026Interactive Evaluation Requires a Design Sciencecited by 3
- 2026CatchBench: When Can an Agent Failure Be Caught?cited by 2
- 2026Last Step Matters: Early Uncertainty Cannot Predict Failure in Long-Horizon Agentscited by 2
- 2026VISTA: A Versatile Interactive User Simulation Toolkit for Agent Evaluationcited by 1
- 2026Confidence Laundering in Agent Systems: Why Uncertainty Needs a Latent Carriercited by 1
- 2026Locating Hidden Failures Makes Long-Horizon Agents More Reliablecited by 1
12 most cited of 20 All 20 (JSON)
- 2026Harness Evolution Hits a Ceiling: When Weight Training Should Begin8 Oct 2026
- 2026Locating Hidden Failures Makes Long-Horizon Agents More Reliable15 Sep 2026
- 2026Recoverability as a System Primitive for Long-Horizon AI Agents12 Sep 2026
- 2026What if LLMs Ate Their Words: Causal History Effects in Multi-Turn Interaction5 Sep 2026
- 2026Last Step Matters: Early Uncertainty Cannot Predict Failure in Long-Horizon Agents30 Aug 2026
- 2026CatchBench: When Can an Agent Failure Be Caught?24 Aug 2026
- 2026Model or Harness? An Interaction-Centric Taxonomy for Localizing Agent Failures30 Jul 2026
- 2026Omni-Decision: Evidence-Ledger Planning for Omni-Modal Agents13 Jul 2026
- 2026Confidence Laundering in Agent Systems: Why Uncertainty Needs a Latent Carrier9 Jun 2026
- 2026VISTA: A Versatile Interactive User Simulation Toolkit for Agent Evaluation9 Jun 2026
- 2026Regimes: An Auditable, Held-Out-Gated Improvement Loop Demonstrated on LongMemEval with ActiveGraph8 Jun 2026
- 2026DynaGraph: Lightweight Multi-Model Interaction Framework via Dynamic Topological Reconfiguration28 May 2026
12 newest of 20 All 20 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?
- 2025How Do LLMs Fail In Agentic Scenarios? A Qualitative Analysis of Success and Failure Scenarios of Various LLMs in Agentic Simulations
- 2026Beyond the Leaderboard: A Synthesis of Tool-Use, Planning, and Reasoning Failures in Large Language Model Agents
- 2025DoVer: Intervention-Driven Auto Debugging for LLM Multi-Agent Systems
- 2026Towards Self-Improving Error Diagnosis in Multi-Agent Systems
- 2026Repair or Resample? Rethinking Failure Debugging in LLM Multi-Agent Systems
- 2026AgentFixer: From Failure Detection to Fix Recommendations in LLM Agentic Systems
- 2026Beyond Resolution Rates: Behavioral Drivers of Coding Agent Success and Failure