Skip to content
Anand Pandey
All insights
AI

Enterprise GenAI Reference Architecture

A layered reference architecture for generative AI in the enterprise — experience, orchestration, model gateway, knowledge, tools and governance — and the design decisions that matter at each layer.

Anand PandeyPublished Oct 13, 2026Updated Nov 10, 20261 min read

Six layers

  1. Experience — chat, copilots embedded in existing apps, and APIs for other systems.
  2. Orchestration — prompt templates, agent graphs, memory and evaluation hooks.
  3. Model gateway — routing, caching, quota, cost attribution and guardrails across providers.
  4. Knowledge — retrieval over documents, data products and graphs, with entitlements enforced at query time.
  5. Tools — intent-level operations into systems of record, exposed through MCP.
  6. Governance & observability — policy, tracing, evaluation and audit across all layers.

Decisions that matter

Build the gateway first

A model gateway gives you provider independence, cost control and a single enforcement point for guardrails. Everything else can evolve behind it.

Treat retrieval as a platform

When every team builds its own RAG pipeline, entitlement leaks and quality drift are guaranteed. One governed retrieval platform serves every use case.

Separate read and write tools

Read tools can be broadly available; write tools need tighter scopes, approval checkpoints and full tracing.

Evaluate continuously

Ship with an evaluation suite, run it on every prompt, model or tool change, and monitor production quality with sampled human review.

Anti-patterns

  • Direct calls from applications to model providers.
  • Copying sensitive data into permissive vector stores.
  • Shipping without traces — unobservable AI cannot be governed.