{
  "id": 3587501,
  "title": "Why We Stopped Using LLM Agents to Control LLM Agents (Deterministic Multi-Agent FSM)",
  "url": "https://urgent.news/2026/08/26/why-we-stopped-using-llm-agents-to-control-llm-agents-deterministic",
  "topic": "ai",
  "section": "AI",
  "published": "2026-08-26T20:20:06.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/parvejshah/why-we-stopped-using-llm-agents-to-control-llm-agents-deterministic-multi-agent-fsm-4jpj"
  },
  "original_language": "en",
  "account": "The standard approach for building multi-agent systems involves a central LLM orchestrator. This orchestrator was used by Minions.AI for its automated technical content pipeline, coordinating a research agent, a draft writer, a critic agent, and a formatting specialist. However, this method led to unpredictable failures and inefficiencies in 30% of runs.\n\nIssues arose from the non-deterministic nature of the control plane, with agents oscillating between loops, poisoning shared context windows, and exhibiting non-deterministic convergence. These problems stemmed from LLMs attempting to handle state machine transitions, termination detection, and error routing—tasks better suited for typed code.\n\nTo address these challenges, a deterministic Finite State Machine (FSM) was introduced in TypeScript. This new architecture removed all control flow decisions from LLMs, delegating state transitions and termination detection to explicit code. The design includes a clear state enum, a context interface defining pipeline states, and a runContentPipeline function orchestrating the process.\n\nBy structuring the pipeline as a deterministic FSM, Minions.AI has achieved a 99.2% automated completion rate with zero loop oscillations. Inference cost variance has also been drastically reduced, from a previous range of ±120% to ±8%. This deterministic approach eliminates the unpredictable behavior seen with LLM orchestrators, ensuring that the pipeline processes content runs efficiently and reliably.",
  "summary": "Originally published at parvejshah.com/blog/deterministic-multi-agent-systems-production by Parvej Shah . The standard architecture pattern for multi-agent systems right now is an orchestration agent: a central LLM that receives a goal, decides which specialized agents to invoke, passes messages between them, and decides when the task is complete. In early 2025, we built this exact pattern for…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}