English

Dissecting Bug Triggers and Failure Modes in Modern Agentic Frameworks: An Empirical Study

Software Engineering 2026-04-13 v1

Abstract

Modern agentic frameworks (e.g., CrewAI and AutoGen) have evolved into complex, autonomous multi-agent systems, introducing unique reliability challenges beyond earlier pipeline-based LLM libraries. However, existing empirical studies focus on earlier LLM libraries or task-level bugs, leaving the unique complexities of these agentic frameworks unexplored. We bridge the gap by conducting a comprehensive study of 409 fixed bugs from five representative agentic frameworks. We propose a five-layer abstraction to capture structural complexities in agentic frameworks, spanning from orchestration to infrastructure. Our study uncovers specialized symptoms, such as unexpected execution sequences and user configurations ignored, which are unique to autonomous orchestration. We further identify agent-specific root causes, including modelrelated faults, cognitive context mismanagement, and orchestration faults. Statistical analysis reveals cross-framework consistency and significant associations among these bug dimensions. Finally, our automated pattern mining identifies frequent bug-triggering patterns (e.g., model backend-ID combinations), and we show their transferability across different framework designs. Our findings facilitate cross-platform testing and improve the reliability of agentic systems.

Keywords

Cite

@article{arxiv.2604.08906,
  title  = {Dissecting Bug Triggers and Failure Modes in Modern Agentic Frameworks: An Empirical Study},
  author = {Xiaowen Zhang and Hannuo Zhang and Shin Hwei Tan},
  journal= {arXiv preprint arXiv:2604.08906},
  year   = {2026}
}

Comments

12 pages, 4 figures

R2 v1 2026-07-01T12:02:18.983Z