The 4-layer AI stack

Advanced AI Architecture: Strategy, Stack & Daily Practice — lesson 4 of 20 (DEFINITION)

Layer 1: Models (Claude, GPT, Gemini, open-source via API). Layer 2: Context (your data — RAG, vector DB, MCP connections). Layer 3: Orchestration (agents, workflows, automations). Layer 4: Interface (chat, apps, embedded features). Own layers 2–3; rent 1 and 4.

Source: a16z — Emerging LLM App Stack

Previous lesson · Next lesson · Course overview · All courses