Why Event-Driven · Agent Execution
12 / 14
Why Event-Driven

Agents aren't stateless services. Their execution is non-linear.

A single task spans multiple LLM turns, multiple tool calls (some blocking for seconds), and multiple delegations to peer agents. Duration is unpredictable.

Coordinating this via synchronous HTTP means holding connections open for minutes and accepting task loss on any network partition.

User TASK Agent Core LLM LOOP Tool Call EXTERNAL API Tool Call DATABASE Peer Agent DELEGATION Tool Call MCP SERVER Result RESPONSE DURATION: UNPREDICTABLE · CALLS: PARALLEL OR SEQUENTIAL