Skip to content
Segun UmoruSEGUN UMORU

AI Engineering

The AI Intelligence Layer: The Missing Architecture Between Enterprise Data and Generative AI

Roughly 95% of enterprise generative-AI pilots deliver no measurable impact. The constraint was never model capability — it is a missing architectural tier between the data platform and the application.

Segun Umoru12 min read
Share

Part 1 of the Data & AI Engineering Platforms series

There is a number that has been quoted so often it has started to lose its force. MIT's NANDA initiative, in The GenAI Divide: State of AI in Business 2025, found that roughly 95% of enterprise generative-AI pilots produced no measurable impact on profit and loss. The study drew on 150 executive interviews, a survey of 350 employees, and an analysis of 300 public deployments.

Most people read that number as a verdict on the technology. It isn't. The report is explicit that the failure is almost never the model. Gartner reached the same conclusion from a different direction, projecting that through 2026 organisations will abandon 60% of AI projects that aren't supported by AI-ready data. S&P Global found the share of companies abandoning most of their AI initiatives jumped from 17% to 42% in a single year.

Read those together and a pattern emerges that should be uncomfortable for anyone building in this space. The models kept getting better. The results didn't follow. Which means the constraint was never model capability.

I want to argue something more specific than "data quality matters," because that phrase has been repeated into meaninglessness. The constraint is architectural. There is a layer missing from most enterprise stacks — a layer that sits between the data platform and the generative-AI application, and does the work neither of them was designed to do. Without it, every AI initiative is a bespoke integration project that has to solve the same problems again from scratch.

That layer is the subject of this series. This first article defines it and explains why it has to exist. The nine that follow build it.

What actually happens when a pilot fails

Let me describe a failure I've now seen in several forms, because the abstraction only makes sense once you've seen the concrete version.

A logistics business wants an assistant that answers operational questions. Which shipments are at risk this week? What did we agree with this carrier on detention charges? Why did margin drop on the Lagos–Kano lane?

The team does the obvious thing. They connect an LLM to the TMS database, add a vector store over the contracts and SOPs, write a good system prompt, and demo it. The demo is impressive. Everyone is encouraged.

Then it meets reality.

Someone asks about "on-time delivery" and the assistant answers confidently — using the TMS definition, which measures against the last rescheduled appointment. The operations team measures against the original commitment. Finance measures against the contractual window. Three defensible definitions, three different numbers, and the assistant has no idea the ambiguity exists. It doesn't hedge, because nothing in its context told it there was anything to hedge about.

Someone asks about a rate and gets an answer from a superseded contract, because the vector store holds three versions of the same agreement and similarity search has no concept of "current."

A dispatcher asks about a customer they have no business seeing, and gets a complete answer, because the retrieval layer never knew who was asking.

Someone asks why margin dropped, and the assistant produces a fluent, plausible, entirely invented explanation — because the data needed to answer it lives in a spreadsheet that never made it into any system.

Every one of those failures is real. Not one of them is a model failure. A better model answers all of them just as confidently and just as wrongly. That is the part teams consistently misjudge: capability improvements don't fix these, because the missing information was never in the context to begin with.

What's missing is not intelligence. It's the scaffolding that makes intelligence applicable to a specific business.

Two things that are not the intelligence layer

Before defining it, it helps to rule out the two candidates most teams reach for.

Your data warehouse is not it

A warehouse is optimised for a human analyst who knows the business. That analyst carries an enormous amount of context in their head: which table is authoritative, which column was deprecated in the 2024 migration, which region's data is always two days late, which metric the CFO means when she says "revenue."

None of that is written down. It lives in institutional memory and Slack threads.

An analyst tolerates ambiguity and resolves it by asking a colleague. An agent cannot. It doesn't know what it doesn't know, and it has no colleague to ask. Handing an LLM raw table access is handing it a library with no catalogue and no librarian, then being surprised when it cites the wrong book with total confidence.

Your model provider is not it

The LLM is a reasoning engine. It is genuinely remarkable and almost entirely generic. It knows nothing about your carriers, your SKUs, your margin structure, or your approval thresholds — and it never will, because that information changes weekly and lives in your systems.

Fine-tuning doesn't close this gap either. Fine-tuning shapes behaviour and style. It is a poor and expensive mechanism for delivering facts that change daily.

So one layer holds the facts but not the meaning, and the other holds the reasoning but not the facts. The intelligence layer is what stands between them.

