Use it only when a single agent with tools is not enough.
Typical design: an orchestrator routes tasks to specialist agents (retrieval, coding, analysis) that share state through clear contracts.
Control flow: step and cost limits, timeouts, loop detection, and a human in the loop for risky actions.
Keep roles separate: the LLM reasons, the orchestrator controls flow, a policy layer governs, and a sandbox executes.
Observability: trace every agent call and tool result under one request ID.
Evaluate end-to-end task success first, then per-agent metrics.
Loading…