The Prompt Is the Framework: Agent Framework Scaffolding, Not Orchestration, Drives Failure Rates
Developers choose an agent framework expecting it to orchestrate a model, not to change how the model behaves. We test that assumption with a benchmark of 100 scenarios engineered to provoke five failure modes from the MAST taxonomy, run identically on LangGraph, CrewAI and the OpenAI Agents SDK with the same model, tools and decoding settings. Across 1,200 runs, CrewAI fails 48.2% of trials overall and 47.1% on the three modes where frameworks differ, against 14.6% for LangGraph and 24.2% for the OpenAI Agents SDK. We then show the cause is not orchestration: transplanting CrewAI's prompt scaffolding into the other two frameworks reproduces CrewAI's failure rate (45.4% and 43.3%), while giving CrewAI neutral wording removes most of its excess (29.2%). On gpt-5.4-mini the effect largely disappears for step repetition and termination, but persists for clarification-seeking: a single sentence that CrewAI appends to every task -- "you MUST return the actual complete content as the final answer" -- roughly doubles the rate at which agents act on an underspecified request instead of asking (32.5% to 61.2% on qwen2.5 7B, 22.5% to 45.0% on gpt-5.4-mini). Deleting that sentence from the full scaffold does not help, because the surrounding completion-oriented framing carries the same pressure. We release the benchmark, harnesses and graders as an installable tool. Code, all 2,880 runs with traces and judge verdicts, and the analysis scripts:https://github.com/Arthgitt/agentstress (pip install agentstress) Frameworks measured: LangGraph 1.2.11, CrewAI 1.15.17, OpenAI Agents SDK 0.22.2.Models: qwen2.5:7b-instruct (local, via Ollama) and gpt-5.4-mini.
Authors
- Arth Patel
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-26
- DOI
- https://doi.org/10.5281/zenodo.24570124
- Primary Topic
- Natural Language Processing Techniques
- Type
- preprint