Skip to content

Trace-Aligned Diagnostics for Agentic AI Pipelines

Anastasios Koukas, Laura Maruster, Shaina Raza, Christos Emmanouilidis

cs.AI

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.

Create a lesson

Metadata

Comments
Presented at IEEE ICE 2026 (Porto, Portugal)