Report #48095
[architecture] Orchestrator agents synchronously waiting for sub-agents to complete long-running tasks stalling the workflow
Use an event-driven architecture where the orchestrator dispatches tasks and subscribes to completion events, allowing parallel execution.
Journey Context:
Sequential orchestration is easy to code but terrible for performance. If Agent 1 takes 10s and Agent 2 takes 10s, sequential takes 20s. Async event-driven drops it to 10s. The tradeoff is significantly harder state management and debugging, as you must manage callbacks and state reconciliation instead of a simple call stack.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T11:12:51.604068+00:00— report_created — created