$ teds read --post generative-ai-stack-without-vendor-fog
The Generative AI Stack, Explained Without Vendor Fog
A plain-English map of the generative AI stack: models, data, retrieval, orchestration, evaluation, deployment, UX, and security.
The Generative AI Stack, Explained Without Vendor Fog
TL;DR
- The generative AI stack is easier to understand when you stop sorting it by vendors.
- Most AI products need models, data, retrieval or context, orchestration, evaluation, deployment, UX, and security.
- Teams often overbuild orchestration and underbuild evaluation, monitoring, and data quality.
- The right stack is the one that makes the product reliable.
Abstract
Generative AI stack diagrams often look more complicated than the products they are meant to support.
Every vendor has a layer. Every tool has a category. Every category overlaps with three others. After a while, the stack starts to look like architecture fog.
The better way to understand the stack is to ask what the system needs to do.
It needs to accept user intent, gather context, call a model, produce an output, evaluate quality, run reliably, protect sensitive data, and give users a way to trust and correct the result.
This post maps the stack around those jobs.
Table of Contents
- Why the Stack Feels Confusing
- The Stack in Plain English
- What Each Layer Does
- How the Layers Connect
- Where Teams Overbuild
- Minimum Viable Stack
- Summary
- Next Steps
Why The Stack Feels Confusing
The stack feels confusing because the market is noisy.
There are foundation model providers, open models, vector databases, embedding models, orchestration frameworks, agent frameworks, eval tools, observability tools, deployment platforms, inference servers, prompt managers, data loaders, guardrail systems, and application frameworks.
Some are useful. Some are premature. Some are categories created because a vendor needed a slide.
The confusion gets worse when teams start with the tools instead of the workflow.
Before choosing stack components, ask:
- What user task are we supporting?
- What context does the model need?
- How will quality be evaluated?
- What happens when the model is wrong?
- Where will the system run?
- What data must be protected?
The stack should follow those answers.
The Stack In Plain English
A practical generative AI stack has eight layers.
Model Layer
The model produces or interprets output. It may be a hosted LLM, an open-weight model, a vision-language model, an embedding model, or a smaller classifier.
Data Layer
The data layer stores and prepares the information the system needs: documents, tickets, code, images, logs, policies, product data, or customer records.
Retrieval Layer
The retrieval layer finds relevant context. This can include embeddings, vector search, keyword search, reranking, metadata filters, or structured queries.
Orchestration Layer
The orchestration layer coordinates steps: prompts, tool calls, retrieval, model calls, output parsing, retries, and workflow state.
Evaluation Layer
The evaluation layer tells the team whether the system works. It includes test sets, rubrics, automated checks, human review, regression tests, and production feedback.
Deployment Layer
The deployment layer runs the system. It includes inference servers, APIs, queues, caching, scaling, observability, and cost controls.
UX Layer
The UX layer is what users see and trust. It includes inputs, outputs, citations, controls, corrections, review flows, and error states.
Security Layer
The security layer protects data and users. It includes access control, privacy rules, audit logs, compliance, prompt-injection defenses, and safe handling of model outputs.
What Each Layer Does
The model layer is usually the easiest to notice and the easiest to over-center.
Models matter. A faster model, cheaper model, larger context window, better multimodal capability, or stronger reasoning behavior can change the product. But the model is not the whole system.
The data layer is often the real constraint. If documents are stale, labels are messy, permissions are unclear, or examples are missing, the model will inherit that mess.
The retrieval layer matters when the system needs private or changing knowledge. RAG can help, but only when retrieval quality, source quality, and citation UX are treated as product concerns.
The orchestration layer matters when workflows have multiple steps. It can also become a dumping ground for complexity. Do not add an agent framework when a function call, queue, or simple pipeline is enough.
The evaluation layer is what keeps the system honest. Without evals, teams cannot tell whether a prompt change, model upgrade, retrieval tweak, or fine-tune made the product better.
The deployment layer decides whether the system is usable at real cost and latency. Posts like EAGLE-3 speculative decoding in vLLM and AutoRound quantization live in this part of the stack.
The UX layer decides whether users can understand, inspect, and correct the system.
The security layer decides whether the product can be trusted with real data.
How The Layers Connect
Imagine a support assistant.
The user asks a question. The system checks permissions, retrieves relevant help center articles and past tickets, reranks the sources, prompts the model, generates a draft answer, cites sources, shows confidence or uncertainty, lets the support agent edit, captures feedback, and logs the case for evaluation.
That workflow touches every layer:
- UX for the support agent
- data for docs and tickets
- retrieval for context
- model for generation
- orchestration for the steps
- evaluation for quality
- deployment for performance
- security for customer data
The same pattern appears in document assistants, internal research tools, coding agents, and multimodal inspection workflows.
The exact tools change. The jobs remain.
Where Teams Overbuild
Teams often overbuild the visible and exciting parts.
Common overbuilds:
- complex agent orchestration before the workflow is understood
- fine-tuning before a baseline exists
- vector databases before source content is cleaned
- dashboards before quality metrics exist
- multi-model routing before one model is evaluated
Common underbuilds:
- evaluation sets
- feedback capture
- access control
- latency budgets
- cost tracking
- citation UX
- failure handling
The result is a stack that looks serious but behaves unpredictably.
Minimum Viable Stack
A prototype stack can be simple:
- one model API or local model
- a small test dataset
- a narrow workflow
- basic logging
- manual review
- a small eval set
A production stack usually needs more:
- data pipeline
- retrieval or context layer
- prompt or workflow versioning
- evaluation suite
- monitoring
- security review
- feedback loop
- clear UX boundaries
- cost and latency controls
Need a practical AI stack review? We help teams remove tool fog and design systems around the workflow that actually needs to work.
Summary
The generative AI stack is not a vendor diagram. It is a set of jobs the product must perform.
Start with the workflow. Then choose the minimum stack that makes the workflow reliable, measurable, secure, and usable.
The right stack is the one that makes the product reliable.
Next Steps
Map your AI system across eight layers:
- model
- data
- retrieval
- orchestration
- evaluation
- deployment
- UX
- security
Then mark which layers are strong, missing, or overbuilt. That map will tell you where the real work is.
Need help turning an AI idea into a working system? We build, break, and explain AI. Then we hand it back working.