Become an applied AI engineer

27 modules · 253 lessons (213 required) · 80 projects · Python only · Facts dated November 2026

Your path

Select a station to see its lessons. The colours are the six stages.

FoundationsUnderstand LLMsRetrievalAgents & multimodalProductionShip & get hired
00Dev Foundations0/9 · you are here01APython Essentials11 lessons01BPython for AI11 lessons01CConcurrency7 lessons02How LLMs Work9 lessons03LLM APIs13 lessons04Prompt & Context10 lessons05Data Engineering9 lessons06Embeddings & Search10 lessons07RAG11 lessons08AAgent Foundations15 lessons08BContext & Memory5 lessons08CPlanning & Long Runs3 lessons08DMulti-Agent3 lessons08EProtocols & MCP4 lessons08FFrameworks10 lessons09Voice & Multimodal3 lessons10AEval Foundations12 lessons10BEval Frameworks7 lessons11AObservability5 lessons11BCost & Tokens8 lessons11CDeploy & Reliability5 lessons12Safety & Security10 lessons13AProduct Engineering8 lessons13BCapstones5 lessons14AWorking Here10 lessons14BCareer AppendixoptionalSTART HERE

Term of the day

"a" / "x" / "r+" modes

Append / exclusive-create / read+write file modes.

Projects

0 / 80projects complete: starter and stretch, with a capstone in Module 13
Module 08B · Agents & multimodal

Context, State and Memory

Applied AI engineers whose agents have to remember things: what happened earlier in a run, what a user said last week, and what must not leak from one customer to another. Module 08A gave you the loop, the tools and the patterns; this module adds the state that survives a context window and a session. It starts with the kinds of state and how to manage sessions safely, gives one broad lesson on agent memory, then goes deeper on short-term memory and compaction, on long-term memory operations, and on what breaks (stale, conflicting and poisoned memories, context rot) and what to run it on (Redis, Postgres, DynamoDB, instruction files). All code is Python, and everything you build here (the session store, the trimming strategies, the `MemoryStore`, the guards) runs with no API key and no services.

5 lessons0 projects45k words0/5 complete
Esc
02.2Tokens and TokenizationHow LLMs Work · 21k wordsLesson
02.3EmbeddingsHow LLMs Work · 18k wordsLesson
07Retrieval-Augmented Generation (RAG)11 lessons · Everyone who will build LLM features that must answer from knowledge the model doesn't have in its weights: internal handbooks and help centres, contracts, ticket histories, product docs, or any corpus that changes faster than a training run. The module covers the full RAG stack — architecture, retrieval strategy, query understanding, grounded generation, citations, conversation, managed services, advanced patterns, evaluation, debugging and production operation — and shows where each major provider's managed retrieval and citation features fit (OpenAI, Anthropic, Google Gemini and OpenRouter). All code is Python.Overview
08E.1The Model Context Protocol (MCP)Protocols and Extensibility · 12k wordsLesson
↑ ↓ navigate↵ openesc close