Trace-Aligned Diagnostics for Agentic AI Pipelines
Abstract
Agentic AI systems are increasingly deployed within complex pipelines, where failures often arise from interactions across reasoning steps, tool calls, and external environments. In such settings, understanding system behavior requires diagnostics grounded in execution traces rather than post-hoc, high-level explanations. To assess this requirement, we study trace-aligned diagnostics for monitoring and debugging agentic AI pipelines. Using the TRAIL benchmark, we implement a lightweight span-level model that identifies and localizes failures, and compare its performance to LLM-based baselines. Our results show that trace-aligned methods outperform LLM-based approaches (0.48 vs. 0.39 category F1 and 0.61 vs. 0.55 localization accuracy on GAIA) without suffering from context-length issues, highlighting the importance of execution-grounded analysis for trustworthy AI systems.
Additional Features