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.

What coordination failures limit multi-agent LLM systems as they scale? How can humans calibrate appropriate trust in AI systems? How does AI assistance affect human cognitive development and reasoning autonomy? Why do agents confidently report success despite actually failing tasks? How should human oversight be integrated with autonomous AI systems? How can AI systems learn from failures without cascading errors? Does alignment training create blind spots in detecting genuine safety threats? How do interface design choices shape consciousness attribution? What memory abstraction level best enables agent knowledge reuse? Can language model RL training avoid reward hacking and misalignment? How do standardized protocols improve coordination in multi-agent systems? Does self-reflection enable models to reliably correct their errors? Does conversational format create illusions of genuine AI communication?