Beyond the Black Box: Interpretability of Agentic AI Tool Use
On the map: LLM agents and tool use → Software engineering coding agents
also in 1 more
Abstract (arXiv)
AI agents are promising for high-stakes enterprise workflows, but dependable deployment remains limited because these tool-use decisions are difficult to diagnose and control. Agents may skip required tool calls, invoke tools unnecessarily, or take actions whose consequences become visible only after execution. Existing observability methods are external: prompts reveal correlations, evaluations score outputs, and logs arrive only after the model has already acted. In long-horizon settings, these failures are costly because an early tool mistake can alter the rest of the execution trajectory, increase token consumption, and create downstream safety and security risk. We introduce a mechanistic-interpretability toolkit built on Sparse Autoencoders (SAEs), which decompose activations into sparse internal features, and linear probes, lightweight classifiers that read signals from those features. The framework reads model states before each action and infers whether a tool is needed and how risky the next tool action is. It identifies the model layers and features most associated with tool decisions and tests their functional importance through feature ablation. We train the probes on multi-step agent execution traces from the NVIDIA Nemotron function-calling dataset and apply the same workflow to GPT-OSS 20B and Gemma 3 27B models. The goal is not to replace external evaluation, but to add a missing layer: visibility into what the model signaled internally before action. This helps surface deeper causes of agent failure, especially in long-horizon runs where an early mistake can impact subsequent agent behavior. More broadly, the paper shows how mechanistic interpretability can support internal observability for monitoring tool calls and risk in agent systems.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 9 of its 14 references that are in the map. First posted on arXiv 7 May 2026.
Builds on
9 of 14 references.
References · 9
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
- 2024ToolACE: Winning the Points of LLM Function Callingcited by 216
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 118
- 2025Detecting High-Stakes Interactions with Activation Probescited by 53
- 2026Nemotron 3 Super: Open, Efficient Mixture-of-Experts Hybrid Mamba-Transformer Model for Agentic Reasoningcited by 38
- 2025Adaptive Tool Use in Large Language Models with Meta-Cognition Triggercited by 30
- 2025Position: Agent Should Invoke External Tools ONLY When Epistemically Necessarycited by 22
- 2026Internal Representations as Indicators of Hallucinations in Agent Tool Selectioncited by 19
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026Looking Is Not Picking: An Attention-Segment Account of Tool-Selection Failures in LLM Agentscited by 3
- 2026Do Agents Know When They Succeed? Calibrating Agent Confidence from Internal Representationscited by 0
- 2026When Does Correction Become Repair? Mechanistic Auditing of Internal Interventions in Tool-Using LLMscited by 0
- 2026When Does Correction Become Repair? Mechanistic Auditing of Internal Interventions in Tool-Using LLMs28 Sep 2026
- 2026Do Agents Know When They Succeed? Calibrating Agent Confidence from Internal Representations8 Sep 2026
- 2026Looking Is Not Picking: An Attention-Segment Account of Tool-Selection Failures in LLM Agents15 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2025Agentic AI Process Observability: Discovering Behavioral Variability
- 2026Interpreting Agentic Systems: Beyond Model Explanations to System-Level Accountability
- 2026Do Agents Know What They Can't Do? Evaluating Feasibility Awareness in Tool-Using Agents
- 2026Skynet: Workflow-Level Anomaly Detection for Agentic AI via Semantic and Structural Modeling
- 2026From Features to Actions: Explainability in Traditional and Agentic AI Systems
- 2024Mechanistic Interpretability for AI Safety -- A Review
- 2026Agentic-imodels: Evolving agentic interpretability tools via autoresearch
- 2025AgentCompass: Towards Reliable Evaluation of Agentic Workflows in Production