Part 2 of 8 in The Last Mile of Enterprise AI. Last week: which human, at which step, with what authority.
A demo shows that something can work. Production requires that it work on the ten-thousandth document, on a Friday, after the vendor quietly updates the model. The distance between those two is where most enterprise AI projects stop.
The arithmetic of long tasks
Suppose each step an agent takes is right 95% of the time. That sounds strong. A twenty-step task then succeeds about 36% of the time, because the errors multiply: 0.95 to the twentieth power. At 99% per step, the same task succeeds about 82% of the time.
This is why agent work is so unforgiving. Small gains in per-step accuracy produce large gains in whether the job finishes, which is why we would take a dull system that is right 99% of the time per step over a clever one at 95%.
Benchmarks will not tell you
Published scores describe a model on a public test. They do not describe your system on your data. Reports on 2026 enterprise deployments put the gap between benchmark scores and observed production success at around 37 percentage points, driven by brittleness on long tasks, compounding tool errors and silent degradation. It's a soft number, but nobody who has shipped an agent would argue with the direction.
Failure is silent
Traditional software breaks loudly. A drop in faithfulness or relevance generates no stack trace and no alert, only quietly worse output. Things also change underneath you.
A Stanford study found one model's accuracy on a simple maths task falling from 84% to 51% within three months, with no announcement. If you are not measuring, you learn about a regression like that from a customer.
The fix is boring, and it works
Reliability comes from measurement, and the instrument is an evaluation suite, usually shortened to evals. It has four parts.
A golden dataset. A set of real inputs paired with the correct behavior, agreed by people who know the work. It does not need to be large. Between 30 and 200 cases is enough to start, split roughly 60% normal, 30% edge cases and 10% adversarial. Galileo suggests growing it toward 200 to 500, drawn from real production failures. Quality matters more than size: these are the cases your business cares about, labeled by your experts.
Graders. Some checks are mechanical: is the output valid, were the right tools called, are the required fields present. Others need judgment, and there the common method is a second model acting as judge against a written rubric. We hold to two rules here: the judge should not be the same model that did the work, and it has to be calibrated against people. An uncalibrated judge can score very consistently and still be measuring the wrong thing.
A gate in the build process. Every change to a prompt, a model version, a retrieval setting or a tool runs against the golden dataset before it ships. If quality drops past a threshold, the change does not go out.
Production monitoring. The golden dataset covers the failures you know. Real users find the ones you do not. So you sample live traffic, grade it, and send uncertain cases to human review.
The discipline that matters most
The rule we hold to: each production failure gets added to the golden dataset before the ticket is closed. After six months, the dataset is a record of every mistake the system has learned not to repeat.
Error analysis before anything else
Teams often start by tuning prompts. We would rather start by reading failures: take a hundred bad outputs, sort them by cause, and count. Usually a few categories account for most of the damage: a document layout the parser mishandles, an ambiguous instruction, a missing piece of reference data. Fix the biggest category, re-run, repeat. This work is closer to quality control than to AI research.
Engineering around the model
Several techniques raise reliability without a better model. The simplest is to break long tasks into short ones with a check after each. Use ordinary code wherever the logic is fixed; there is no reason to ask a model to add up an invoice. Constrain outputs to a schema, so malformed answers get rejected automatically instead of flowing downstream.
And have the system report its own uncertainty. Low-confidence cases go to a person, and so does anything that still fails after two or three retries.
Who does what
The tech lead decides what to measure, sets the thresholds, and writes the rubric the graders use. The client's experts supply the correct answers for the golden dataset, and the pod turns their review decisions into new cases every week. Engineers wire the suite into the build and the monitoring, calibrate the model judge against the experts' verdicts, and sort failures into categories so the biggest one gets fixed first. None of it needs a large team, just a few people who know what good evals look like and keep them current.
A team that owns evals can switch models when a cheaper one appears, because it can prove the new one is as good. Without them you are stuck with whatever you shipped first, since there is no way to tell whether anything else is better.
Next week: Productivity comes from redesigning the workflow.