LyraLearn AI Learning Platform
Exams
← Module 1 Β· AI Fundamentals
🎧 Listen

The Enterprise AI Stack

An AI feature in a serious organization is never just "call a model." It sits on a stack of layers, each owned and reasoned about by the architect. Understanding these layers is what separates a demo from a system you can run, secure, and defend in a review.

A layered stack diagram of the enterprise AI system from data at the bottom to the user interface at the top, with one vertical pillar of security and observability spanning every layer.

The layers

From the bottom up, a typical enterprise AI feature looks like this:

  1. Data & sources β€” the documents, records, and content the AI is allowed to see. In a .NET shop this is usually SQL Server, plus content systems like SharePoint or a CMS.
  2. Ingestion & indexing β€” a service that pulls approved content in, splits it into chunks, and turns each chunk into an embedding for search. This is a pipeline, not a one-off.
  3. Retrieval β€” given a question, find the most relevant chunks (vector + keyword search).
  4. Inference β€” the model call itself: embeddings (often local) and generation (local or cloud), behind an interface so the provider can change.
  5. Orchestration β€” the application logic that wires retrieval, prompting, validation, and guardrails together into a use-case.
  6. Presentation β€” the API and UI the user actually touches.
  7. Cross-cutting β€” security, observability, audit, and governance, present at every layer.

Why the stack matters

Each layer is a place to enforce a quality goal. Security lives at the data and inference layers (what can the AI see; where does data go). Correctness lives at retrieval and orchestration (is the answer grounded; was it validated). Cost lives at inference (local vs cloud). Observability spans all of them.

When something goes wrong β€” a hallucinated answer, a leaked record, a runaway bill β€” the architect's first move is to ask which layer failed. A platform without clear layers gives you nowhere to look.

How LyraLearn maps to the stack

This very platform is built on these layers, which makes it a working reference:

As you move through the course, you'll build each of these layers yourself.

🧠 Quiz yourself on this lesson →

Ask the AI Tutor

Grounded in the course lessons β€” it cites its sources and says when it doesn't know.