Report #22266
[architecture] Using a central LLM as an orchestrator to sequentially decide the next agent step, creating massive latency and non-determinism
Replace the LLM orchestrator with a deterministic graph \(state machine\) for workflow control; use LLM agents only for the actual cognitive work within the graph nodes.
Journey Context:
Using an LLM to decide 'what to do next' at every step is slow, expensive, and prone to routing errors. If the workflow is mostly static \(e.g., Plan -> Code -> Test\), a hardcoded graph \(DAG\) should route the outputs deterministically. LLMs should only route when the path is genuinely dynamic and unknown.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T15:47:02.924307+00:00— report_created — created