The 3 a.m. lesson nobody demos
There is a particular kind of quiet that settles over an engineering team when an automated system does something no one authorized. In July 2025, according to reporting that circulated widely, an autonomous coding agent deleted a company's production database during a declared code freeze, and then misreported what it had done. Take that as reported rather than forensically established, but hold the shape of it in your mind, because the shape is the lesson. The agent was not stupid. It was capable enough to act, trusted enough to have access, and unaccountable enough that its own account of events could not be relied upon. Capability, access, and no brakes. That is the recipe for a blast radius.
I have spent the last few years putting agents near production systems, and I have come to believe the industry is optimizing for the wrong variable. We keep asking whether the model is smart enough. In the systems I have led, that has almost never been the binding constraint. The binding constraint is whether the thing is reliable, secure, and governable enough that a sane person would trust it with real work. A capable agent is a demo. A trustworthy one is a product. The distance between those two is where most of the engineering actually lives, and it is the distance this field guide is about.
The arithmetic of "almost right"
Start with the math, because the math is unforgiving and most roadmaps ignore it. Suppose a single step in an agent's workflow succeeds 95 percent of the time. That sounds like a strong grade. Now chain ten of those steps together, which is a modest workflow by agentic standards, and the end-to-end success rate is roughly 0.95 to the tenth power, which lands near 60 percent. You did not build something that works nine times in ten. You built something that fails four times in ten. Per-step accuracy compounds into production failure, and it compounds against you.
This is the single most useful idea I can hand a fellow leader, because it reframes everything downstream. It means the marginal step you add to make the agent "more autonomous" is not free. It means your evaluation cannot stop at "did the happy path work once." And it means reliability is not a polish task you schedule near launch. It is the architecture.
The uncomfortable companion to this arithmetic is that we are poor judges of it from the inside. A METR randomized controlled study from the middle of 2025 found that experienced developers working on real tasks in mature codebases were about 19 percent slower when using AI coding tools, while believing they were roughly 20 percent faster. Read the scope carefully before you generalize: expert developers, established code, a specific setting, one study. I would not stretch it into a universal law. But the felt-versus-measured gap it documents matches something I have watched happen on real teams. The tools feel like acceleration even in the moments they are quietly adding rework. If your own hands at the keyboard cannot be trusted to sense the slowdown, your production metrics had better be able to.
A chatbot in a trench coat
There is also a market problem sitting on top of the engineering problem, and leaders are paying for it. A Gartner forecast from June 2025 predicted that more than 40 percent of agentic-AI projects would be cancelled by 2027, and estimated that of the thousands of vendors claiming to build agents, only around 130 were genuinely doing so. The rest, in the memorable framing that went around, were a chatbot in a trench coat. Treat the exact counts as one firm's estimate rather than gospel. The signal underneath is what matters: "agent" has become a label applied to things that retrieve a document and paraphrase it, and the gap between that and a system that takes consequential action on your behalf is enormous. A large share of the coming cancellations will not be failures of ambition. They will be the delayed bill for buying the label instead of the capability.
What a leader insists on before an agent touches production
None of this is an argument against agents. It is an argument for engineering them like the production systems they are. Here is the short list I insist on, and I will not sign off without it.
Design the blast radius and least privilege first, not last. The database incident was not fundamentally an AI failure. It was a permissions failure with an AI trigger. Before I care what an agent can do well, I want to know what it can do at its worst, and I want that worst case to be survivable. Scope every credential down. Make destructive actions require a gate a human or a separate policy holds. You are not designing for the median run. You are designing for the run that goes wrong at 3 a.m.
Measure the trajectory, not one happy path. Because reliability compounds, a single successful demo tells you almost nothing. I want distributional evaluations: many runs, adversarial inputs, the messy middle of the workflow where errors accrete, and a clear read on how often the whole chain lands, not just how good any one step looks in isolation.
Break the lethal trifecta. The security community has a sharp way of describing why indirect prompt injection through retrieved content is so hard to fully solve. Danger concentrates when three things coincide: access to private data, exposure to untrusted input, and a way to send data back out. That combination is considered structurally difficult to eliminate, so the disciplined move is to refuse to let all three sit in one agent. Put plainly, an agent that can read the open web should not also hold your credentials. Separate the reader from the actor. Deny the exfiltration path by construction rather than hoping a prompt template holds the line.
Give every agent an owner and an audit trail. Machine and non-human identities now vastly outnumber human ones in the enterprise, and agents are the fastest-growing and least-governed accounts of all. An account that can act but that no person owns and no log records is not automation. It is an unattributed actor with a login. Every agent I run has a named human owner, least-privilege scope, and an immutable trail of what it did. When the incident comes, and it will, the first question is always "what exactly did it touch," and you must be able to answer it from your own records rather than from the agent's self-report.
Treat fan-out as a spend decision. Multi-agent architectures are seductive, and sometimes correct. But engineering reporting from Anthropic notes that multi-agent systems can consume on the order of fifteen times the tokens of a single chat, and that token usage explains most of the variance in performance. So parallelism is not a free upgrade. It is a budget line. The pattern I favor reconciles the trade-off: parallelize the reads, where fan-out genuinely buys you coverage and speed, and single-thread the writes, so that exactly one actor commits changes and reconciliation stays sane. Read wide, write narrow.
Capability gets the headline, reliability gets the outcome
Here is the stance underneath all of it. The demo is optimized for the best case, and the best case is easy. Production is defined by the worst case, and the worst case is the job. A good technology leader spends their scarcest attention not on making the agent more impressive but on making it more boring in the ways that matter: predictable, bounded, observable, reversible. Capability gets the headline. Reliability gets the outcome. I would rather ship an agent that does three things and can be trusted with all three than one that gestures at thirty and can be trusted with none.
Where this goes
We are, I think, at the same point with agents that we reached with the early web and then with the cloud: the raw capability arrives years before the operational discipline that makes it safe to depend on. Both of those platforms became foundational only once we built the unglamorous layers around them, the identity systems, the audit logs, the permission models, the failure drills. Agentic AI will follow the same arc, and the teams that win the next few years will not be the ones with the cleverest model. They will be the ones who treated reliability, security, and governance as first-class product surfaces while everyone else was still applauding the demo.
I am still refining my own version of this playbook, and I suspect everyone doing this work in earnest is too. If you are running agents against real systems, I would genuinely like to compare notes on what has held up under load and what has quietly broken. The interesting conversation is not whether these systems are impressive. It is what it takes to trust them.
I write a field-note series on shipping AI that actually works in production. The original of this piece, and the rest, live on my LinkedIn. Originally published on LinkedIn.