Defining the AI intelligence layer

The AI intelligence layer is the architectural tier that turns enterprise data into governed, contextual, permission-aware, machine-consumable knowledge — and exposes it to AI systems through a stable interface.

Three phrases in that definition carry the weight.

Governed — every fact it serves has a defined owner, a definition, and a lineage. When the assistant says on-time delivery was 87%, there is exactly one definition of on-time delivery in the organisation, and it can be traced.

Permission-aware — retrieval is scoped to the identity making the request. Not filtered afterwards. Scoped at query time, so restricted data never enters the context window at all. Anything that reaches the model must be assumed to be reachable in the output.

Machine-consumable — structured for a system that cannot ask a follow-up question. Explicit where a human would infer. Where a dashboard can leave a column header ambiguous because the viewer knows what it means, the intelligence layer cannot.

The last part of the definition matters most for cost. A stable interface. The reason most organisations rebuild their integration from scratch for every AI use case is that they have no shared tier to build against. The intelligence layer is what makes the second AI project cheaper than the first — and the fifth nearly free. Without it, you don't have an AI platform. You have a growing collection of unrelated AI projects that happen to share a vendor.

The five capabilities

An intelligence layer isn't a product you buy. It's a set of capabilities you assemble. Five of them, and skipping any one produces a recognisable failure mode.

Five capabilities: semantics, knowledge, policy, action and evaluation. Each is paired with the failure that follows from skipping it.

1. Semantics — what the business means

A shared, versioned definition of every entity and metric that matters. What a shipment is. What active customer means. How gross margin is calculated, and by whom.

This is the semantic layer, and it has been a good idea in analytics for two decades. Generative AI changes it from good practice into a hard requirement. When a human sees an ambiguous metric in a dashboard, they apply judgement. When an agent encounters one, it picks one and states it as fact.

The architectural insight is that the model should generate queries against governed definitions, not against raw tables. The difference is between an agent that re-implements business logic on the fly — differently each time — and one that composes pre-defined, audited measures.

Skip this and you get: confident, inconsistent answers. The same question asked twice, answered differently, and no way to explain which was right.

2. Knowledge — what the business knows

Most of what an organisation knows isn't in a database. It's in contracts, SOPs, email threads, incident reports, meeting notes, and PDFs nobody has opened since 2023.

Turning that into retrievable knowledge is more than embedding documents into a vector store. It needs chunking that respects document structure, metadata that captures recency and authority and version, relationship modelling for entities that appear across documents, and — critically — a notion of supersession. The 2026 rate card must win over the 2024 one, and similarity search has no opinion about which is current, because both are equally similar to the question.

This is where knowledge graphs earn their place alongside vector search. A vector store answers what text resembles this question. A graph answers what is connected to what. "Which contracts govern this customer's shipments on this lane, and which is currently in force?" is a graph question wearing a search question's clothing.

Skip this and you get: answers from superseded documents, delivered with the same confidence as answers from current ones.

3. Policy — who may know what

Enterprise AI has an access-control problem that conventional applications don't. A traditional app returns a row or refuses to. A generative system reads widely, synthesises, and produces prose — and prose leaks. A summary of documents a user shouldn't have seen is still a disclosure, even if no field is quoted verbatim.

So permissions have to be enforced at retrieval, as part of the query, not as a filter over results and never as an instruction in a prompt. Prompt-level access control is not access control. It is a request, and requests can be talked out of.

Same for actions. An agent that can issue a refund needs the same authorisation checks as the human who would otherwise do it, plus limits — value thresholds, rate limits, reversibility requirements — and an audit trail that records what it did and on whose behalf.

Skip this and you get: your first serious data incident, discovered by someone outside the team.

4. Action — what the business can do

The gap between an assistant and a system that changes outcomes is the ability to act: update a record, dispatch a load, open a ticket, send a quote.

This means a tool registry with real contracts — typed inputs and outputs, documented side effects, idempotency where retries are possible, and an explicit statement of what each tool can break. The emergence of standard interfaces such as the Model Context Protocol is making this composable rather than bespoke, which matters, because the alternative is re-implementing tool access per application.

The design question is not can the agent do this but what happens when it does it wrong. Every action needs a defined blast radius and, where the blast radius is large, a human in the path.

Skip this and you get: an expensive chatbot. Useful, but it never touches the P&L, which is precisely what the 95% figure is measuring.

