Diagnosing with Insights: Structured Analysis of Agent Failures via Behavioral Abstractions
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
With the proliferation of LLM agents, the ability to understand and diagnose failures in agents is essential to achieving superior effectiveness and trustworthiness. As agent failures often manifest via long and complex trajectories, manually finding the needles in the haystack is untenable. However, traditional diagnosis techniques for software bugs can hardly address LLM agent failures, while completely relying on LLMs as the judge yields unreliable diagnosis results. To overcome these challenges, this paper presents AGENTSCOPE, a new neuro-symbolic approach for agent failure mode diagnosis. The key principle of AGENTSCOPE is to abstract agent behavior, based on its trajectories, into structured representations. Furthermore, AGENTSCOPE introduces the concept of neural invariants to specify agent behavior properties. AGENTSCOPE leverages LLM-guided reasoning atop the structured representation against neural invariants to pinpoint both the failure step and its type in the trajectory. We show the effectiveness of AGENTSCOPE on publicly available agent failure datasets (Who&When) and a more comprehensive dataset created by us (AgentErrata), where AGENTSCOPE significantly outperforms the current state of the art in fault localization and attribution accuracy. Our work shows that integrating structured abstractions with LLM-guided reasoning enables effective, reliable, and interpretable diagnosis for agent failures.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 21 of its 35 references that are in the map. First posted on arXiv 2 Sep 2026.
Builds on
21 of 35 references.
Closest ancestors · 4
Same direction, newest first
- 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?3 Sep
- 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
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
Other references · 17
- 2025Qwen3 Technical Reportcited by 8,195
- 2024GPT-4o System Cardcited by 4,467
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2024A Survey on LLM-as-a-Judgecited by 1,384
- 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,151
- 2025OpenAI GPT-5 System Cardcited by 910
- 2025BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agentscited by 616
- 2024From Generation to Judgment: Opportunities and Challenges of LLM-as-a-judgecited by 480
- 2025Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscationcited by 338
- 2024Humans or LLMs as the Judge? A Study on Judgement Biasescited by 314
- 2022Defining and Characterizing Reward Hackingcited by 184
5 more
- 2025OWL: Optimized Workforce Learning for General Multi-Agent Assistance in Real-World Task Automationcited by 129
- 2024Limitations of the LLM-as-a-Judge Approach for Evaluating LLM Outputs in Expert Knowledge Taskscited by 102
- 2023AssistGPT: A General Multi-modal Assistant that can Plan, Execute, Inspect, and Learncited by 97
- 2025Scaling Reasoning, Losing Control: Evaluating Instruction Following in Large Reasoning Modelscited by 28
- 2025RAFFLES: Reasoning-based Attribution of Faults for LLM Systemscited by 19
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026AgentFixer: From Failure Detection to Fix Recommendations in LLM Agentic Systems
- 2025Where LLM Agents Fail and How They can Learn From Failures
- 2026From Anomalies to Failures: Constructing Causal Error Graphs for Agentic Trace Diagnosis
- 2026AgentRx: Diagnosing AI Agent Failures from Execution Trajectories
- 2026AgentDebugX: An Open-Source Toolkit for Failure Observability, Attribution, and Recovery in LLM Agents
- 2026Tracing Agentic Failure from the Flow of Success
- 2026SAFARI: Scaling Long Horizon Agentic Fault Attribution via Active Investigation
- 2026Characterizing Faults in Agentic AI: A Taxonomy of Types, Symptoms, and Root Causes