RAG Is Not an Architecture
Retrieval-augmented generation is a technique. Somewhere along the way it started getting drawn on whiteboards as though it were the whole system. It isn't — and the gap between the two is where most enterprise AI projects quietly fail.
The canonical RAG diagram is three boxes: a vector store, an embedding step, and a large language model. It's genuinely useful, and for a demo it's enough. The problem is that the demo diagram gets mistaken for an architecture, and an architecture has to answer questions a demo never asks.
What the diagram leaves out
Where does the data come from, and who is allowed to see it? In a real enterprise, the same question asked by two different employees should sometimes return two different answers, because they have different entitlements. Retrieval that ignores identity and access control isn't a smaller version of the solution — it's a security incident waiting for an audit.
Then there is freshness. Documents change, get retracted, get superseded. A vector index is a cache, and every cache needs an answer to invalidation. How does a corrected policy propagate? How quickly? None of this is visible in the three-box diagram, and all of it decides whether users trust the system a month after launch.
An impressive retrieval demo tells you the technique works. It tells you almost nothing about whether the system will survive contact with the enterprise.
The parts that actually take the time
Evaluation, not generation, is where production RAG lives or dies. Without a way to measure answer quality against a known set, every prompt change is a guess and every regression is invisible until a user finds it. Observability — logging what was retrieved, what was generated, and why — is what turns "the model said something wrong" into a fixable engineering problem instead of a mystery.
And around all of it sits the unglamorous enterprise plumbing: data pipelines, identity, network boundaries, cost controls on token spend, and a fallback for when retrieval returns nothing useful. These are architecture concerns, and they are why a production RAG system looks far less like the tidy three-box picture and far more like the rest of your enterprise.
The point
None of this is an argument against RAG. It's an argument for treating retrieval as one component inside an architecture that also accounts for identity, data lifecycle, evaluation, observability, cost and failure. Draw that picture, and you have something you can put in front of an enterprise. Draw the three boxes, and you have a demo.