mlsanityData to 14 Oct 2026

An Empirical Study of Testing Practices in Open Source AI Agent Frameworks and Agentic Applications

arXiv 2509.19185 ↗First posted 23 Sep 2025cs.SE cs.ETcited by 15

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

  1. 2025Challenges in Testing Large Language Model Based Software: A Faceted Taxonomy1 Mar

Other references · 10

  1. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
  2. 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
  3. 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 297
  4. 2024The Landscape of Emerging AI Agent Architectures for Reasoning, Planning, and Tool Calling: A Surveycited by 168
  5. 2024Exploring Large Language Model based Intelligent Agents: Definitions, Methods, and Prospectscited by 132
  6. 2025Model Context Protocol (MCP) at First Glance: Studying the Security and Maintainability of MCP Serverscited by 65
  7. 2025Rethinking Testing for LLM Applications: Characteristics, Challenges, and a Lightweight Interaction Protocolcited by 6
  8. 2024Prompt Bakingcited by 5
  9. 2023Test & Evaluation Best Practices for Machine Learning-Enabled Systemscited by 4
  10. 2024From Cool Demos to Production-Ready FMware: Core Challenges and a Technology Roadmapcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 13.

15 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026AgentAssay: Token-Efficient Regression Testing for Non-Deterministic AI Agent Workflows
  2. 2026Beyond Test Presence: Assessing the Quality and Robustness of Agent-Generated Tests in Open-Source Projects
  3. 2026Framework and Benchmark for Code-Driven Agentic Testing in Web Development
  4. 2026ABTest: Behavior-Driven Testing for AI Coding Agents
  5. 2026AgentBeats: Agentifying Agent Assessment for Openness, Standardization, and Reproducibility
  6. 2026Automated structural testing of LLM-based agents: methods, framework, and case studies
  7. 2025OAgents: An Empirical Study of Building Effective Agents
  8. 2026PBT-Bench: Benchmarking AI Agents on Property-Based Testing