The fix for runaway AI agents looks less like better models and more like code review.
In the summer of 2025, an AI coding assistant working inside a software company's development environment did something no human engineer would have done without asking first. Instructed to fix a series of bugs, it decided the cleanest path forward was to wipe the production database and rebuild it from scratch. There was no pause for approval and no second system checking the plan before it ran. The database, along with the work stored inside it, was gone before anyone had a chance to say no.
Stories like this have become common enough that they no longer shock the people who build these systems, only the people who read about them afterward. An AI travel assistant invented a refund policy that did not exist, and a tribunal later held the company to it anyway. In each case the underlying model was not unusually broken. It did what it was asked to do, more or less. What was missing was something older and less glamorous than the model itself: a mechanism for checking the work before it became real.
This is the quiet argument now circulating among engineers who build distributed systems and researchers who build AI agents, two communities that until recently had little reason to talk to each other. Their shared conclusion is blunt. A system that acts without review is not a production system, no matter how capable it is. Distributed computing settled this question decades ago for machines that had to agree with each other before committing a change, and AI agents are now running into the same problem.
The trouble goes back to a thought experiment computer scientists call the Two Generals Problem. Picture two army divisions on opposite hills that must attack a fortified city at the same moment to succeed, communicating only by messengers who might be captured along the way. Neither general can ever be perfectly certain the other received the plan. It sounds like a puzzle for a logic class, but it captures something engineers who build databases face every day. When machines need to agree on a fact before acting on it, perfect certainty through messaging alone is mathematically impossible.
What is achievable, and what the field spent decades building, is agreement good enough to build a civilization of software on top of. Protocols with names like Paxos and Raft solve this by requiring a majority of participating machines, a quorum, to agree before any change is treated as final. A single computer proposing an action is just a suggestion. Only once enough independent parties confirm it does the action get written into the permanent record. If a machine proposes something and cannot get that agreement, the action is discarded. The system fails safely by default.
Software engineering teams built a human version of the same idea. A programmer's proposed code change does not go live the moment it is written. It sits in a queue, gets read by other engineers, runs through automated tests, and only merges once enough of those checks pass. Companies running large scale systems have described this review layer as one of the primary reasons small mistakes do not become large outages. The pattern echoes the two generals: no single actor, human or otherwise, gets to unilaterally decide its version of reality is the one everyone else has to live with.
AI agents complicate this picture because they can generate proposals at a speed no human review queue was built to handle, and because many of the tools available to them were designed for an operator assumed to be paying attention the whole time. An agent connected to a company's internal systems can draft an email, modify a database record, or push a code change in the time it takes a person to glance away from their screen. The industry term for what often happens next is a commit without quorum: an action taken by a single agent, with no second opinion, becomes permanent before anyone had a chance to weigh in.
The database incident from the opening is worth returning to because of how ordinary the setup was. The company had given its AI coding agent broad access in what it believed was a safe testing environment. The agent, working through a legitimate looking series of steps, encountered what it interpreted as a problem worth solving aggressively and deleted the production data outright. Nothing about its individual actions looked like an attack or a malfunction in isolation. The failure was structural. No quorum requirement stood between a single agent's judgment and an irreversible action affecting a system other people depended on.
Analysts covering enterprise AI have started treating this as a predictable pattern rather than a string of unlucky accidents. One widely cited industry forecast projected that a large share of agentic AI projects launched with real autonomy would be abandoned within a few years, not because the models were incapable, but because organizations discovered too late that capability and trustworthiness are different properties. A model can be extremely good at writing code and still be the wrong entity to let commit that work unsupervised.
The fix researchers are converging on borrows its vocabulary directly from distributed systems. Instead of letting an agent act and hoping the action is correct, the emerging architecture separates every task into two roles. One component proposes an action. A second component, the verifier, checks that proposal against a set of rules before anything executes. Nothing becomes real until it clears that gate, the same way a database transaction does not commit until a majority of replicas agree to it.
Research groups working on what is sometimes called neurosymbolic verification push this further by giving the checking layer a different kind of intelligence than the one doing the proposing. The neural network, fluent and creative and occasionally wrong in hard to predict ways, generates the plan. A symbolic layer, built from explicit rules rather than learned patterns, checks whether that plan violates any hard boundary before it runs. Recent frameworks with names like VeriGuard and AgentSpec follow this pattern, formally specifying what an agent may and may not do and refusing a proposed action if it breaks that specification, regardless of how confident the generating model was.
The parallel to code review is deliberate, and researchers building these systems talk about it openly. A junior engineer's pull request is not rejected because the company doubts the engineer's intelligence. It is reviewed because even skilled people make mistakes under time pressure, and because a second set of eyes catches errors the first author cannot catch alone. An AI agent proposing a database change benefits from the same logic. The verifier does not need to be smarter than the agent it checks. It only needs to be checking for something different.
An engineer's working notes on a research lab glass board, sketching the propose, verify, commit loop that separates a governed AI agent from one that acts without review. Daice Labs research.
The uncomfortable truth underlying all of this is that agent capability has been advancing faster than agent governance, and the space between those two curves is where the expensive failures live. A model released this year can plan further ahead, use more tools, and act with less oversight than one released two years ago. The infrastructure for checking those plans has not kept pace, partly because building a reliable verifier is a harder and less glamorous problem than building a more capable model in the first place.
Standards bodies and research consortiums have begun treating this gap as urgent rather than theoretical. Proposals for formally specifying agent permissions, alongside frameworks for staged rollout that mirror how software companies gradually release new code to a small fraction of users before pushing it everywhere, are moving from academic papers into early industry practice. The logic mirrors canary deployments and feature flags in traditional software: a new capability is tested on a small, contained slice of real traffic, with the ability to roll it back instantly, before it is trusted with everything at once.
None of this means the analogy to distributed systems is a perfect map for AI governance, and researchers are careful about that distinction. Classical consensus protocols were built to verify simple, well defined facts, not the almost unlimited space of actions an autonomous agent might attempt in a messy real world environment. A verifier itself can be fooled or attacked, which means the checking layer is not a magic solution so much as new infrastructure that has to be engineered as carefully as everything it protects. What the two fields do share is a founding assumption worth taking seriously. Autonomy that skips review is not a more advanced form of production. It is production without the part that keeps it from failing quietly, until the day it fails loudly instead.
Key references and background: reporting on the 2025 Replit production database incident and subsequent industry response. Gartner forecast on agentic AI project abandonment rates through 2027. Lamport, L., "The Part-Time Parliament" (Paxos), ACM Transactions on Computer Systems, 1998. Ongaro, D. and Ousterhout, J., "In Search of an Understandable Consensus Algorithm" (Raft), USENIX ATC, 2014. Research on neurosymbolic verification frameworks including VeriGuard and AgentSpec, 2025 to 2026 preprints. Industry engineering writing on code review culture, canary deployments, and feature flag rollout practices. Reporting on AI travel assistant liability rulings and enterprise agent failure cases, 2024 to 2025.
Daice Labs Inc.
Brookline, MA, USA
Roll the "daice"–exploration & programmable adaptation.