Report #14629
[architecture] When to use multiple agents vs a single agent with a tool library
Default to a single agent with multiple tools. Only introduce a new agent when the system prompt fundamentally conflicts or context window limits are hit, not just to organize code.
Journey Context:
Developers often map software microservices 1:1 to AI agents, creating an 'agent per function' architecture. This causes massive overhead in context switching, inter-agent message passing, and error propagation. A single LLM with a well-defined tool schema can route internally without the latency or hallucination risk of an external handoff. Multi-agent is only justified when different models are needed, or when isolation of system prompts is required to prevent instruction bleed.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T22:08:32.279881+00:00— report_created — created