Sovereign AI reference-architecture layers
Separate experience, workload, knowledge, model, gateway, platform, supply-chain, operations, and evidence responsibilities.
Before you start
Module prerequisites: SAI-100, SAI-110. Check the exercise-specific tools and environment before running commands.
Module outcomes: Select an appropriate deployment pattern; Document portability and concentration decisions; Place assurance points across the lifecycle. This lesson contributes to that sequence.
Why use layers
Layers separate responsibilities that change at different rates and may be owned by different teams. They help expose missing controls and prevent one product from being mistaken for the complete architecture.
Layers are logical responsibilities, not mandatory deployment tiers. A component may implement several layers, but its responsibilities and interfaces should remain explicit.
Experience and consuming systems
User interfaces, business applications, APIs, and automated consumers establish user context, intended use, input constraints, output presentation, citations, human responsibility, and escalation.
AI gateway and policy
The gateway or equivalent policy boundary authenticates requests, propagates identity, classifies inputs, applies DLP or content rules, selects approved routes, enforces egress and tool policy, inspects responses, and records decisions.
Avoid designing it as only a reverse proxy. Its authority and bypass paths matter.
Workload orchestration
Application and workflow services manage conversation or job state, prompt assembly, retrieval calls, tool requests, model requests, validation, retries, fallbacks, and business rules.
Knowledge and retrieval
Ingestion, parsing, classification, chunking, embedding, indexes, retrieval, reranking, citations, lineage, permissions, deletion, and evaluation belong here. Preserve source authority and access policy through the complete flow.
Models and inference
Model registries, packaging, serving runtimes, adapters, routing, capacity, hardware, safety configuration, versions, and retirement form the inference layer. Separate model approval from runtime operation.
Tools and controlled execution
Tool registries, schemas, identity delegation, allowlists, sandboxes, human approval, execution limits, memory, result validation, and run receipts control actions beyond text generation.
Platform and protected runtime
Compute, accelerators, orchestration, networks, storage, identity, secrets, keys, security controls, backup, recovery, and administrative planes establish the deployment boundary.
Artifact and model supply chain
Source, scanning, licenses, SBOMs, signatures, registries, package repositories, model stores, builds, promotion, and offline import control what enters the runtime.
Operations, evaluation, and FinOps
Metrics, logs, traces, evaluation, release gates, service objectives, incidents, capacity, cost, backup, recovery tests, and change management keep the system controlled over time.
Governance and evidence plane
System ownership, policies, decisions, control mappings, exceptions, approvals, model and artifact identities, evaluation results, audit events, and evidence retention provide traceability across every layer.
Layer review
For every layer, identify owner, authoritative configuration, interfaces, trust zone, dependencies, control objectives, evidence, failure behavior, recovery method, and portability requirement. Missing answers become readiness backlog items.
Module worked example
The logical diagram shows a gateway, but the deployment view exposes a second model endpoint.
- Apply the control
- Draw the alternate route and close or govern it before accepting the architecture decision.
- Expected result
- Context, deployment and control views agree about reachable paths and owners.
- Troubleshooting
- Compare diagrams using the same actors, interfaces and resource identifiers; inconsistent names can hide a bypass.
Practice and completion check
Choose one control from this lesson. Identify its actor, target, enforcement point and expected result. Describe an allowed case and a denied or failed case. For a runnable exercise, retain observed output and separate it from expected output. Record unresolved limitations before marking the lesson complete.
Your lesson progress
Completion is self-reported learning progress; it does not certify practical competence.
Status: Not marked
Loading your learning record…