5. Evaluation — whether any of it is working

The capability teams skip most often, and the one that separates a pilot from a production system.

A conventional application is correct or it throws. An AI system is correct, subtly wrong, or confidently fabricated — and the last two look identical in a log file. You cannot monitor for a wrong answer with an uptime check.

This requires an evaluation set built from real questions with verified answers, regression testing on every prompt, model, or retrieval change, retrieval quality measured separately from generation quality (so you know which half failed), and production tracing that captures what was retrieved and why, not just what was returned.

I'll make a claim I'll defend properly in Part 6: AI evaluation is a data engineering problem. Building a good eval set is dataset construction, versioning, and pipeline work. Teams treat it as QA, staff it accordingly, and then cannot explain why quality moved.

Skip this and you get: a system nobody trusts, degrading in ways nobody can see, until someone quietly stops using it.

Where this sits

Four tiers, bottom to top:

Sources — ERP, CRM, TMS, WMS, spreadsheets, email, documents, third-party feeds. Heterogeneous by nature. Attempting to make them uniform is a decade-long project that fails.

Data platform — ingestion, storage, transformation, quality. Lake, warehouse, or lakehouse. Necessary, well understood, and not sufficient.

Intelligence layer — semantics, knowledge, policy, action, evaluation. The tier under discussion, and the one usually absent.

Applications — assistants, agents, copilots, decision systems, embedded features.

A four-tier stack. Applications sit at the top, the AI intelligence layer below them, then the data platform, then source systems. The intelligence layer is marked as usually absent.

The load-bearing property is the interface between the third and fourth tiers. When it's stable, applications become thin. A new agent is a new configuration of existing capabilities, not a new integration project. That is the entire economic argument: it converts AI from a series of one-off builds into a platform where marginal cost falls with each use case.

And a practical note on sequencing — this is not a two-year foundational programme before anything ships. Build the layer through the first use case, but build it as a layer, so the second one inherits it. The mistake is not starting too small; it's building the first use case as a self-contained project and discovering, at the third, that nothing is reusable.

Four anti-patterns

The RAG monolith. One vector store, all documents, one retrieval strategy. Works in a demo, degrades badly with volume, and gives you no way to reason about freshness, authority, or permission — because those distinctions were never modelled.

Prompt-based governance. Rules about what the model may access or do, written in the system prompt. This is governance theatre. Constraints must be enforced where the data and the tools are, not requested politely upstream of a probabilistic system.

The pilot with no platform. Each use case built end to end by a different team. Six months later there are five assistants, five retrieval implementations, five definitions of "customer," and no path to a sixth that costs less than the fifth.

Model-shopping. Responding to disappointing quality by swapping providers. Occasionally it helps. Usually it's a diagnosis error — the problem was retrieval, or context, or definitions, and the new model produces the same wrong answers in a slightly different voice.

Where to start

If you're looking at a stalled initiative, the diagnostic sequence I'd run:

  1. Take twenty real questions users actually asked. Not test cases — real ones, with their messiness intact.
  2. Answer them by hand, tracing exactly where each fact came from and how long it took.
  3. Classify each failure: missing data, ambiguous definition, stale document, permission problem, or genuine reasoning failure.
  4. Count the last category. In my experience it's the smallest by a wide margin. If yours is the same, you have an intelligence layer problem, not a model problem.
  5. Fix the largest category first — and build the fix as shared infrastructure, not as a patch inside one application.

That fourth step is the one worth doing honestly, because it determines whether the next six months go into prompt engineering or into architecture. Most teams that run it properly are surprised by the result.

What comes next

This series builds the layer, one tier at a time:

  • Part 2 — Architecture. From data lake to AI agents: designing the modern enterprise intelligence platform.
  • Part 3 — Knowledge. Beyond RAG: designing enterprise knowledge systems for AI agents.
  • Part 4 — Decision intelligence. From predictive models to AI decision systems.
  • Part 5 — Agents. Reasoning over structured and unstructured enterprise data.
  • Part 6 — Reliability. Why AI evaluation is a data engineering problem.
  • Part 7 — Production. What a production-grade AI platform actually looks like.
  • Parts 8–10 — Industry case studies. Logistics and 3PL, FMCG, and marketing intelligence.

The through-line: the organisations getting value from AI are not the ones with the best models. Everyone has access to the same models. They're the ones who built the layer underneath.

ai-engineeringdata-platformsenterprise-airagagents
Share