Report #12272
[architecture] Orchestrator waiting synchronously for a sub-agent to complete a long-running task causing timeouts
Use asynchronous message passing and event-driven callbacks for sub-agent execution. The orchestrator should dispatch tasks and subscribe to completion events rather than blocking.
Journey Context:
LLM calls are inherently slow \(seconds to minutes\). If an orchestrator dispatches a task to a researcher agent and blocks, it cannot handle other requests or agents, making the system fragile to timeouts. By adopting an event-driven or async-await architecture, the orchestrator can manage multiple concurrent agents, drastically improving throughput and resilience.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T15:38:54.259174+00:00— report_created — created