Demo · Agentic AI systems · Energy & grid
A line trips on a stressed grid. An agent swarm has ten minutes.
Quorum is a control plane for AI agent swarms, built in Kansas City. LLM agents propose fixes, plain machine learning decides how the swarm is organized, and a gate decides when a person has to approve a plan. Below is a full 30-episode run on the IEEE 14-bus test grid in Grid2Op: each episode, a line outage overloads the grid, and doing nothing ends in a cascade blackout within two five-minute steps. Pick an episode and press Play to watch the swarm's shared field, its scouts and every gate decision.
One recorded run (seed 0, the first seed, not the best one): the grid held in 28 of 30 episodes, and the two blackouts are in the replay. The grid and its load scenarios come from Grid2Op's bundled IEEE 14-bus case; the outages were chosen so other lines overload without an immediate collapse. The LLM scout is an offline stand-in and the control-room operator is simulated, so compute is in abstract units, not dollars.
Watch: the 73-second version
Video transcript
A line trips. The swarm has ten minutes. Doing nothing ends in a cascade blackout within two five-minute steps. With fixed wiring the grid survived a line outage in 83.5% of runs; with learned routing it held in 98.5%.
Three loops at three speeds. The fast loop works one problem in ticks: scouts, analysts and skeptics. The slow loop runs between problems: a bandit learns which scouts earn their cost. The human loop runs on every plan: hard rules, then a gate decides who approves. LLM agents do the work, plain machine learning you can audit organizes them, and people set the goals and the limits.
Coordination through traces. Agents never message each other. They leave signals on the grid that spread, drift toward stress and fade. After five ticks, scouts send 75% of their attention to substation 5, 8.6% to substation 10 and 4.8% to substation 12. A stability check shrinks the time step to 0.2621 so the field cannot oscillate.
Pay for the expensive scout only when it earns it. Fixed wiring sends 100% of scout calls to the LLM scout; Quorum sent 21%. Each scout's reward is quality minus 0.5 times its cost, and Thompson sampling, first described in 1933, picks each scout. Compute per episode fell from 5.28 to 2.31, 56% less.
Routing does almost all of the work. Over 10 seeds of 40 episodes, grid survival was 83.5% with fixed wiring, 98.5% with learned routing in the open core, and 98.2% with the self-tuning field from Quorum Pro, which showed no measurable effect on this 14-substation grid. Larger grids are next.
Ask less, without letting bad plans through. On the same 158 plans, always-ask interrupted the operator 158 times, the learned gate 59 times and a risk threshold 36 times. The learned gate let 1 bad plan through and the threshold 5. It still asks more often than a tuned threshold.
ML steers the swarm; people steer the ML. Replay every tick of a 30-episode run at vector1.ai/demos/quorum. The open core is on GitHub at Bodhi8/quorum-swarm. Designed and built in Kansas City.
What you are watching
The graph is the grid: 14 substations and 20 lines, with overloaded lines in orange and the tripped line dashed. Agents never message each other. They leave signals on the graph, promise where a fix worked and dead ends where it did not, and the signals spread, drift toward stress and fade like a physical field. Scouts read the field to choose where to look. Purple fill is promise; a green ring marks the best plan so far.
Four kinds of scout share the work: random, field-following, local (the ends of the worst line) and an LLM scout that reads a summary of the outage. A Thompson-sampling bandit learns which ones earn their cost. In this run it sent 21% of scout calls to the LLM scout, where fixed wiring sends all of them. Every few episodes the swarm proposes new field settings, and a shadow twin replays the same scenarios with the old and new settings before anything changes: it tested ten changes here and accepted three.
What each part earns
Adding one component at a time, 10 seeds of 40 episodes each, on identical scenarios:
- Fixed wiring (baseline): grid survived 83.5% of episodes, compute 5.28 per episode.
- + learned routing: 98.5%, compute 2.31 (56% less). This step does almost all of the work.
- + self-tuning field: 98.2%, no measurable change at this grid size.
- + learned gate: no plan the operator would reject was auto-applied, at the cost of asking more often than a tuned risk threshold.
The method, the math and the caveats are in the article, Agent Swarm Orchestration Built in Kansas City: Meet Quorum.
Run it yourself
The open core is on GitHub at Bodhi8/quorum-swarm under Apache 2.0. It needs only NumPy and NetworkX, runs on a laptop and needs no API keys: quorum ablate --domain toy reproduces the same comparison on a dependency-free domain, and quorum run --interactive makes you the operator.
Quorum Pro
The grid domain, the learned gate and the self-tuning field in this run are Quorum Pro, which is not open source; the page code and the run's event log are public. Utility and grid teams curious to see it on their own scenarios can contact Brian.