Almost every organisation has now seen an AI prototype that worked. Someone connected a model to some internal documents, asked it questions, and the answers were good enough that the room got quiet. That moment is genuine — the capability is real.
What follows is usually eighteen months of difficulty, because the distance between that prototype and something a business can depend on is almost entirely engineering, and very little of it is about the model.
What actually breaks
In our experience the failures cluster into a small number of categories, and none of them are model quality.
Retrieval, not reasoning. When a system gives a wrong answer about internal information, the model has usually reasoned correctly over the wrong context. The failure happened in chunking, embedding or ranking — well before generation. Teams tend to respond by changing the prompt, which is the one thing that will not fix it.
No definition of correct. A prototype is evaluated by a person reading the output and nodding. That does not scale, and more importantly it does not detect regression. Without an evaluation set, "we improved it" is an opinion.
Cost arriving late. Prototypes run at demo volume. The economics of a system that runs on every support ticket are different by two or three orders of magnitude, and the architecture that is correct at one volume is often wrong at the other.
Permissions leaking through context. This one is serious. A retrieval system that can read everything will happily summarise a document the asker was never entitled to see. Model context has to inherit the access control of the systems the data came from, and that is a design decision, not a filter applied afterwards.
No way to verify. When a system produces an answer a person has to act on, that person needs to see where it came from. Systems that produce confident output with no provenance get abandoned quietly — not because they are wrong often, but because nobody can tell when they are.
What we do differently
The practical answer is not sophisticated. It is mostly about doing unglamorous things first.
- Map the workflow before choosing the technique. Where does the time actually go? Which step is genuinely judgement and which is lookup? Frequently the answer is that the expensive part is not the part anyone wanted to automate.
- Build the evaluation set before the system. Thirty to a hundred real cases with known-good outcomes. It feels slow. It is the only thing that turns iteration into progress.
- Instrument retrieval separately from generation. Measure whether the right context was fetched, independently of whether the final answer was good. Most quality problems resolve immediately once these are separated.
- Design the review interface early. For anything consequential, the output needs citation, a confidence signal and a way for a person to disagree. The interface is part of the system, not a wrapper on it.
- Set a cost ceiling per operation. Make it a constraint during design rather than a discovery during the first full month of production.
On agents specifically
Agents — systems that take multi-step actions against real tools — raise the stakes on all of the above, because the output is no longer text. It is a change to something.
The engineering questions become concrete: what is this agent permitted to do, what happens when step four of seven fails, how do we stop a loop that is not converging, and can we reconstruct afterwards exactly what it did and why?
These are familiar problems. They are the problems of any automated system that acts on production, and the discipline that applies is the one we already use for that: scoped permissions, idempotency, checkpointing, audit trails, circuit breakers.
The interesting part of agent engineering is not the agent. It is the permission model around it.
The honest version
AI is a genuinely useful instrument, applied to the right problem, inside a system engineered to make its output trustworthy. It is not a shortcut around the engineering — it adds to it, because a non-deterministic component in a production system needs more scaffolding than a deterministic one, not less.
The organisations getting real value from it are the ones that treated it as an engineering problem from the start.