mlsanityData to 14 Oct 2026

Willful Disobedience: Automatically Detecting Failures in Agentic Traces

arXiv 2603.23806 ↗First posted 25 Mar 2026cs.SE cs.AIcited by 6

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

AI agents are increasingly embedded in real software systems, where they execute multi-step workflows through multi-turn dialogue, tool invocations, and intermediate decisions. These long execution histories, called agentic traces, make validation difficult. Outcome-only benchmarks can miss critical procedural failures, such as incorrect workflow routing, unsafe tool usage, or violations of prompt-specified rules. This paper presents AgentPex, an AI-powered tool designed to systematically evaluate agentic traces. AgentPex extracts behavioral rules from agent prompts and system instructions, then uses these specifications to automatically evaluate traces for compliance. We evaluate AgentPex on 424 traces from τ2-bench across models in telecom, retail, and airline customer service. Our results show that AgentPex distinguishes agent behavior across models and surfaces specification violations that are not captured by outcome-only scoring. It also provides fine-grained analysis by domain and metric, enabling developers to understand agent strengths and weaknesses at scale. The source code of AgentPex is available at https://github.com/microsoft/agentpex.

Key facts. Cited by 6 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 24 of its 58 references that are in the map. First posted on arXiv 25 Mar 2026.

Builds on

24 of 58 references.

Closest ancestors · 3

Same direction, newest first

  1. 2026AgentRx: Diagnosing AI Agent Failures from Execution Trajectories2 Feb
  2. 2025TRAIL: Trace Reasoning and Agentic Issue Localization13 May
  3. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug

Other references · 21

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  3. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  4. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  5. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  6. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
  7. 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,276
  8. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
  9. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,332
  10. 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,282
  11. 2023GAIA: a benchmark for General AI Assistantscited by 1,128
  12. 2023Large Language Models are not Fair Evaluatorscited by 1,085
9 more
  1. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 1,006
  2. 2023Teaching Large Language Models to Self-Debugcited by 988
  3. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
  4. 2025τ2-Bench: Evaluating Conversational Agents in a Dual-Control Environmentcited by 627
  5. 2024Humans or LLMs as the Judge? A Study on Judgement Biasescited by 323
  6. 2025Agentic AI: A Comprehensive Survey of Architectures, Applications, and Future Directionscited by 48
  7. 2024SPML: A DSL for Defending Language Models Against Prompt Attackscited by 34
  8. 2024Specifications: The missing link to making the development of LLM systems an engineering disciplinecited by 17
  9. 2025PromptPex: Automatic Test Generation for Language Model Promptscited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 6.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Near-Miss: Latent Policy Failure Detection in Agentic Workflows
  2. 2026AgentEval: DAG-Structured Step-Level Evaluation for Agentic Workflows with Error Propagation Tracking
  3. 2026ABTest: Behavior-Driven Testing for AI Coding Agents
  4. 2026TraceDance: An Automated System for Building Agent Behavior Benchmarks from Real-World Agent Deployment Traces
  5. 2026AgentAudit: An Open, Extensible Framework for Full-Lifecycle Trust Evaluation of AI Agents
  6. 2026TraceSIR: A Multi-Agent Framework for Structured Analysis and Reporting of Agentic Execution Traces
  7. 2025AgentCompass: Towards Reliable Evaluation of Agentic Workflows in Production
  8. 2026Compositional Policy Violations: When Step-Level Compliance Fails In Agentic AI Workflows