Explaining AI Agents Through Execution Traces
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 does the agentic layer amplify individual agent failure modes?
- Why does human interaction remain the hardest failure mode for agents?
- What distinguishes task failure from communication breakdown in multi-agent systems?
- Do architectural changes or training fixes better prevent agreement failures?
- How does outcome feedback change beliefs about AI versus human partner reliability?
- What makes users willing to relinquish control to an agent?
- Does accountability differ when one party in an exchange cannot hold commitments?
- Why do agents report success when they have actually failed at tasks?
- What causes autonomous agents to grant access to non-owners?
- Can agent success reports serve as reliable oversight signals in real deployment?
- Can exoskeleton dependency accumulate without organizations noticing it happening?
- How does treating AI as an agent affect user autonomy and decision-making?
- Can humans build reliable oversight for increasingly complex AI systems?
- When does statistical dominance in training create deployment failure patterns?
- What status categories best represent user goal progress without penalizing external failures?