An Empirical Study of Testing Practices in Open Source AI Agent Frameworks and Agentic Applications
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Foundation model (FM)-based AI agents are rapidly gaining adoption across diverse domains, but their inherent non-determinism and non-reproducibility pose testing and quality assurance challenges. While recent benchmarks provide task-level evaluations, there is limited understanding of how developers verify the internal correctness of these agents during development. To address this gap, we conduct the first large-scale empirical study of testing practices in the AI agent ecosystem, analyzing 39 open-source agent frameworks and 439 agentic applications. We identify ten distinct testing patterns and find that novel, agent-specific methods like DeepEval are seldom used (around 1%), while traditional patterns like negative and membership testing are widely adapted to manage FM uncertainty. By mapping these patterns to canonical architectural components of agent frameworks and agentic applications, we uncover a fundamental inversion of testing effort: deterministic components like Resource Artifacts (tools) and Coordination Artifacts (workflows) consume over 70% of testing effort, while the FM-based Plan Body receives less than 5%. Crucially, this reveals a critical blind spot, as the Trigger component (prompts) remains neglected, appearing in around 1% of all tests. Our findings offer the first empirical testing baseline in FM-based agent frameworks and agentic applications, revealing a rational but incomplete adaptation to non-determinism. To address it, framework developers should improve support for novel testing methods, application developers must adopt prompt regression testing, and researchers should explore barriers to adoption. Strengthening these practices is vital for building more robust and dependable AI agents.
Key facts. Cited by 15 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 11 of its 119 references that are in the map. First posted on arXiv 23 Sep 2025.
Builds on
11 of 119 references.
Closest ancestors · 1
Same direction, newest first
Other references · 10
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
- 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 297
- 2024The Landscape of Emerging AI Agent Architectures for Reasoning, Planning, and Tool Calling: A Surveycited by 168
- 2024Exploring Large Language Model based Intelligent Agents: Definitions, Methods, and Prospectscited by 132
- 2025Model Context Protocol (MCP) at First Glance: Studying the Security and Maintainability of MCP Serverscited by 65
- 2025Rethinking Testing for LLM Applications: Characteristics, Challenges, and a Lightweight Interaction Protocolcited by 6
- 2024Prompt Bakingcited by 5
- 2023Test & Evaluation Best Practices for Machine Learning-Enabled Systemscited by 4
- 2024From Cool Demos to Production-Ready FMware: Core Challenges and a Technology Roadmapcited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 13.
15 papers.
Sort:
By area:
- 2026Model Context Protocol (MCP) Tool Descriptions Are Smelly! Towards Improving AI Agent Efficiency with Augmented MCP Tool Descriptionscited by 17
- 2025An Empirical Study of Agent Developer Practices in AI Agent Frameworkscited by 14
- 2026Characterizing Faults in Agentic AI: A Taxonomy of Types, Symptoms, and Root Causescited by 12
- 2025Beyond Task Completion: An Assessment Framework for Evaluating Agentic AI Systemscited by 8
- 2026How AI Coding Agents Modify Code: A Large-Scale Study of GitHub Pull Requestscited by 8
- 2026Security in the Age of AI Teammates: An Empirical Study of Agentic Pull Requests on GitHubcited by 7
- 2026Don't Blame the Large Language Model: How Agent Harness Evolution Shapes Coding Agent Qualitycited by 5
- 2026Toward Architecture-Aware Evaluation Metrics for LLM Agentscited by 4
- 2026ADK Arena: Evaluating Agent Development Kits via LLM-as-a-Developercited by 2
- 2026How Do Practitioners Build SE Agents? Insights from a Mixed-Methods Studycited by 2
- 2026Tangent: An Empirical Study of Testing Practices for LLM-Based Agent Applicationscited by 2
- 2026Agentic Frameworks for Reasoning Tasks: An Empirical Studycited by 0
3 more
- 2026A Large-Scale Empirical Study of Quality Assurance Practices and Gaps in AI Agentscited by 0
- 2026AgentBug-Smith: Automatically Reproducing Real-World Harness Bugs in Agentic Systemscited by 0
- 2026Complex Agents, Shallow Tests: Demystifying and Enhancing Test Adequacy of Agent Harness in the Wildcited by 0
- 2026Complex Agents, Shallow Tests: Demystifying and Enhancing Test Adequacy of Agent Harness in the Wild4 Oct 2026
- 2026AgentBug-Smith: Automatically Reproducing Real-World Harness Bugs in Agentic Systems29 Sep 2026
- 2026A Large-Scale Empirical Study of Quality Assurance Practices and Gaps in AI Agents15 Sep 2026
- 2026Tangent: An Empirical Study of Testing Practices for LLM-Based Agent Applications9 Aug 2026
- 2026How Do Practitioners Build SE Agents? Insights from a Mixed-Methods Study12 Jul 2026
- 2026Don't Blame the Large Language Model: How Agent Harness Evolution Shapes Coding Agent Quality4 Jul 2026
- 2026ADK Arena: Evaluating Agent Development Kits via LLM-as-a-Developer4 Jun 2026
- 2026Agentic Frameworks for Reasoning Tasks: An Empirical Study17 Apr 2026
- 2026Characterizing Faults in Agentic AI: A Taxonomy of Types, Symptoms, and Root Causes6 Mar 2026
- 2026Model Context Protocol (MCP) Tool Descriptions Are Smelly! Towards Improving AI Agent Efficiency with Augmented MCP Tool Descriptions16 Feb 2026
- 2026Toward Architecture-Aware Evaluation Metrics for LLM Agents27 Jan 2026
- 2026How AI Coding Agents Modify Code: A Large-Scale Study of GitHub Pull Requests24 Jan 2026
- 2026Model Context Protocol (MCP) Tool Descriptions Are Smelly! Towards Improving AI Agent Efficiency with Augmented MCP Tool Descriptionscited by 17
- 2025An Empirical Study of Agent Developer Practices in AI Agent Frameworkscited by 14
- 2025Beyond Task Completion: An Assessment Framework for Evaluating Agentic AI Systemscited by 8
- 2026How AI Coding Agents Modify Code: A Large-Scale Study of GitHub Pull Requestscited by 8
- 2026Security in the Age of AI Teammates: An Empirical Study of Agentic Pull Requests on GitHubcited by 7
- 2026Don't Blame the Large Language Model: How Agent Harness Evolution Shapes Coding Agent Qualitycited by 5
- 2026Toward Architecture-Aware Evaluation Metrics for LLM Agentscited by 4
- 2026ADK Arena: Evaluating Agent Development Kits via LLM-as-a-Developercited by 2
- 2026How Do Practitioners Build SE Agents? Insights from a Mixed-Methods Studycited by 2
- 2026Tangent: An Empirical Study of Testing Practices for LLM-Based Agent Applicationscited by 2
- 2026Agentic Frameworks for Reasoning Tasks: An Empirical Studycited by 0
- 2026A Large-Scale Empirical Study of Quality Assurance Practices and Gaps in AI Agentscited by 0
12 most cited of 14 All 14 (JSON)
- 2026Complex Agents, Shallow Tests: Demystifying and Enhancing Test Adequacy of Agent Harness in the Wild4 Oct 2026
- 2026AgentBug-Smith: Automatically Reproducing Real-World Harness Bugs in Agentic Systems29 Sep 2026
- 2026A Large-Scale Empirical Study of Quality Assurance Practices and Gaps in AI Agents15 Sep 2026
- 2026Tangent: An Empirical Study of Testing Practices for LLM-Based Agent Applications9 Aug 2026
- 2026How Do Practitioners Build SE Agents? Insights from a Mixed-Methods Study12 Jul 2026
- 2026Don't Blame the Large Language Model: How Agent Harness Evolution Shapes Coding Agent Quality4 Jul 2026
- 2026ADK Arena: Evaluating Agent Development Kits via LLM-as-a-Developer4 Jun 2026
- 2026Agentic Frameworks for Reasoning Tasks: An Empirical Study17 Apr 2026
- 2026Model Context Protocol (MCP) Tool Descriptions Are Smelly! Towards Improving AI Agent Efficiency with Augmented MCP Tool Descriptions16 Feb 2026
- 2026Toward Architecture-Aware Evaluation Metrics for LLM Agents27 Jan 2026
- 2026How AI Coding Agents Modify Code: A Large-Scale Study of GitHub Pull Requests24 Jan 2026
- 2026Security in the Age of AI Teammates: An Empirical Study of Agentic Pull Requests on GitHub1 Jan 2026
12 newest of 14 All 14 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026AgentAssay: Token-Efficient Regression Testing for Non-Deterministic AI Agent Workflows
- 2026Beyond Test Presence: Assessing the Quality and Robustness of Agent-Generated Tests in Open-Source Projects
- 2026Framework and Benchmark for Code-Driven Agentic Testing in Web Development
- 2026ABTest: Behavior-Driven Testing for AI Coding Agents
- 2026AgentBeats: Agentifying Agent Assessment for Openness, Standardization, and Reproducibility
- 2026Automated structural testing of LLM-based agents: methods, framework, and case studies
- 2025OAgents: An Empirical Study of Building Effective Agents
- 2026PBT-Bench: Benchmarking AI Agents on Property-Based Testing