Roadmap
AI engineering roadmap
A study path through the open AI Engineering from Scratch curriculum: 20 phases, from setup and math to agents, production and capstone projects. Each lesson opens on the curriculum site. Tick the lessons you finish; your progress stays in this browser.
Learning paths
Not sure where to start? Pick one path. Each path is a short list of lessons from the phases below, in a good order.
- Start here
New to AI engineering
Set up your tools, run the course on your machine, and learn how one lesson works. Then pick a path.
- Core path
Build and ship AI apps
Prompts, structured output, embeddings and RAG first. Then evals, serving, monitoring and a safe release.
- Core path
Software engineering basics
The base every AI system needs: repo and environment, debugging, testing, security and release.
- Core path
Work with coding agents
Give an agent a clear task, plan from the real code, set up its loop, and check its work before you trust it.
- Core path
Product judgment
Decide what to build: start from the outcome, cut it into small testable slices, measure, and release in steps.
- Focused path
Model Context Protocol (MCP)
Build MCP servers, make them secure, test them, and run them in production.
- Focused path
Agent skills
Write skills that agents can load, then test, secure and package them for real agent tools.
- Focused path
Agents, LLMs and MCP under the hood
How a model turns tokens into a reply, how an agent loop plans and calls tools, and how MCP wires it all to the outside world.
01
Foundations
Tooling, math, classical ML and deep learning. Everything later stands on this.
- Phase 0Suggested
Setup & Tooling
Set up Python, Git, Docker, GPUs and API keys so every later lesson runs.
13 lessons · ~15.5 h
0/1313 lessons
- 01Dev Environment75 min
- 02Git & Collaboration45 min
- 03GPU Setup & Cloud75 min
- 04APIs & Keys75 min
- 05Jupyter Notebooks75 min
- 06Python Environments75 min
- 07Docker for AI75 min
- 08Editor Setup75 min
- 09Data Management75 min
- 10Terminal & Shell45 min
- 11Linux for AI45 min
- 12Debugging & Profiling75 min
- 13Python for AI Engineering2 h
- Phase 1Suggested
Math Foundations
Linear algebra, calculus, probability and optimization, the math behind training.
22 lessons · ~22.5 h
0/2222 lessons
- 01Linear Algebra Intuition45 min
- 02Vectors, Matrices & Operations75 min
- 03Matrix Transformations & Eigenvalues75 min
- 04Calculus for ML — Derivatives & Gradients45 min
- 05Chain Rule & Automatic Differentiation75 min
- 06Probability & Distributions45 min
- 07Bayes' Theorem & Statistical Thinking75 min
- 08Optimization — Gradient Descent Family75 min
- 09Information Theory — Entropy, KL Divergence45 min
- 10Dimensionality Reduction — PCA, t-SNE, UMAP75 min
- 11Singular Value Decomposition75 min
- 12Tensor Operations75 min
- 13Numerical Stability45 min
- 14Norms & Distances45 min
- 15Statistics for ML45 min
- 16Sampling Methods75 min
- 17Linear Systems75 min
- 18Convex Optimization75 min
- 19Complex Numbers for AI45 min
- 20The Fourier Transform75 min
- 21Graph Theory for ML45 min
- 22Stochastic Processes45 min
- Phase 2Suggested
ML Fundamentals
Classical machine learning: regression, trees, evaluation and feature work.
21 lessons · ~26.3 h
0/2121 lessons
- 01What Is Machine Learning — Types & Taxonomy45 min
- 02Linear Regression from Scratch75 min
- 03Logistic Regression & Classification75 min
- 04Decision Trees & Random Forests75 min
- 05Support Vector Machines75 min
- 06K-Nearest Neighbors & Distance Metrics75 min
- 07Unsupervised Learning — K-Means, DBSCAN75 min
- 08Feature Engineering & Selection75 min
- 09Model Evaluation — Metrics, Cross-Validation75 min
- 10Bias, Variance & the Learning Curve45 min
- 11Ensemble Methods — Boosting, Bagging, Stacking75 min
- 12Hyperparameter Tuning & AutoML75 min
- 13ML Pipelines & Experiment Tracking75 min
- 14Naive Bayes — Multinomial, Gaussian, Bernoulli75 min
- 15Time Series Fundamentals45 min
- 16Anomaly Detection75 min
- 17Handling Imbalanced Data75 min
- 18Feature Selection75 min
- 19ML System Design — From Problem to Deployed Model110 min
- 20Monitoring Models in Production — Data Drift and Concept Drift110 min
- 21Feature Stores and Training-Serving Skew100 min
- Phase 3Suggested
Deep Learning Core
Neural networks from scratch: backpropagation, layers, regularization and training loops.
13 lessons · ~14.5 h
0/1313 lessons
- 01The Perceptron — Where It All Started45 min
- 02Multi-Layer Networks & Forward Pass75 min
- 03Backpropagation from Scratch75 min
- 04Activation Functions — ReLU, Sigmoid, GELU & Why45 min
- 05Loss Functions — MSE, Cross-Entropy, Contrastive45 min
- 06Optimizers — SGD, Momentum, Adam, AdamW75 min
- 07Regularization — Dropout, Weight Decay, BatchNorm75 min
- 08Weight Initialization & Training Stability45 min
- 09Learning Rate Schedules & Warmup45 min
- 10Build Your Own Mini Framework2 h
- 11Introduction to PyTorch75 min
- 12Introduction to JAX75 min
- 13Debugging Neural Networks75 min
02
Vision, language and speech
How models see, read and hear, before transformers took over.
- Phase 4Optional depth
Computer Vision
Convolutional networks, detection, segmentation and vision transformers.
28 lessons · ~31.3 h
Covered in the Parts: Multimodal Engineering
0/2828 lessons
- 01Image Fundamentals — Pixels, Channels, Color Spaces45 min
- 02Convolutions from Scratch75 min
- 03CNNs — LeNet to ResNet75 min
- 04Image Classification75 min
- 05Transfer Learning & Fine-Tuning75 min
- 06Object Detection — YOLO from Scratch75 min
- 07Semantic Segmentation — U-Net75 min
- 08Instance Segmentation — Mask R-CNN75 min
- 09Image Generation — GANs75 min
- 10Image Generation — Diffusion Models75 min
- 11Stable Diffusion — Architecture & Fine-Tuning75 min
- 12Video Understanding — Temporal Modeling45 min
- 133D Vision — Point Clouds, NeRFs45 min
- 14Vision Transformers (ViT)45 min
- 15Real-Time Vision — Edge Deployment75 min
- 16Build a Complete Vision Pipeline2 h
- 17Self-Supervised Vision — SimCLR, DINO, MAE75 min
- 18Open-Vocabulary Vision — CLIP45 min
- 19OCR & Document Understanding45 min
- 20Image Retrieval & Metric Learning45 min
- 21Keypoint Detection & Pose Estimation45 min
- 223D Gaussian Splatting from Scratch90 min
- 23Diffusion Transformers & Rectified Flow75 min
- 24SAM 3 & Open-Vocabulary Segmentation60 min
- 25Vision-Language Models (ViT-MLP-LLM)75 min
- 26Monocular Depth & Geometry Estimation60 min
- 27Multi-Object Tracking & Video Memory60 min
- 28World Models & Video Diffusion75 min
- Phase 5Suggested
NLP — Foundations to Advanced
Tokenization, embeddings, sequence models and the road to modern language models.
29 lessons · ~30.5 h
Covered in the Parts: LLM Fundamentals
0/2929 lessons
- 01Text Processing — Tokenization, Stemming, Lemmatization45 min
- 02Bag of Words, TF-IDF & Text Representation75 min
- 03Word Embeddings — Word2Vec from Scratch75 min
- 04GloVe, FastText & Subword Embeddings45 min
- 05Sentiment Analysis75 min
- 06Named Entity Recognition (NER)75 min
- 07POS Tagging & Syntactic Parsing45 min
- 08Text Classification — CNNs & RNNs for Text75 min
- 09Sequence-to-Sequence Models75 min
- 10Attention Mechanism — The Breakthrough45 min
- 11Machine Translation75 min
- 12Text Summarization75 min
- 13Question Answering Systems75 min
- 14Information Retrieval & Search75 min
- 15Topic Modeling — LDA, BERTopic45 min
- 16Text Generation — Language Models Before Transformers45 min
- 17Chatbots — Rule-Based to Neural75 min
- 18Multilingual NLP45 min
- 19Subword Tokenization — BPE, WordPiece, Unigram, SentencePiece60 min
- 20Structured Outputs & Constrained Decoding60 min
- 21NLI & Textual Entailment60 min
- 22Embedding Models Deep Dive60 min
- 23Chunking Strategies for RAG60 min
- 24Coreference Resolution60 min
- 25Entity Linking & Disambiguation60 min
- 26Relation Extraction & Knowledge Graph Construction60 min
- 27LLM Evaluation — RAGAS, DeepEval, G-Eval75 min
- 28Long-Context Evaluation — NIAH, RULER, LongBench, MRCR60 min
- 29Dialogue State Tracking75 min
- Phase 6Optional depth
Speech & Audio
Speech recognition, synthesis and audio models.
17 lessons · ~18.5 h
Covered in the Parts: Multimodal Engineering
0/1717 lessons
- 01Audio Fundamentals — Waveforms, Sampling, Fourier Transform45 min
- 02Spectrograms, Mel Scale & Audio Features45 min
- 03Audio Classification75 min
- 04Speech Recognition (ASR)45 min
- 05Whisper — Architecture & Fine-Tuning75 min
- 06Speaker Recognition & Verification45 min
- 07Text-to-Speech (TTS)75 min
- 08Voice Cloning & Voice Conversion75 min
- 09Music Generation75 min
- 10Audio-Language Models45 min
- 11Real-Time Audio Processing75 min
- 12Build a Voice Assistant Pipeline2 h
- 13Neural Audio Codecs — EnCodec, SNAC, Mimi, DAC60 min
- 14Voice Activity Detection & Turn-Taking45 min
- 15Streaming Speech-to-Speech — Moshi, Hibiki75 min
- 16Voice Anti-Spoofing & Audio Watermarking75 min
- 17Audio Evaluation — WER, MOS, MMAU, Leaderboards60 min
03
Transformers and LLMs
Attention, generative models, reinforcement learning, and a language model built by hand.
- Phase 7Suggested
Transformers Deep Dive
Attention, the transformer block, positional encoding and the variants in use today.
16 lessons · ~16.3 h
Covered in the Parts: LLM Fundamentals
0/1616 lessons
- 01Why Transformers — The Problems with RNNs45 min
- 02Self-Attention from Scratch75 min
- 03Multi-Head Attention75 min
- 04Positional Encoding — Sinusoidal, RoPE, ALiBi45 min
- 05The Full Transformer — Encoder + Decoder75 min
- 06BERT — Masked Language Modeling45 min
- 07GPT — Causal Language Modeling75 min
- 08T5, BART — Encoder-Decoder Models45 min
- 09Vision Transformers (ViT)45 min
- 10Audio Transformers — Whisper Architecture45 min
- 11Mixture of Experts (MoE)45 min
- 12KV Cache, Flash Attention & Inference Optimization75 min
- 13Scaling Laws45 min
- 14Build a Transformer from Scratch — The Capstone2 h
- 15Attention Variants — Sliding Window, Sparse, Differential60 min
- 16Speculative Decoding — Draft, Verify, Repeat60 min
- Phase 8Optional depth
Generative AI
Generative models: autoencoders, GANs, diffusion and flow-based methods.
15 lessons · ~15.5 h
Covered in the Parts: Multimodal Engineering
0/1515 lessons
- 01Generative Models — Taxonomy & History45 min
- 02Autoencoders & VAE75 min
- 03GANs — Generator vs Discriminator75 min
- 04Conditional GANs & Pix2Pix75 min
- 05StyleGAN45 min
- 06Diffusion Models — DDPM from Scratch75 min
- 07Latent Diffusion & Stable Diffusion75 min
- 08ControlNet, LoRA & Image Conditioning75 min
- 09Inpainting, Outpainting & Image Editing75 min
- 10Video Generation45 min
- 11Audio Generation45 min
- 123D Generation45 min
- 13Flow Matching & Rectified Flows45 min
- 14Evaluation — FID, CLIP Score, Human Preference45 min
- 19Visual Autoregressive Modeling (VAR): Next-Scale Prediction90 min
- Phase 9Optional depth
Reinforcement Learning
Reinforcement learning, from bandits and Q-learning to policy gradients.
12 lessons · ~13 h
0/1212 lessons
- 01MDPs, States, Actions & Rewards45 min
- 02Dynamic Programming75 min
- 03Monte Carlo Methods75 min
- 04Temporal Difference — Q-Learning, SARSA75 min
- 05Deep Q-Networks (DQN)75 min
- 06Policy Gradient Methods — REINFORCE75 min
- 07Actor-Critic — A2C, A3C75 min
- 08Proximal Policy Optimization (PPO)75 min
- 09Reward Modeling & RLHF45 min
- 10Multi-Agent RL45 min
- 11Sim-to-Real Transfer45 min
- 12RL for Games75 min
- Phase 10Suggested
LLMs from Scratch
Pre-train, align and sample from a language model you wrote yourself.
24 lessons · ~28.4 h
Covered in the Parts: LLM Fundamentals, Inference
0/2424 lessons
- 01Tokenizers — BPE, WordPiece, SentencePiece45 min
- 02Building a Tokenizer from Scratch75 min
- 03Data Pipelines for Pre-Training75 min
- 04Pre-Training a Mini GPT (124M)2 h
- 05Scaling — Distributed Training, FSDP, DeepSpeed75 min
- 06Instruction Tuning — SFT75 min
- 07RLHF — Reward Model + PPO Training75 min
- 08DPO — Direct Preference Optimization75 min
- 09Constitutional AI & Self-Improvement45 min
- 10Evaluation — Benchmarks, Evals, LM Harness75 min
- 11Quantization — INT8, GPTQ, AWQ, GGUF75 min
- 12Inference Optimization75 min
- 13Building a Complete LLM Pipeline2 h
- 14Open Models — Architecture Walkthroughs45 min
- 15Speculative Decoding and EAGLE-375 min
- 16Differential Attention (V2)60 min
- 17Native Sparse Attention (DeepSeek NSA)60 min
- 18Multi-Token Prediction (MTP)60 min
- 19DualPipe Parallelism60 min
- 20DeepSeek-V3 Architecture Walkthrough75 min
- 21Jamba — Hybrid SSM-Transformer60 min
- 22Async and Hogwild! Inference60 min
- 25Speculative Decoding and EAGLE75 min
- 34Gradient Checkpointing and Activation Recomputation70 min
04
Building with LLMs
Prompts, retrieval, structured output, multimodal inputs, tools and protocols such as MCP.
- Phase 11Suggested
LLM Engineering
The day-to-day craft: prompts, structured outputs, RAG, tool use, evaluation, caching and guardrails.
17 lessons · ~18.8 h
Covered in the Parts: Prompt Engineering, Context Engineering, RAG and Knowledge Systems, Tool Use and Integrations, Evaluation Engineering, Cost and Performance Optimization, Safety, Security, and Guardrails
0/1717 lessons
- 01Prompt Engineering — Techniques & Patterns45 min
- 02Few-Shot, Chain-of-Thought, Tree-of-Thought45 min
- 03Structured Outputs75 min
- 04Embeddings & Vector Representations75 min
- 05Context Engineering75 min
- 06RAG — Retrieval-Augmented Generation75 min
- 07Advanced RAG75 min
- 08Fine-Tuning with LoRA & QLoRA75 min
- 09Function Calling & Tool Use75 min
- 10Evaluation & Testing LLM Applications45 min
- 11Caching, Rate Limiting & Cost Optimization45 min
- 12Guardrails, Safety & Content Filtering45 min
- 13Building a Production LLM Application2 h
- 14Model Context Protocol (MCP)75 min
- 15Prompt Caching & Context Caching60 min
- 16Agent State Machines — Graphs, Nodes, Checkpoints75 min
- 17Agent Framework Tradeoffs45 min
- Phase 12Optional depth
Multimodal AI
Models that take images, audio and video alongside text.
25 lessons · ~67 h
Covered in the Parts: Multimodal Engineering
0/2525 lessons
- 01Vision Transformers and the Patch-Token Primitive2 h
- 02CLIP and Contrastive Vision-Language Pretraining3 h
- 03BLIP-2 and Q-Former as Modality Bridge3 h
- 04Flamingo and Gated Cross-Attention2 h
- 05LLaVA and Visual Instruction Tuning3 h
- 06Any-Resolution Vision: Patch-n'-Pack and NaFlex2 h
- 07Open-Weight VLM Recipes: What Actually Matters3 h
- 08LLaVA-OneVision: Single, Multi, Video3 h
- 09Qwen-VL Family and Dynamic-FPS Video2 h
- 10InternVL3 Native Multimodal Pretraining2 h
- 11Chameleon and Early-Fusion Token-Only3 h
- 12Emu3 Next-Token Prediction for Generation2 h
- 13Transfusion Autoregressive + Diffusion3 h
- 14Show-o and Discrete-Diffusion Unified2 h
- 15Janus-Pro Decoupled Encoders2 h
- 16MIO Any-to-Any Streaming2 h
- 17Video-Language Temporal Grounding3 h
- 18Long-Video Understanding at Million-Token Context3 h
- 19Audio-Language Models: Whisper to AF33 h
- 20Omni Models: Thinker-Talker3 h
- 21Embodied VLAs: RT-2, OpenVLA, π0, GR00T3 h
- 22Document and Diagram Understanding3 h
- 23ColPali Vision-Native Document RAG3 h
- 24Multimodal RAG and Cross-Modal Retrieval3 h
- 25Multimodal Agents and Computer-Use (Capstone)4 h
- Phase 13Suggested
Tools & Protocols
Function calling, MCP and the protocols that connect models to tools and to each other.
45 lessons · ~75.7 h
Covered in the Parts: Tool Use and Integrations
0/4545 lessons
- 01The Tool Interface45 min
- 02Function Calling Deep Dive75 min
- 03Parallel and Streaming Tool Calls75 min
- 04Structured Output75 min
- 05Tool Schema Design45 min
- 06MCP Fundamentals: Stateless Requests and JSON-RPC55 min
- 07Building an MCP Server: Stateless Python and TypeScript85 min
- 08Building an MCP Client: Discovery, Routing, and Dual-Era Fallback85 min
- 09MCP Transports: stdio and Stateless Streamable HTTP65 min
- 10MCP Resources and Prompts: Addressable Context for Stateless Servers60 min
- 11MCP Model Input: Sampling Migration and Stateless MRTR75 min
- 12Explicit Scope and Stateless Elicitation60 min
- 13MCP Tasks Extension: Durable Work on a Stateless Core90 min
- 14MCP Apps on the Stateless Protocol75 min
- 15MCP Security: Poisoned Metadata, Routing, and MRTR State60 min
- 16MCP Authorization: CIMD, Issuer Binding, PKCE, and Step-Up90 min
- 17Stateless MCP Gateways and Registry Admission75 min
- 18MCP Auth in Production: Issuer-Bound Enrollment and Tokens90 min
- 19A2A Protocol75 min
- 20OpenTelemetry GenAI75 min
- 21LLM Routing Layer45 min
- 22Agent Skills: Portable Contract and Runtime Boundary90 min
- 23Capstone: Stateless Tool Ecosystem2 h
- 24Skill Discovery and Progressive Disclosure105 min
- 25Skill Invocation and Routing105 min
- 26Skill Permissions, Sandboxes, and Trust2 h
- 27Skill Evals, Packaging, and Portability2.5 h
- 28MCP Tool Contracts and Content2 h
- 29MCP Reliability, Cancellation, and Flow Control2 h
- 30MCP Registry Supply Chain: Admission, Drift, and Rollback90 min
- 31MCP Conformance Engineering: Versioning, Evidence, and Operations100 min
- 32Program Anatomy: Reading ELF From Scratch2 h
- 33Disassembly and Control-Flow Graphs2.5 h
- 34Lifting Machine Code to Pseudocode2.5 h
- 35Evidence, Confidence, and Unknowns in Binary Analysis105 min
- 36Rebuild and Prove Equal110 min
- 37The Reverse Engineering Landscape2.5 h
- 38Calling Conventions and Stack Frames2.3 h
- 39Compiler Idioms and Optimization2.5 h
- 40Linking, Loading, and Stripped Binaries2.7 h
- 41Recovering Data and Types2.3 h
- 42Dynamic Analysis of Your Own Program2.2 h
- 43Bytecode and Managed Formats2.5 h
- 44Binary Diffing and Symbolic Execution2.5 h
- 45AI-Assisted Reverse Engineering2.3 h
05
Agents
Agent loops, long-running autonomous systems, and teams of agents.
- Phase 14Suggested
Agent Engineering
Build agent runtimes: loops, planning, memory, state machines and evaluation.
54 lessons · ~56.4 h
Covered in the Parts: Agents and Agentic Systems, Context Engineering
0/5454 lessons
- 01The Agent Loop60 min
- 02ReWOO and Plan-and-Execute60 min
- 03Reflexion and Verbal Reinforcement Learning60 min
- 04Tree of Thoughts and LATS75 min
- 05Self-Refine and CRITIC60 min
- 06Tool Use and Function Calling60 min
- 07Agent Memory — Virtual Context and Memory Paging75 min
- 08Memory Blocks and Sleep-Time Compute75 min
- 09Hybrid Memory — Vector + Graph + KV75 min
- 10Skill Libraries and Lifelong Learning (Voyager)75 min
- 11Planning with HTN and Evolutionary Search75 min
- 12Anthropic's Workflow Patterns60 min
- 13Stateful Graph Orchestration — Durable Execution and Checkpoints75 min
- 14The Actor Model for Agents75 min
- 15Role-Based Agent Teams — Roles, Tasks, Processes60 min
- 16OpenAI Agents SDK — Handoffs, Guardrails, Tracing75 min
- 17The Harness as a Library — Subagents and Session Store75 min
- 18Production Agent Runtimes45 min
- 19Benchmarks — SWE-bench, GAIA, AgentBench60 min
- 20Benchmarks — WebArena and OSWorld60 min
- 21Computer Use — Claude, OpenAI CUA, Gemini60 min
- 22Voice Agents — Pipecat and LiveKit60 min
- 23OpenTelemetry GenAI Semantic Conventions60 min
- 24Agent Observability — Langfuse, Phoenix, Opik45 min
- 25Multi-Agent Debate and Collaboration60 min
- 26Failure Modes — Why Agents Break60 min
- 27Prompt Injection and the PVE Defense75 min
- 28Orchestration Patterns — Supervisor, Swarm, Hierarchical60 min
- 29Production Runtimes — Queue, Event, Cron60 min
- 30Eval-Driven Agent Development60 min
- 31Agent Workbench: Why Capable Models Still Fail45 min
- 32The Minimal Agent Workbench45 min
- 33Agent Instructions as Executable Constraints50 min
- 34Repo Memory and Durable State60 min
- 35Initialization Scripts for Agents45 min
- 36Scope Contracts and Task Boundaries50 min
- 37Runtime Feedback Loops50 min
- 38Verification Gates55 min
- 39Reviewer Agent: Separate Builder from Marker55 min
- 40Multi-Session Handoff50 min
- 41The Workbench on a Real Repo60 min
- 42Capstone: Ship a Reusable Agent Workbench Pack75 min
- 43Frame the Task Before the Agent Writes Code60 min
- 44Build an Evidence-Backed Execution Plan65 min
- 45Delegate Agent Work with Isolation and Merge Contracts70 min
- 46Turn Every Agent Correction into a System Improvement65 min
- 47Define the Outcome Before You Choose the Output60 min
- 48Discover the Workflow People Actually Perform70 min
- 49Map Assumptions and Resolve the Riskiest One First65 min
- 50Choose the Smallest Slice That Can Change the Decision65 min
- 51Write Specifications That Preserve Judgment75 min
- 52Design Success Metrics Before the Result Exists70 min
- 53Choose Prototype, Pilot, or Production Deliberately70 min
- 54Build a Feedback Ratchet with Ownership and Retirement75 min
- Phase 15Suggested
Autonomous Systems
Long-running agents that act on their own, and the controls that keep them in bounds.
22 lessons · ~20 h
Covered in the Parts: Agents and Agentic Systems
0/2222 lessons
- 01From Chatbots to Long-Horizon Agents (METR)45 min
- 02STaR, V-STaR, Quiet-STaR — Self-Taught Reasoning60 min
- 03AlphaEvolve — Evolutionary Coding Agents60 min
- 04Darwin Gödel Machine — Self-Modifying Agents60 min
- 05AI Scientist v2 — Workshop-Level Research60 min
- 06Automated Alignment Research (Anthropic AAR)60 min
- 07Recursive Self-Improvement — Capability vs Alignment60 min
- 08Bounded Self-Improvement Designs60 min
- 09Autonomous Coding Agent Landscape (SWE-bench, CodeAct)45 min
- 10Permission Modes for Autonomous Agents45 min
- 11Browser Agents and Indirect Prompt Injection45 min
- 12Durable Execution for Long-Running Agents60 min
- 13Action Budgets, Iteration Caps, Cost Governors60 min
- 14Kill Switches, Circuit Breakers, Canary Tokens60 min
- 15HITL — Propose-Then-Commit60 min
- 16Checkpoints and Rollback60 min
- 17Constitutional AI and Rule Overrides60 min
- 18Llama Guard and Input/Output Classification45 min
- 19Anthropic Responsible Scaling Policy v3.045 min
- 20OpenAI Preparedness Framework and DeepMind FSF45 min
- 21METR Time Horizons and External Evaluation60 min
- 22CAIS, CAISI, and Societal-Scale Risk45 min
- Phase 16Suggested
Multi-Agent & Swarms
Several agents working together: coordination, handoffs and swarm patterns.
25 lessons · ~29.3 h
Covered in the Parts: Agents and Agentic Systems
0/2525 lessons
- 01Why Multi-Agent45 min
- 02FIPA-ACL Heritage and Speech Acts60 min
- 03Communication Protocols45 min
- 04The Multi-Agent Primitive Model60 min
- 05Supervisor / Orchestrator-Worker Pattern75 min
- 06Hierarchical Architecture and Decomposition Drift60 min
- 07Society of Mind and Multi-Agent Debate75 min
- 08Role Specialization — Planner / Critic / Executor / Verifier75 min
- 09Parallel Swarm and Networked Architectures60 min
- 10Group Chat and Speaker Selection60 min
- 11Handoffs and Routines (Stateless Orchestration)60 min
- 12A2A — The Agent-to-Agent Protocol75 min
- 13Shared Memory and Blackboard Patterns75 min
- 14Consensus and Byzantine Fault Tolerance for Agents75 min
- 15Voting, Self-Consistency, and Debate Topology75 min
- 16Negotiation and Bargaining75 min
- 17Generative Agents and Emergent Simulation75 min
- 18Theory of Mind and Emergent Coordination75 min
- 19Swarm Optimization for LLMs (PSO, ACO)75 min
- 20MARL — MADDPG, QMIX, MAPPO90 min
- 21Agent Economies, Token Incentives, Reputation75 min
- 22Production Scaling — Queues, Checkpoints, Durability75 min
- 23Failure Modes — MAST, Groupthink, Monoculture, Cascading75 min
- 24Evaluation and Coordination Benchmarks75 min
- 25Case Studies and 2026 State of the Art90 min
06
Production and safety
Serving, observability and cost, then ethics, safety and alignment.
- Phase 17Suggested
Infrastructure & Production
Serving, scaling, observability and cost control for AI systems in production.
29 lessons · ~30.5 h
Covered in the Parts: Inference, LLMOps and Observability, Cost and Performance Optimization, AI Application Architecture
0/2929 lessons
- 01Managed LLM Platforms — Bedrock, Azure OpenAI, Vertex AI60 min
- 02Inference Platform Economics — Fireworks, Together, Baseten, Modal60 min
- 03GPU Autoscaling on Kubernetes — Karpenter, KAI Scheduler75 min
- 04Serving Engine Internals — PagedAttention, Continuous Batching, Chunked Prefill75 min
- 05EAGLE-3 Speculative Decoding in Production60 min
- 06Prefix-Cache Serving — RadixAttention and KV Reuse60 min
- 07Hardware-Specialized Inference Compilation — FP8 and NVFP4 on Blackwell75 min
- 08Inference Metrics — TTFT, TPOT, ITL, Goodput, P9960 min
- 09Production Quantization — AWQ, GPTQ, GGUF, FP8, NVFP475 min
- 10Cold Start Mitigation for Serverless LLMs60 min
- 11Multi-Region LLM Serving and KV Cache Locality60 min
- 12Edge Inference — ANE, Hexagon, WebGPU, Jetson60 min
- 13LLM Observability Stack Selection60 min
- 14Prompt Caching and Semantic Caching Economics60 min
- 15Batch APIs — the 50% Discount as Industry Standard45 min
- 16Model Routing as a Cost-Reduction Primitive60 min
- 17Disaggregated Prefill/Decode — NVIDIA Dynamo and llm-d75 min
- 18Production Serving Stack — KV Offloading and Cache-Aware Routing60 min
- 19AI Gateways — LiteLLM, Portkey, Kong, Bifrost60 min
- 20Shadow, Canary, and Progressive Deployment60 min
- 21A/B Testing LLM Features — GrowthBook and Statsig60 min
- 22Load Testing LLM APIs — k6, LLMPerf, GenAI-Perf75 min
- 23SRE for AI — Multi-Agent Incident Response60 min
- 24Chaos Engineering for LLM Production60 min
- 25Security — Secrets, PII Scrubbing, Audit Logs60 min
- 26Compliance — SOC 2, HIPAA, GDPR, EU AI Act, ISO 4200160 min
- 27FinOps for LLMs — Unit Economics and Multi-Tenant Attribution60 min
- 28Self-Hosted Serving Selection — Matching Engine to Hardware and Scale45 min
- 29Model Demo Interfaces — From a Function to a Shareable App90 min
- Phase 18Suggested
Ethics, Safety & Alignment
Ethics, safety, red-teaming, security and alignment.
30 lessons · ~30.8 h
Covered in the Parts: Safety, Security, and Guardrails, Evaluation Engineering
0/3030 lessons
- 01Instruction-Following as Alignment Signal45 min
- 02Reward Hacking & Goodhart's Law60 min
- 03Direct Preference Optimization Family60 min
- 04Sycophancy as RLHF Amplification45 min
- 05Constitutional AI & RLAIF60 min
- 06Mesa-Optimization & Deceptive Alignment75 min
- 07Sleeper Agents — Persistent Deception60 min
- 08In-Context Scheming in Frontier Models60 min
- 09Alignment Faking60 min
- 10AI Control — Safety Despite Subversion75 min
- 11Scalable Oversight & Weak-to-Strong Generalization60 min
- 12Red-Teaming — PAIR & Automated Attacks75 min
- 13Many-Shot Jailbreaking45 min
- 14ASCII Art & Visual Jailbreaks60 min
- 15Indirect Prompt Injection75 min
- 16Red-Team Tooling — Garak, Llama Guard, PyRIT75 min
- 17WMDP & Dual-Use Capability Evaluation60 min
- 18Frontier Safety Frameworks — RSP, PF, FSF75 min
- 19Model Welfare Research45 min
- 20Bias & Representational Harm60 min
- 21Fairness Criteria — Group, Individual, Counterfactual60 min
- 22Differential Privacy for LLMs60 min
- 23Watermarking — SynthID, Stable Signature, C2PA75 min
- 24Regulatory Frameworks — EU, US, UK, Korea75 min
- 25EchoLeak & CVEs for AI45 min
- 26Model, System & Dataset Cards60 min
- 27Data Provenance & Training-Data Governance60 min
- 28Alignment Research Ecosystem — MATS, Redwood, Apollo, METR45 min
- 29Moderation Systems — OpenAI, Perspective, Llama Guard60 min
- 30Dual-Use Risk — Cyber, Bio, Chem, Nuclear75 min
07
Capstone
Full projects that tie the earlier phases together.
- Phase 19Suggested
Capstone Projects
Capstone projects, from a terminal coding agent to a stateless MCP server.
85 lessons · ~627 h
Covered in the Parts: AI Application Architecture
0/8585 lessons
- 01Terminal-Native Coding Agent35 h
- 02RAG over Codebase (Cross-Repo Semantic Search)30 h
- 03Real-Time Voice Assistant (ASR to LLM to TTS)30 h
- 04Multimodal Document QA (Vision-First)30 h
- 05Autonomous Research Agent (AI-Scientist Class)40 h
- 06DevOps Troubleshooting Agent for Kubernetes30 h
- 07End-to-End Fine-Tuning Pipeline35 h
- 08Production RAG Chatbot (Regulated Vertical)30 h
- 09Code Migration Agent (Repo-Level Upgrade)30 h
- 10Multi-Agent Software Engineering Team40 h
- 11LLM Observability & Eval Dashboard25 h
- 12Video Understanding Pipeline (Scene to QA)30 h
- 13Stateless MCP Server with Registry and Governance25 h
- 14Speculative-Decoding Inference Server30 h
- 15Constitutional Safety Harness + Red-Team Range25 h
- 16GitHub Issue-to-PR Autonomous Agent30 h
- 17Personal AI Tutor (Adaptive, Multimodal)30 h
- 20Agent Harness Loop Contract90 min
- 21Tool Registry with Schema Validation90 min
- 22JSON-RPC 2.0 Over Newline-Delimited Stdio90 min
- 23Function Call Dispatcher90 min
- 24Plan-Execute Control Flow90 min
- 25Verification Gates and the Observation Budget90 min
- 26Sandbox Runner with Denylist and Path Jail90 min
- 27Eval Harness with Fixture Tasks90 min
- 28Observability with OTel GenAI Spans and Prometheus Metrics90 min
- 29End-to-End Coding Agent on the Harness90 min
- 30BPE Tokenizer From Scratch90 min
- 31Tokenized Dataset with Sliding Window90 min
- 32Token and Positional Embeddings90 min
- 33Multi-Head Self-Attention90 min
- 34Transformer Block from Scratch90 min
- 35GPT Model Assembly90 min
- 36Training Loop and Evaluation90 min
- 37Loading Pretrained Weights90 min
- 38Classifier Fine-Tuning by Head Swap90 min
- 39Instruction Tuning by Supervised Fine-Tuning90 min
- 40Direct Preference Optimization from Scratch90 min
- 41Full Evaluation Pipeline90 min
- 42Large Corpus Downloader90 min
- 43HDF5 Tokenized Corpus90 min
- 44Cosine LR with Linear Warmup90 min
- 45Gradient Clipping and Mixed Precision90 min
- 46Gradient Accumulation90 min
- 47Checkpoint Save and Resume90 min
- 48Distributed Data Parallel and FSDP from Scratch90 min
- 49Language Model Evaluation Harness90 min
- 50Hypothesis Generator90 min
- 51Literature Retrieval90 min
- 52Experiment Runner90 min
- 53Result Evaluator90 min
- 54Paper Writer90 min
- 55Critic Loop90 min
- 56Iteration Scheduler90 min
- 57End-to-End Research Demo90 min
- 58Vision Encoder Patches90 min
- 59Vision Transformer Encoder90 min
- 60Projection Layer for Modality Alignment90 min
- 61Cross-Attention Fusion90 min
- 62Vision-Language Pretraining90 min
- 63Multimodal Evaluation90 min
- 64Chunking Strategies, Compared90 min
- 65Hybrid Retrieval with BM25 and Dense Embeddings90 min
- 66Cross-Encoder Reranker90 min
- 67Query Rewriting: HyDE, Multi-Query, and Decomposition90 min
- 68RAG Evaluation: Precision, Recall, MRR, nDCG, Faithfulness, Answer Relevance90 min
- 69End-to-End RAG System90 min
- 70Task Spec Format90 min
- 71Classical Metrics90 min
- 72Code Exec Metric90 min
- 73Perplexity and Calibration90 min
- 74Leaderboard Aggregation90 min
- 75End-to-End Eval Runner90 min
- 76Collective Ops From Scratch90 min
- 77Data Parallel DDP From Scratch90 min
- 78ZeRO Optimizer State Sharding90 min
- 79Pipeline Parallel and Bubble Analysis90 min
- 80Sharded Checkpoint and Atomic Resume90 min
- 81End-to-End Distributed Training90 min
- 82Jailbreak Taxonomy90 min
- 83Prompt Injection Detector90 min
- 84Refusal Evaluation90 min
- 85Content Classifier Integration90 min
- 86Constitutional Rules Engine90 min
- 87End-to-End Safety Gate90 min
Source: the ROADMAP.md of the curriculum. Lesson titles stay in English. GitHub ↗