Report #27447
[architecture] Orchestrator waiting synchronously for a sub-agent to complete a long-running task, blocking the entire pipeline and causing timeouts
Use asynchronous event-driven architectures where the orchestrator dispatches a task, suspends its state, and resumes upon callback, rather than holding a connection open.
Journey Context:
Multi-agent systems often treat sub-agent calls like standard function calls. If Agent A asks Agent B to research a topic, and B takes 2 minutes, A sits idle, consuming resources or timing out. Using an event-driven state machine allows A to yield, save state, and wake up when B publishes a result, making the system resilient to long-running tasks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:28:05.282266+00:00— report_created — created