AgentDebugX: An Open-Source Toolkit for Failure Observability, Attribution, and Recovery in LLM Agents
Kunlun ZhuXYXuyan YeZhiguang HanYuchen ZhaoBLBingxuan LiWZWeijia ZhangMuxin Tian
Xiangru Tang
Pan Lu
James Zou
Jiaxuan You
Heng Ji
Kunlun Zhu
XYXuyan Ye
Zhiguang Han
Yuchen Zhao
BLBingxuan Li
WZWeijia Zhang
Muxin Tian

Xiangru Tang

Pan Lu

James Zou

Jiaxuan You

Heng Ji
+12
AgentDebugX is an open-source framework that organizes LLM agent debugging into a closed loop: Detect, Attribute, Recover, and Rerun. Its core, DeepDebug, performs multi-turn root-cause diagnosis via global trajectory understanding, structure-guided investigation, and cross-examination. On the Who and When benchmark, DeepDebug achieves 28.8% exact agent-and-step attribution accuracy on qwen3.5-9b, surpassing the 21.7% of the strongest single-pass baseline. On GAIA, it repairs 13 of 73 failed tasks in one rerun (vs. 4–6 for decoupled baselines), raising overall accuracy from 55.8% to 63.6%.

arXiv ·
· July 21, 2026