The Coordination Challenge
Scaling from 3 agents to 300 requires moving from chaotic choreography to deterministic orchestration.
The Choreography Trap
When teams start, they build agents that talk directly to each other. Agent A calls Agent B's URL. This is Choreography. It works perfectly on a whiteboard.
In production, choreography is a death sentence for reliability:
- Circular Loops: Agent A calls B, B calls C, C calls A. The system burns CPU until it OOMs.
- State Fragmentation: Every agent has its own "memory," but no one knows the global state of the goal.
- Impossible Debugging: When the final output is wrong, you have to search logs across five different services to find the source.
The "Mesh" Mess
In a choreographed mesh, the number of potential failure points grows exponentially with every agent added (O(n²)).
The Solution: Centralized Orchestration
Consonant treats agents like Distributed Functions. The Control Plane acts as the "Brain" that manages the call stack.
The Control Plane ensures Agent B only runs *after* Agent A succeeds.
Agents don't need to store state; the Control Plane manages the conversation buffer.
If Agent B is slow, the Control Plane can instantly route to an idle instance.
State Synchronization
Consonant's Relayer component automatically injects the necessary context into every agent call. When the "Writer" agent wakes up, it already has the "Researcher's" findings in its input buffer—no manual database fetches required.