Multi-Agentic Software Development Is a Distributed Systems Problem
TL;DR Highlight
Treating multi-agent coding as distributed consensus shows limits that smarter models cannot remove
Who Should Read
A backend developer running parallel coding agents who keeps hitting design conflicts and flip-flop loops
Core Mechanics
- Multiple agents means a consensus problem
- A prompt is ambiguous, so many programs can satisfy it.
- Several agents must all agree on one interpretation among them.
- Ambiguity only vanishes at code level
- Natural-language prompts are inherently ambiguous, the author says.
- Removing it means going all the way to code, which is just one agent.
- A supervisor agent is not the answer
- Merging PRs into git does not solve concurrency and only hard-codes one approach.
- Rebases and conflicts mean some work gets lost.
- FLP: you can't have safety, liveness, and fault tolerance together
- The FLP theorem (1985) says that in an asynchronous system with even one crash, no deterministic protocol guarantees consensus in bounded time.
- Agents choose when to read messages and can crash via infinite loops or pkill, so the author says the assumptions hold.
- Agents flipping each other's design decisions back and forth is cited as failed consensus.
- Misreadings act like Byzantine faults
- Treat an agent that misunderstands the prompt as a Byzantine node, and consensus is impossible once misreadings exceed (n-1)/3.
- The author says smarter models do not change this bound.
- Tests turn misreadings into crashes
- Tests, static analysis, and verification convert misinterpretations into crash failures.
- The agent stops or refines its reading instead of proceeding with a wrong one.
- The author also suggests giving agents a tool like ps to act as a failure detector.
Community Reactions
- Running a multi-agent pipeline led to the same conclusion, one commenter says
- They use gates between plan, design, and code with deterministic checks (compile, lint) plus an agentic reviewer.
- Deterministic gates give a hard floor, agentic gates give soft probabilistic assertions.
- FLP is about deterministic consensus, one commenter objects
- The post never mentions probability, and Ben-Or (1983) randomized consensus is a counterexample to FLP.
- They add that agents lack independent randomness, so it does not carry over cleanly.
- Agents share weights, so they err in the same direction, one commenter argues
- The 3f+1 bound assumes independent faults, but LLMs share weights, training data, and priors.
- Consensus succeeding on a shared bias is arguably worse than a failed vote.
- A commenter running 3-4 agents with a supervisor saw a bottleneck coming
- The supervisor can hold the full context at this scale.
- They expect it to become a single coordination bottleneck, like a human tech lead.
How to Apply
- Add deterministic gates between agent stages
- Today, make compile, lint, and test runs a required gate between plan and code.
- If it fails, make the agent fix its interpretation instead of passing work on.
- Give agents a liveness check tool
- Allow parallel agents to use ps or read status files to see whether peers are alive.
- Time out unresponsive agents and reassign their work.
- Pin key design decisions before parallel work
- Have one agent choose libraries, async style, and interfaces, and write them to a shared doc.
- Make the other agents read and follow that doc.
- Cap flip-flop loops
- Detect two agents alternately editing the same file and stop after N rounds.
- Hand the decision to a supervisor agent or a human.
Try It
# Paste into Claude Code or ChatGPT (simplified checklist prompt based on the post's ideas)
You are a distributed systems reviewer. Analyze the multi-agent coding workflow below.
[Workflow description]
{{agent roles, how work is split, how they communicate}}
Answer item by item.
1. Five ambiguous design decisions the agents could interpret differently
2. Whether there is detection and recovery when an agent hangs or loops forever
3. Points where agents could keep reverting each other's decisions
4. Where to place tests, lint, or type-check gates that turn misreadings into crashes
5. A list of decisions to pin down before parallel work startsTerminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques