Explaining AI Agents Through Execution Traces

Paper · arXiv 2609.06063 · Published September 5, 2026
Human-Centered Design

AI Agents are increasingly deployed in real-world settings, where they interact with external tools and make sequential decisions with limited human oversight. This creates a pressing need for reliable and auditable explanations of what an agent did and why. However, traditional Explainable AI (XAI) methods fall short of providing the process-level transparency required for such interactive, multi-step systems, motivating a paradigm shift toward approaches specifically designed for AI Agents. To address this gap, we present a post-hoc XAI framework that transforms a lengthy agent’s execution trace into a structured report and a faithful natural-language explanation explicitly grounded in its observable behavior. Because it relies solely on execution traces, the framework applies across different agent architectures, environments, and tasks. Human and automated evaluations across multiple benchmarks and architectures show that our framework produces highquality, trace-faithful explanations while reliably identifying unsupported claims, unjustified actions, and evidence gaps, outperforming naive LLM-generated explanations.

Introduction. Recent advances in Agentic AI are reshaping the capabilities of AI systems by enabling autonomous goal pursuit, adaptive decision-making, and complex task execution with minimal human oversight (Acharya, Kuppan, and Divya 2025). Unlike traditional AI models, AI Agents1 interact with external tools, maintain internal state, coordinate multiple actions, and adapt their behavior over extended execution horizons. While these capabilities unlock significant opportunities across critical domains, they also introduce new challenges for transparency, accountability, and governance (Zhu et al. 2026; Shah et al. 2026), making surface-level transparency no longer sufficient to support user trust or regula- tory compliance (Khalid, Farooqi, and Bilal 2026). Recent studies further highlight novel failure modes, including error cascades, responsibility gaps, flawed execution monitoring, and multi-step error propagation that obscures the origins of system behavior and outcomes (Zhu et al. 2026; Shah et al. 2026), highlighting the need for a rethinking of current XAI practices.

Lines of inquiry this paper opens 24

Research framings built by reading the notes related to this paper — the questions it feeds into.

Why do agents falsely report success on failed tasks? Does RL create genuinely new reasoning capabilities or refine existing ones? Why do people disclose to AI systems despite their artificial nature? How can infrastructure records verify actual agent behavior? Do reasoning traces faithfully reflect actual model reasoning? How should designers communicate what AI systems truly are and can do? Why does polished presentation create unearned authority in AI outputs? How can humans maintain meaningful oversight as AI systems become increasingly autonomous and complex? What happens to knowledge when intelligence becomes tokenized like a commodity? When should work require human-AI partnership versus full automation? How does AI adoption across firms reshape employment and inequality? When do multi-agent systems outperform single frontier models? How do multi-agent LLM systems fail distinctly compared to single agents? Should agents decouple planning from perception grounding for better performance?