Understanding Bugs in Modern Agentic Frameworks: A Study of Symptoms, Root Causes, and Triggering Conditions
- Source
- arxiv.org
- Author
- Xiaowen Zhang, Hannuo Zhang, Shin Hwei Tan
- Date

Context
-framework reliability depends on how the surrounding software coordinates models, and execution. A study of 409 fixed bugs across five frameworks found failures such as unexpected execution order, ignored user configuration and incomplete activity records. In that sample, the model-integration layer contained the most bugs, yet only 47% of its fixes included tests. Similar failure patterns appeared across frameworks with different designs. The result identifies a concrete testing gap: repairing the connection between a model and its framework often lacked an accompanying test to check the repaired behavior. The sample concerns documented, fixed bugs rather than all operational failures. Study abstract.
- Across 409 fixed bugs in five agentic frameworks, the model integration layer is the most bug-prone yet its fixes ship with a test only 47% of the time. The validation gap sits exactly where the bugs concentrate.
- Agentic frameworks produce symptoms earlier libraries did not: unexpected execution sequence, user configuration silently ignored, and incomplete or incorrect traces.
- The agent-specific root causes are model-related faults, cognitive context mismanagement, and orchestration faults. The failures come from coordination and context handling, not from calling the API wrong.
- Despite very different designs, the frameworks fail alike: symptom and root-cause distributions overlap 0.62-0.88 by Jaccard similarity, so bug-triggering conditions found in one framework transfer to the others.
- AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
- context window — The maximum amount of text a model can consider at once — its working memory for the current conversation or task.
- multi-agent — Using several AI agents on one problem — splitting work in parallel, checking each other, or filling different roles like planner and reviewer.
- LLM — A large language model — the neural network behind tools like Claude and ChatGPT, trained on huge amounts of text to predict what comes next.
“We present a comprehensive study of 409 fixed bugs across five representative agentic frameworks, proposing a five-layer architectural abstraction.”
“Notably, the model integration layer is the most bug-prone yet receives disproportionately low test inclusion rate during bug fixing (47%), revealing a critical validation gap.”
“Despite varying design paradigms, bug symptoms, root causes, and bug-prone components show substantial cross-framework consistency (JS similarity 0.62--0.88).”
articleAgentic Testing and the Bugs Coding Agents Actually ShipAndrew Ng
articleAgentChaos: Chaos Engineering for Agent Systems via Programmatic Fault InjectionGou Tan, Zhensu Sun, Jieke Shi, Ting Zhang, Zilong He, Qingfu Wu, Shuai Liang, Weifeng Sun, Junda He, Pengfei Chen, Chuanfu Zhang, Lwin Khin Shar, David Lo
articleWhen Passing Tests Hides Vulnerabilities: An Empirical Study of Silent Failures in Agentic SystemsWenji Bai, Muhammad Waseem, Zeeshan Rasheed, Jaakko Peltonen, Pekka Abrahamsson
Checking sign-in…
Loading comments…