The hidden tax of multi-agent frameworks: Every extra abstraction layer adds 150ms of serialization overhead and hides your actual prompts
When teams debug why their agent is slow or hallucinating, they often spend hours digging through 12 stack frames of a third-party "Agent Orchestration Framework" just to find out what exact string was sent to the LLM.
Look at what an autonomous agent actually is at runtime:
- A
messages: list[dict]array. - A
while step < max_steps:loop callingawait client.chat.completions.create(...). await asyncio.gather(*[run_tool(tc) for tc in tool_calls]).
That's 60 lines of plain Python or TypeScript.
Wrapping those 60 lines in heavyweight framework abstractions buys you:
- 100–200ms of per-turn object serialization & callback overhead.
- Opaque hidden system prompts you didn't write and can't easily cache-align.
- Breaking SDK upgrades every 3 weeks.
Use thin, composable primitives (OpenAI/Anthropic SDK + MCP client + OpenTelemetry) and own your own 60-line agent loop. You'll ship faster and debug 10x easier.