AgentDebugX: An Open-Source Toolkit for Failure Observability, Attribution, and Recovery in LLM Agents
Kunlun Zhu, Xuyan Ye, Zhiguang Han, Yuchen Zhao, Bingxuan Li, Weijia Zhang, Muxin Tian, Xiangru Tang, Pan Lu, James Zou, Jiaxuan You, Heng Ji
Abstract
LLM agent failures are difficult to debug because the step where an error surfaces is often not the one that caused it. Existing observability tools replay execution traces but provide little support for identifying the root cause or translating diagnosis into recovery. We present AgentDebugX, an open-source debugging framework that organizes debugging as a closed loop of Detect, Attribute, Recover, and Rerun. At its core, DeepDebug performs multi-turn root-cause diagnosis through global trajectory understanding, structure-guided investigation, and cross-examination. On the Who and When benchmark, DeepDebug achieves the best strict attribution accuracy among the evaluated methods on both tested open-weight backbones, reaching 28.8 percent exact agent-and-step accuracy on qwen3.5-9b versus 21.7 percent for the strongest single-pass baseline. On GAIA, DeepDebug repairs 13 of 73 failed tasks in a single rerun, compared with 4 to 6 for three decoupled self-correction baselines, improving overall accuracy from 55.8 percent to 63.6 percent. AgentDebugX exposes this workflow through a Python library, CLI, web console, and installable agentic skill, and provides an opt-in Error Hub for sharing scrubbed failure-diagnosis-repair bundles and reusing them as debugging memory.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL
Related papers
SlicePlanner: Logic-Guided Agentic AI for Online QoS-Aware Network Slicing in Open RAN
Shared title terminologycs.AIAdhwaa Al-Chaab, Ayman Younis, Dario Pompili
RecordRoute: Auditing Agent Failures with Localization-Guided Diagnosis
Shared title terminologycs.AIYifan Duan, Lihuan Li, Chao Xue et al.
Workflow-Localized Mechanism Learning: Attribution-Guided Repair and Knowledge Reuse for Structured Agent Skills
Shared title terminologycs.AIZibin Lin, Shengli Zhang, Taotao Wang et al.
KernelGenBench: Can LLMs and Agents Write Efficient Kernels Across Operator Sources and Hardware Platforms?
Shared title terminologycs.AIPeiyu Zang, Jian Tao, Jialing Zhang et al.
Silent Failures in Multimodal Agentic Search:A Diagnostic Taxonomy and Cross-Judge Evaluation
Shared title terminologycs.AIZhengxian Wu, Junjie Gao, Kai Yang
A Failure-Driven Data Flywheel for Post-Training Vision-Language-Action Models
Shared title terminologycs.AIYuhao Luo, Zihao Sheng, Zilin Huang et al.