Detailed Structure

Twenty phases. Math is the floor, agents are the roof.

Every phase stacks on the ones beneath it. Each lesson either has you build something that runs or learn the idea you'll need to build the next thing. Skip a layer you already know — but not one you don't.

Phases

20

Lessons

542

Capstones

17 + 9 tracks

Languages

Py · TS · Rust · Julia

Phase by phase

Expand any phase to see every lesson in order.

Foundations

Phase 0

13 lessons

Setup & Tooling

Get your environment ready for everything that follows.

Builds on
Nothing — start here
Mix
10 build · 3 learn
View all lessons
  1. 01Dev EnvironmentBuild · Python
  2. 02Git & CollaborationLearn
  3. 03GPU Setup & CloudBuild · Python
  4. 04APIs & KeysBuild · Python
  5. 05Jupyter NotebooksBuild · Python
  6. 06Python EnvironmentsBuild · Shell
  7. 07Docker for AIBuild · Docker
  8. 08Editor SetupBuild
  9. 09Data ManagementBuild · Python
  10. 10Terminal & ShellLearn
  11. 11Linux for AILearn
  12. 12Debugging & ProfilingBuild · Python
  13. 13Python for AI EngineeringBuild · Python

Phase 1

22 lessons

Math Foundations

The intuition behind every AI algorithm, through code.

Builds on
P0
Mix
16 build · 6 learn
View all lessons
  1. 01Linear Algebra IntuitionLearn · Python, Julia
  2. 02Vectors, Matrices & OperationsBuild · Python, Julia
  3. 03Matrix Transformations & EigenvaluesBuild · Python, Julia
  4. 04Calculus for ML: Derivatives & GradientsLearn · Python
  5. 05Chain Rule & Automatic DifferentiationBuild · Python
  6. 06Probability & DistributionsLearn · Python
  7. 07Bayes' Theorem & Statistical ThinkingBuild · Python
  8. 08Optimization: Gradient Descent FamilyBuild · Python
  9. 09Information Theory: Entropy, KL DivergenceLearn · Python
  10. 10Dimensionality Reduction: PCA, t-SNE, UMAPBuild · Python
  11. 11Singular Value DecompositionBuild · Python, Julia
  12. 12Tensor OperationsBuild · Python
  13. 13Numerical StabilityBuild · Python
  14. 14Norms & DistancesBuild · Python
  15. 15Statistics for MLBuild · Python
  16. 16Sampling MethodsBuild · Python
  17. 17Linear SystemsBuild · Python
  18. 18Convex OptimizationBuild · Python
  19. 19Complex Numbers for AILearn · Python
  20. 20The Fourier TransformBuild · Python
  21. 21Graph Theory for MLBuild · Python
  22. 22Stochastic ProcessesLearn · Python

Phase 2

21 lessons

ML Fundamentals

Classical ML — still the backbone of most production AI.

Builds on
P1
Mix
19 build · 2 learn
View all lessons
  1. 01What Is Machine LearningLearn · Python
  2. 02Linear Regression from ScratchBuild · Python
  3. 03Logistic Regression & ClassificationBuild · Python
  4. 04Decision Trees & Random ForestsBuild · Python
  5. 05Support Vector MachinesBuild · Python
  6. 06KNN & Distance MetricsBuild · Python
  7. 07Unsupervised Learning: K-Means, DBSCANBuild · Python
  8. 08Feature Engineering & SelectionBuild · Python
  9. 09Model Evaluation: Metrics, Cross-ValidationBuild · Python
  10. 10Bias, Variance & the Learning CurveLearn · Python
  11. 11Ensemble Methods: Boosting, Bagging, StackingBuild · Python
  12. 12Hyperparameter TuningBuild · Python
  13. 13ML Pipelines & Experiment TrackingBuild · Python
  14. 14Naive BayesBuild · Python
  15. 15Time Series FundamentalsBuild · Python
  16. 16Anomaly DetectionBuild · Python
  17. 17Handling Imbalanced DataBuild · Python
  18. 18Feature SelectionBuild · Python
  19. 19ML System Design — From Problem to Deployed ModelBuild · Python
  20. 20Monitoring Models in Production — Data Drift and Concept DriftBuild · Python
  21. 21Feature Stores and Training-Serving SkewBuild · Python

Phase 3

13 lessons

Deep Learning Core

Neural networks from first principles. No frameworks until you build one.

Builds on
P2
Mix
13 build · 0 learn
View all lessons
  1. 01The Perceptron: Where It All StartedBuild · Python
  2. 02Multi-Layer Networks & Forward PassBuild · Python
  3. 03Backpropagation from ScratchBuild · Python
  4. 04Activation Functions: ReLU, Sigmoid, GELU & WhyBuild · Python
  5. 05Loss Functions: MSE, Cross-Entropy, ContrastiveBuild · Python
  6. 06Optimizers: SGD, Momentum, Adam, AdamWBuild · Python
  7. 07Regularization: Dropout, Weight Decay, BatchNormBuild · Python
  8. 08Weight Initialization & Training StabilityBuild · Python
  9. 09Learning Rate Schedules & WarmupBuild · Python
  10. 10Build Your Own Mini FrameworkBuild · Python
  11. 11Introduction to PyTorchBuild · Python
  12. 12Introduction to JAXBuild · Python
  13. 13Debugging Neural NetworksBuild · Python

Modalities & Methods

Phase 4

28 lessons

Computer Vision

From pixels to understanding — image, video, 3D, VLMs, and world models.

Builds on
P3
Mix
27 build · 1 learn
View all lessons
  1. 01Image Fundamentals: Pixels, Channels, Color SpacesLearn · Python
  2. 02Convolutions from ScratchBuild · Python
  3. 03CNNs: LeNet to ResNetBuild · Python
  4. 04Image ClassificationBuild · Python
  5. 05Transfer Learning & Fine-TuningBuild · Python
  6. 06Object Detection — YOLO from ScratchBuild · Python
  7. 07Semantic Segmentation — U-NetBuild · Python
  8. 08Instance Segmentation — Mask R-CNNBuild · Python
  9. 09Image Generation — GANsBuild · Python
  10. 10Image Generation — Diffusion ModelsBuild · Python
  11. 11Stable Diffusion — Architecture & Fine-TuningBuild · Python
  12. 12Video Understanding — Temporal ModelingBuild · Python
  13. 133D Vision: Point Clouds, NeRFsBuild · Python
  14. 14Vision Transformers (ViT)Build · Python
  15. 15Real-Time Vision: Edge DeploymentBuild · Python
  16. 16Build a Complete Vision PipelineBuild · Python
  17. 17Self-Supervised Vision — SimCLR, DINO, MAEBuild · Python
  18. 18Open-Vocabulary Vision — CLIPBuild · Python
  19. 19OCR & Document UnderstandingBuild · Python
  20. 20Image Retrieval & Metric LearningBuild · Python
  21. 21Keypoint Detection & Pose EstimationBuild · Python
  22. 223D Gaussian Splatting from ScratchBuild · Python
  23. 23Diffusion Transformers & Rectified FlowBuild · Python
  24. 24SAM 3 & Open-Vocabulary SegmentationBuild · Python
  25. 25Vision-Language Models (ViT-MLP-LLM)Build · Python
  26. 26Monocular Depth & Geometry EstimationBuild · Python
  27. 27Multi-Object Tracking & Video MemoryBuild · Python
  28. 28World Models & Video DiffusionBuild · Python

Phase 5

29 lessons

NLP: Foundations to Advanced

Language is the interface to intelligence.

Builds on
P3
Mix
24 build · 5 learn
View all lessons
  1. 01Text Processing: Tokenization, Stemming, LemmatizationBuild · Python
  2. 02Bag of Words, TF-IDF & Text RepresentationBuild · Python
  3. 03Word Embeddings: Word2Vec from ScratchBuild · Python
  4. 04GloVe, FastText & Subword EmbeddingsBuild · Python
  5. 05Sentiment AnalysisBuild · Python
  6. 06Named Entity Recognition (NER)Build · Python
  7. 07POS Tagging & Syntactic ParsingBuild · Python
  8. 08Text Classification — CNNs & RNNs for TextBuild · Python
  9. 09Sequence-to-Sequence ModelsBuild · Python
  10. 10Attention Mechanism — The BreakthroughBuild · Python
  11. 11Machine TranslationBuild · Python
  12. 12Text SummarizationBuild · Python
  13. 13Question Answering SystemsBuild · Python
  14. 14Information Retrieval & SearchBuild · Python
  15. 15Topic Modeling: LDA, BERTopicBuild · Python
  16. 16Text GenerationBuild · Python
  17. 17Chatbots: Rule-Based to NeuralBuild · Python
  18. 18Multilingual NLPBuild · Python
  19. 19Subword Tokenization: BPE, WordPiece, Unigram, SentencePieceLearn · Python
  20. 20Structured Outputs & Constrained DecodingBuild · Python
  21. 21NLI & Textual EntailmentLearn · Python
  22. 22Embedding Models Deep DiveLearn · Python
  23. 23Chunking Strategies for RAGBuild · Python
  24. 24Coreference ResolutionLearn · Python
  25. 25Entity Linking & DisambiguationBuild · Python
  26. 26Relation Extraction & Knowledge Graph ConstructionBuild · Python
  27. 27LLM Evaluation: RAGAS, DeepEval, G-EvalBuild · Python
  28. 28Long-Context Evaluation: NIAH, RULER, LongBench, MRCRLearn · Python
  29. 29Dialogue State TrackingBuild · Python

Phase 6

17 lessons

Speech & Audio

Hear, understand, speak.

Builds on
P3
Mix
13 build · 4 learn
View all lessons
  1. 01Audio Fundamentals: Waveforms, Sampling, FFTLearn · Python
  2. 02Spectrograms, Mel Scale & Audio FeaturesBuild · Python
  3. 03Audio ClassificationBuild · Python
  4. 04Speech Recognition (ASR)Build · Python
  5. 05Whisper: Architecture & Fine-TuningBuild · Python
  6. 06Speaker Recognition & VerificationBuild · Python
  7. 07Text-to-Speech (TTS)Build · Python
  8. 08Voice Cloning & Voice ConversionBuild · Python
  9. 09Music GenerationBuild · Python
  10. 10Audio-Language ModelsBuild · Python
  11. 11Real-Time Audio ProcessingBuild · Python
  12. 12Build a Voice Assistant PipelineBuild · Python
  13. 13Neural Audio Codecs — EnCodec, SNAC, Mimi, DACLearn · Python
  14. 14Voice Activity Detection & Turn-TakingBuild · Python
  15. 15Streaming Speech-to-Speech — Moshi, HibikiLearn · Python
  16. 16Voice Anti-Spoofing & Audio WatermarkingBuild · Python
  17. 17Audio Evaluation — WER, MOS, MMAU, LeaderboardsLearn · Python

Phase 7

16 lessons

Transformers Deep Dive

The architecture that changed everything.

Builds on
P5
Mix
12 build · 4 learn
View all lessons
  1. 01Why Transformers: The Problems with RNNsLearn · Python
  2. 02Self-Attention from ScratchBuild · Python
  3. 03Multi-Head AttentionBuild · Python
  4. 04Positional Encoding: Sinusoidal, RoPE, ALiBiBuild · Python
  5. 05The Full Transformer: Encoder + DecoderBuild · Python
  6. 06BERT — Masked Language ModelingBuild · Python
  7. 07GPT — Causal Language ModelingBuild · Python
  8. 08T5, BART — Encoder-Decoder ModelsLearn · Python
  9. 09Vision Transformers (ViT)Build · Python
  10. 10Audio Transformers — Whisper ArchitectureLearn · Python
  11. 11Mixture of Experts (MoE)Build · Python
  12. 12KV Cache, Flash Attention & Inference OptimizationBuild · Python
  13. 13Scaling LawsLearn · Python
  14. 14Build a Transformer from ScratchBuild · Python
  15. 15Attention Variants — Sliding Window, Sparse, DifferentialBuild · Python
  16. 16Speculative Decoding — Draft, Verify, RepeatBuild · Python

Phase 8

15 lessons

Generative AI

Create images, video, audio, 3D, and more.

Builds on
P7
Mix
14 build · 1 learn
View all lessons
  1. 01Generative Models: Taxonomy & HistoryLearn · Python
  2. 02Autoencoders & VAEBuild · Python
  3. 03GANs: Generator vs DiscriminatorBuild · Python
  4. 04Conditional GANs & Pix2PixBuild · Python
  5. 05StyleGANBuild · Python
  6. 06Diffusion Models — DDPM from ScratchBuild · Python
  7. 07Latent Diffusion & Stable DiffusionBuild · Python
  8. 08ControlNet, LoRA & ConditioningBuild · Python
  9. 09Inpainting, Outpainting & EditingBuild · Python
  10. 10Video GenerationBuild · Python
  11. 11Audio GenerationBuild · Python
  12. 123D GenerationBuild · Python
  13. 13Flow Matching & Rectified FlowsBuild · Python
  14. 14Evaluation: FID, CLIP ScoreBuild · Python
  15. 19Visual Autoregressive Modeling (VAR): Next-Scale PredictionBuild · Python

Phase 9

12 lessons

Reinforcement Learning

The foundation of RLHF and game-playing AI.

Builds on
P3
Mix
11 build · 1 learn
View all lessons
  1. 01MDPs, States, Actions & RewardsLearn · Python
  2. 02Dynamic ProgrammingBuild · Python
  3. 03Monte Carlo MethodsBuild · Python
  4. 04Q-Learning, SARSABuild · Python
  5. 05Deep Q-Networks (DQN)Build · Python
  6. 06Policy Gradients — REINFORCEBuild · Python
  7. 07Actor-Critic — A2C, A3CBuild · Python
  8. 08PPOBuild · Python
  9. 09Reward Modeling & RLHFBuild · Python
  10. 10Multi-Agent RLBuild · Python
  11. 11Sim-to-Real TransferBuild · Python
  12. 12RL for GamesBuild · Python

Large Language Models

Phase 10

24 lessons

LLMs from Scratch

Build, train, and understand large language models.

Builds on
P7
Mix
20 build · 4 learn
View all lessons
  1. 01Tokenizers: BPE, WordPiece, SentencePieceBuild · Python, Rust
  2. 02Building a Tokenizer from ScratchBuild · Python
  3. 03Data Pipelines for Pre-TrainingBuild · Python
  4. 04Pre-Training a Mini GPT (124M)Build · Python
  5. 05Distributed Training, FSDP, DeepSpeedBuild · Python
  6. 06Instruction Tuning — SFTBuild · Python
  7. 07RLHF — Reward Model + PPOBuild · Python
  8. 08DPO — Direct Preference OptimizationBuild · Python
  9. 09Constitutional AI & Self-ImprovementBuild · Python
  10. 10Evaluation — Benchmarks, EvalsBuild · Python
  11. 11Quantization: INT8, GPTQ, AWQ, GGUFBuild · Python
  12. 12Inference OptimizationBuild · Python
  13. 13Building a Complete LLM PipelineBuild · Python
  14. 14Open Models: Architecture WalkthroughsLearn · Python
  15. 15Speculative Decoding and EAGLE-3Build · Python
  16. 16Differential Attention (V2)Build · Python
  17. 17Native Sparse Attention (DeepSeek NSA)Build · Python
  18. 18Multi-Token Prediction (MTP)Build · Python
  19. 19DualPipe ParallelismLearn · Python
  20. 20DeepSeek-V3 Architecture WalkthroughLearn · Python
  21. 21Jamba — Hybrid SSM-TransformerLearn · Python
  22. 22Async and Hogwild! InferenceBuild · Python
  23. 25Speculative Decoding and EAGLEBuild · Python
  24. 34Gradient Checkpointing and Activation RecomputationBuild · Python

Phase 11

17 lessons

LLM Engineering

Put LLMs to work in production.

Builds on
P10
Mix
16 build · 1 learn
View all lessons
  1. 01Prompt Engineering: Techniques & PatternsBuild · Python
  2. 02Few-Shot, CoT, Tree-of-ThoughtBuild · Python
  3. 03Structured OutputsBuild · Python
  4. 04Embeddings & Vector RepresentationsBuild · Python
  5. 05Context EngineeringBuild · Python
  6. 06RAG: Retrieval-Augmented GenerationBuild · Python
  7. 07Advanced RAG: Chunking, RerankingBuild · Python
  8. 08Fine-Tuning with LoRA & QLoRABuild · Python
  9. 09Function Calling & Tool UseBuild · Python
  10. 10Evaluation & TestingBuild · Python
  11. 11Caching, Rate Limiting & CostBuild · Python
  12. 12Guardrails & SafetyBuild · Python
  13. 13Building a Production LLM AppBuild · Python
  14. 14Model Context Protocol (MCP)Build · Python
  15. 15Prompt Caching & Context CachingBuild · Python
  16. 16Agent State Machines — Graphs, Nodes, CheckpointsBuild · Python
  17. 17Agent Framework TradeoffsLearn · Python

Phase 12

25 lessons

Multimodal AI

See, hear, read, and reason across modalities — from ViT patches to computer-use agents.

Builds on
P10
Mix
16 build · 9 learn
View all lessons
  1. 01Vision Transformers and the Patch-Token PrimitiveLearn · Python
  2. 02CLIP and Contrastive Vision-Language PretrainingBuild · Python
  3. 03BLIP-2 Q-Former as Modality BridgeBuild · Python
  4. 04Flamingo and Gated Cross-AttentionLearn · Python
  5. 05LLaVA and Visual Instruction TuningBuild · Python
  6. 06Any-Resolution Vision — Patch-n'-Pack and NaFlexBuild · Python
  7. 07Open-Weight VLM Recipes: What Actually MattersLearn · Python
  8. 08LLaVA-OneVision: Single, Multi, VideoBuild · Python
  9. 09Qwen-VL Family and Dynamic-FPS VideoLearn · Python
  10. 10InternVL3 Native Multimodal PretrainingLearn · Python
  11. 11Chameleon Early-Fusion Token-OnlyBuild · Python
  12. 12Emu3 Next-Token Prediction for GenerationLearn · Python
  13. 13Transfusion Autoregressive + DiffusionBuild · Python
  14. 14Show-o Discrete-Diffusion UnifiedLearn · Python
  15. 15Janus-Pro Decoupled EncodersBuild · Python
  16. 16MIO Any-to-Any StreamingLearn · Python
  17. 17Video-Language Temporal GroundingBuild · Python
  18. 18Long-Video at Million-Token ContextBuild · Python
  19. 19Audio-Language Models: Whisper to AF3Build · Python
  20. 20Omni Models: Thinker-Talker StreamingBuild · Python
  21. 21Embodied VLAs: RT-2, OpenVLA, π0, GR00TLearn · Python
  22. 22Document and Diagram UnderstandingBuild · Python
  23. 23ColPali Vision-Native Document RAGBuild · Python
  24. 24Multimodal RAG and Cross-Modal RetrievalBuild · Python
  25. 25Multimodal Agents and Computer-Use (Capstone)Build · Python

Agents

Phase 13

45 lessons

Tools & Protocols

The interfaces between AI and the real world.

Builds on
P11
Mix
38 build · 7 learn
View all lessons
  1. 01The Tool InterfaceLearn · Python
  2. 02Function Calling Deep DiveBuild · Python
  3. 03Parallel and Streaming Tool CallsBuild · Python
  4. 04Structured OutputBuild · Python
  5. 05Tool Schema DesignLearn · Python
  6. 06MCP Fundamentals: Stateless Requests and JSON-RPCLearn · Python
  7. 07Building an MCP Server: Stateless Python and TypeScriptBuild · Python, TypeScript
  8. 08Building an MCP Client: Discovery, Routing, and Dual-Era FallbackBuild · Python
  9. 09MCP Transports: stdio and Stateless Streamable HTTPLearn · Python
  10. 10MCP Resources and Prompts: Addressable Context for Stateless ServersBuild · Python
  11. 11MCP Model Input: Sampling Migration and Stateless MRTRBuild · Python
  12. 12Explicit Scope and Stateless ElicitationBuild · Python
  13. 13MCP Tasks Extension: Durable Work on a Stateless CoreBuild · Python
  14. 14MCP Apps on the Stateless ProtocolBuild · Python
  15. 15MCP Security: Poisoned Metadata, Routing, and MRTR StateLearn · Python
  16. 16MCP Authorization: CIMD, Issuer Binding, PKCE, and Step-UpBuild · Python
  17. 17Stateless MCP Gateways and Registry AdmissionLearn · Python
  18. 18MCP Auth in Production: Issuer-Bound Enrollment and TokensBuild · Python
  19. 19A2A ProtocolBuild · Python
  20. 20OpenTelemetry GenAIBuild · Python
  21. 21LLM Routing LayerLearn · Python
  22. 22Agent Skills: Portable Contract and Runtime BoundaryBuild · Python
  23. 23Capstone: Stateless Tool EcosystemBuild · Python
  24. 24Skill Discovery and Progressive DisclosureBuild · Python
  25. 25Skill Invocation and RoutingBuild · Python
  26. 26Skill Permissions, Sandboxes, and TrustBuild · Python
  27. 27Skill Evals, Packaging, and PortabilityBuild · Python
  28. 28MCP Tool Contracts and ContentBuild · Python
  29. 29MCP Reliability, Cancellation, and Flow ControlBuild · Python
  30. 30MCP Registry Supply Chain: Admission, Drift, and RollbackBuild · Python
  31. 31MCP Conformance Engineering: Versioning, Evidence, and OperationsBuild · Python
  32. 32Program Anatomy: An ELF Reader From ScratchBuild · Python
  33. 33Disassembly and Control Flow: From Bytes to a Graph You Can CheckBuild · Python
  34. 34Lifting to Pseudocode: IR, SSA, and Structuring From ScratchBuild · Python
  35. 35Evidence, Confidence, and Unknowns in Binary AnalysisBuild · Python
  36. 36Rebuild and Prove Equal: Differential Tests, Byte Comparison, and the Evidence LoopBuild · Python
  37. 37The Reverse Engineering Landscape: History, Tool Families, and How a Decompiler Is BuiltBuild · Python
  38. 38Calling Conventions and Stack Frames: System V, Windows x64, and AArch64Build · Python
  39. 39Compiler Idioms: What Optimization Does to Your Code and How to Read It BackBuild · Python
  40. 40Linking, Loading, and Stripped Binaries: PLT, GOT, Imports, Fixups, and Function IdentificationBuild · Python
  41. 41Recovering Data and Types: Structs, Arrays, C++ Objects, and DWARFBuild · Python
  42. 42Dynamic Analysis of Your Own Program: Debuggers, Traces, and Confirming Static ClaimsBuild · Python
  43. 43Beyond Native Code: Python, JVM, .NET, and WebAssembly BytecodeBuild · Python
  44. 44Binary Diffing and Symbolic Execution: Matching Functions and Solving for InputsBuild · Python
  45. 45AI-Assisted Reverse Engineering: LLM Decompilers, Analysis Agents, and Ground TruthBuild · Python

Phase 14

54 lessons

Agent Engineering

Build agents from first principles, use coding agents reliably, and shape the work before implementation.

Builds on
P13
Mix
48 build · 6 learn
View all lessons
  1. 01The Agent LoopBuild · Python
  2. 02ReWOO and Plan-and-ExecuteBuild · Python
  3. 03Reflexion and Verbal Reinforcement LearningBuild · Python
  4. 04Tree of Thoughts and LATSBuild · Python
  5. 05Self-Refine and CRITICBuild · Python
  6. 06Tool Use and Function CallingBuild · Python
  7. 07Agent Memory — Virtual Context and Memory PagingBuild · Python
  8. 08Memory Blocks and Sleep-Time ComputeBuild · Python
  9. 09Hybrid Memory — Vector + Graph + KVBuild · Python
  10. 10Skill Libraries and Lifelong Learning (Voyager)Build · Python
  11. 11Planning with HTN and Evolutionary SearchBuild · Python
  12. 12Anthropic's Workflow PatternsBuild · Python
  13. 13Stateful Graph Orchestration — Durable Execution and CheckpointsBuild · Python
  14. 14The Actor Model for AgentsBuild · Python
  15. 15Role-Based Agent Teams — Roles, Tasks, ProcessesBuild · Python
  16. 16OpenAI Agents SDK — Handoffs, Guardrails, TracingBuild · Python
  17. 17The Harness as a Library — Subagents and Session StoreBuild · Python
  18. 18Production Agent RuntimesLearn · Python
  19. 19Benchmarks — SWE-bench, GAIA, AgentBenchLearn · Python
  20. 20Benchmarks — WebArena and OSWorldLearn · Python
  21. 21Computer Use — Claude, OpenAI CUA, GeminiBuild · Python
  22. 22Voice Agents — Pipecat and LiveKitBuild · Python
  23. 23OpenTelemetry GenAI Semantic ConventionsBuild · Python
  24. 24Agent Observability — Langfuse, Phoenix, OpikLearn · Python
  25. 25Multi-Agent Debate and CollaborationBuild · Python
  26. 26Failure Modes — Why Agents BreakBuild · Python
  27. 27Prompt Injection and the PVE DefenseBuild · Python
  28. 28Orchestration Patterns — Supervisor, Swarm, HierarchicalBuild · Python
  29. 29Production Runtimes — Queue, Event, CronLearn · Python
  30. 30Eval-Driven Agent DevelopmentBuild · Python
  31. 31Agent Workbench: Why Capable Models Still FailLearn · Python
  32. 32The Minimal Agent WorkbenchBuild · Python
  33. 33Agent Instructions as Executable ConstraintsBuild · Python
  34. 34Repo Memory and Durable StateBuild · Python
  35. 35Initialization Scripts for AgentsBuild · Python
  36. 36Scope Contracts and Task BoundariesBuild · Python
  37. 37Runtime Feedback LoopsBuild · Python
  38. 38Verification GatesBuild · Python
  39. 39Reviewer Agent: Separate Builder from MarkerBuild · Python
  40. 40Multi-Session HandoffBuild · Python
  41. 41The Workbench on a Real RepoBuild · Python
  42. 42Capstone: Ship a Reusable Agent Workbench PackBuild · Python
  43. 43Frame the Task Before the Agent Writes CodeBuild · Python
  44. 44Build an Evidence-Backed Execution PlanBuild · Python
  45. 45Delegate Agent Work with Isolation and Merge ContractsBuild · Python
  46. 46Turn Every Agent Correction into a System ImprovementBuild · Python
  47. 47Define the Outcome Before You Choose the OutputBuild · Python
  48. 48Discover the Workflow People Actually PerformBuild · Python
  49. 49Map Assumptions and Resolve the Riskiest One FirstBuild · Python
  50. 50Choose the Smallest Slice That Can Change the DecisionBuild · Python
  51. 51Write Specifications That Preserve JudgmentBuild · Python
  52. 52Design Success Metrics Before the Result ExistsBuild · Python
  53. 53Choose Prototype, Pilot, or Production DeliberatelyBuild · Python
  54. 54Build a Feedback Ratchet with Ownership and RetirementBuild · Python

Phase 15

22 lessons

Autonomous Systems

Long-horizon agents, self-improvement, and the 2026 safety stack.

Builds on
P14
Mix
0 build · 22 learn
View all lessons
  1. 01From Chatbots to Long-Horizon Agents (METR)Learn · Python
  2. 02STaR, V-STaR, Quiet-STaR: Self-Taught ReasoningLearn · Python
  3. 03AlphaEvolve: Evolutionary Coding AgentsLearn · Python
  4. 04Darwin Gödel Machine: Self-Modifying AgentsLearn · Python
  5. 05AI Scientist v2: Workshop-Level ResearchLearn · Python
  6. 06Automated Alignment Research (Anthropic AAR)Learn · Python
  7. 07Recursive Self-Improvement: Capability vs AlignmentLearn · Python
  8. 08Bounded Self-Improvement DesignsLearn · Python
  9. 09Autonomous Coding Agent Landscape (SWE-bench, CodeAct)Learn · Python
  10. 10Permission Modes for Autonomous AgentsLearn · Python
  11. 11Browser Agents and Indirect Prompt InjectionLearn · Python
  12. 12Durable Execution for Long-Running AgentsLearn · Python
  13. 13Action Budgets, Iteration Caps, Cost GovernorsLearn · Python
  14. 14Kill Switches, Circuit Breakers, Canary TokensLearn · Python
  15. 15HITL: Propose-Then-CommitLearn · Python
  16. 16Checkpoints and RollbackLearn · Python
  17. 17Constitutional AI and Rule OverridesLearn · Python
  18. 18Llama Guard and Input/Output ClassificationLearn · Python
  19. 19Anthropic Responsible Scaling Policy v3.0Learn · Python
  20. 20OpenAI Preparedness Framework and DeepMind FSFLearn · Python
  21. 21METR Time Horizons and External EvaluationLearn · Python
  22. 22CAIS, CAISI, and Societal-Scale RiskLearn · Python

Phase 16

25 lessons

Multi-Agent & Swarms

Coordination, emergence, and collective intelligence.

Builds on
P15
Mix
16 build · 9 learn
View all lessons
  1. 01Why Multi-AgentLearn · TypeScript
  2. 02FIPA-ACL Heritage and Speech ActsLearn · Python
  3. 03Communication ProtocolsBuild · TypeScript
  4. 04The Multi-Agent Primitive ModelLearn · Python
  5. 05Supervisor / Orchestrator-Worker PatternBuild · Python
  6. 06Hierarchical Architecture and Decomposition DriftLearn · Python
  7. 07Society of Mind and Multi-Agent DebateBuild · Python
  8. 08Role Specialization — Planner / Critic / Executor / VerifierBuild · Python
  9. 09Parallel Swarm and Networked ArchitecturesBuild · Python
  10. 10Group Chat and Speaker SelectionBuild · Python
  11. 11Handoffs and Routines (Stateless Orchestration)Build · Python
  12. 12A2A — The Agent-to-Agent ProtocolBuild · Python
  13. 13Shared Memory and Blackboard PatternsBuild · Python
  14. 14Consensus and Byzantine Fault ToleranceBuild · Python
  15. 15Voting, Self-Consistency, and Debate TopologyBuild · Python
  16. 16Negotiation and BargainingBuild · Python
  17. 17Generative Agents and Emergent SimulationBuild · Python
  18. 18Theory of Mind and Emergent CoordinationBuild · Python
  19. 19Swarm Optimization (PSO, ACO)Build · Python
  20. 20MARL — MADDPG, QMIX, MAPPOLearn · Python
  21. 21Agent Economies, Token Incentives, ReputationLearn · Python
  22. 22Production Scaling — Queues, Checkpoints, DurabilityBuild · Python
  23. 23Failure Modes — MAST, Groupthink, MonocultureLearn · Python
  24. 24Evaluation and Coordination BenchmarksLearn · Python
  25. 25Case Studies and 2026 State of the ArtLearn · Python

Production & Responsibility

Phase 17

29 lessons

Infrastructure & Production

Ship AI to the real world.

Builds on
P14
Mix
2 build · 27 learn
View all lessons
  1. 01Managed LLM Platforms — Bedrock, Azure OpenAI, Vertex AILearn · Python
  2. 02Inference Platform Economics — Fireworks, Together, Baseten, ModalLearn · Python
  3. 03GPU Autoscaling on Kubernetes — Karpenter, KAI SchedulerLearn · Python
  4. 04Serving Engine Internals — PagedAttention, Continuous Batching, Chunked PrefillLearn · Python
  5. 05EAGLE-3 Speculative Decoding in ProductionLearn · Python
  6. 06Prefix-Cache Serving — RadixAttention and KV ReuseLearn · Python
  7. 07Hardware-Specialized Inference Compilation — FP8 and NVFP4 on BlackwellLearn · Python
  8. 08Inference Metrics — TTFT, TPOT, ITL, Goodput, P99Learn · Python
  9. 09Production Quantization — AWQ, GPTQ, GGUF, FP8, NVFP4Learn · Python
  10. 10Cold Start Mitigation for Serverless LLMsLearn · Python
  11. 11Multi-Region LLM Serving and KV Cache LocalityLearn · Python
  12. 12Edge Inference — ANE, Hexagon, WebGPU, JetsonLearn · Python
  13. 13LLM Observability Stack SelectionLearn · Python
  14. 14Prompt Caching and Semantic Caching EconomicsLearn · Python
  15. 15Batch APIs — the 50% Discount as Industry StandardLearn · Python
  16. 16Model Routing as a Cost-Reduction PrimitiveLearn · Python
  17. 17Disaggregated Prefill/Decode — NVIDIA Dynamo and llm-dLearn · Python
  18. 18Production Serving Stack — KV Offloading and Cache-Aware RoutingLearn · Python
  19. 19AI Gateways — LiteLLM, Portkey, Kong, BifrostLearn · Python
  20. 20Shadow, Canary, and Progressive DeploymentLearn · Python
  21. 21A/B Testing LLM Features — GrowthBook and StatsigLearn · Python
  22. 22Load Testing LLM APIs — k6, LLMPerf, GenAI-PerfBuild · Python
  23. 23SRE for AI — Multi-Agent Incident ResponseLearn · Python
  24. 24Chaos Engineering for LLM ProductionLearn · Python
  25. 25Security — Secrets, PII Scrubbing, Audit LogsLearn · Python
  26. 26Compliance — SOC 2, HIPAA, GDPR, EU AI Act, ISO 42001Learn · Python
  27. 27FinOps for LLMs — Unit Economics and Multi-Tenant AttributionLearn · Python
  28. 28Self-Hosted Serving Selection — Matching Engine to Hardware and ScaleLearn · Python
  29. 29Model Demo Interfaces — From a Function to a Shareable AppBuild · Python

Phase 18

30 lessons

Ethics, Safety & Alignment

Build AI that helps humanity. Not optional.

Builds on
P15
Mix
9 build · 21 learn
View all lessons
  1. 01Instruction-Following as Alignment SignalLearn · Python
  2. 02Reward Hacking & Goodhart's LawLearn · Python
  3. 03Direct Preference Optimization FamilyLearn · Python
  4. 04Sycophancy as RLHF AmplificationLearn · Python
  5. 05Constitutional AI & RLAIFLearn · Python
  6. 06Mesa-Optimization & Deceptive AlignmentLearn · Python
  7. 07Sleeper Agents — Persistent DeceptionLearn · Python
  8. 08In-Context Scheming in Frontier ModelsLearn · Python
  9. 09Alignment FakingLearn · Python
  10. 10AI Control — Safety Despite SubversionLearn · Python
  11. 11Scalable Oversight & Weak-to-StrongLearn · Python
  12. 12Red-Teaming: PAIR & Automated AttacksBuild · Python
  13. 13Many-Shot JailbreakingLearn · Python
  14. 14ASCII Art & Visual JailbreaksBuild · Python
  15. 15Indirect Prompt InjectionBuild · Python
  16. 16Red-Team Tooling: Garak, Llama Guard, PyRITBuild · Python
  17. 17WMDP & Dual-Use Capability EvaluationLearn · Python
  18. 18Frontier Safety Frameworks — RSP, PF, FSFLearn · Python
  19. 19Model Welfare ResearchLearn · Python
  20. 20Bias & Representational HarmBuild · Python
  21. 21Fairness Criteria: Group, Individual, CounterfactualLearn · Python
  22. 22Differential Privacy for LLMsBuild · Python
  23. 23Watermarking: SynthID, Stable Signature, C2PABuild · Python
  24. 24Regulatory Frameworks: EU, US, UK, KoreaLearn · Python
  25. 25EchoLeak & CVEs for AILearn · Python
  26. 26Model, System & Dataset CardsBuild · Python
  27. 27Data Provenance & Training-Data GovernanceLearn · Python
  28. 28Alignment Research Ecosystem: MATS, Redwood, Apollo, METRLearn · Python
  29. 29Moderation Systems: OpenAI, Perspective, Llama GuardBuild · Python
  30. 30Dual-Use Risk: Cyber, Bio, Chem, NuclearLearn · Python

Capstone

Phase 19

85 lessons

Capstone Projects

17 end-to-end products + 9 deep-build tracks. 20-40 hours per project; 4-12 lessons per track.

Builds on
P16, P17, P18
View projects & tracks

End-to-end products

  1. 01Terminal-Native Coding AgentP0P5P7P10P11P13P14P15P17P18
  2. 02RAG over Codebase (Cross-Repo Semantic Search)P5P7P11P13P17
  3. 03Real-Time Voice Assistant (ASR → LLM → TTS)P6P7P11P13P14P17
  4. 04Multimodal Document QA (Vision-First)P4P5P7P11P12P17
  5. 05Autonomous Research Agent (AI-Scientist Class)P0P2P3P7P10P14P15P16P18
  6. 06DevOps Troubleshooting Agent for KubernetesP11P13P14P15P17P18
  7. 07End-to-End Fine-Tuning PipelineP2P3P7P10P11P17P18
  8. 08Production RAG Chatbot (Regulated Vertical)P5P7P11P12P17P18
  9. 09Code Migration Agent (Repo-Level Upgrade)P5P7P11P13P14P15P17
  10. 10Multi-Agent Software Engineering TeamP11P13P14P15P16P17
  11. 11LLM Observability & Eval DashboardP11P13P17P18
  12. 12Video Understanding Pipeline (Scene → QA)P4P6P7P11P12P17
  13. 13Stateless MCP Server with Registry and GovernanceP11P13P14P17P18
  14. 14Speculative-Decoding Inference ServerP3P7P10P17
  15. 15Constitutional Safety Harness + Red-Team RangeP10P11P13P14P18
  16. 16GitHub Issue-to-PR Autonomous AgentP11P13P14P15P17
  17. 17Personal AI Tutor (Adaptive, Multimodal)P5P6P11P12P14P17P18

Track A. Agent harness

  1. 20Agent Harness Loop ContractPython
  2. 21Tool Registry with Schema ValidationPython
  3. 22JSON-RPC 2.0 Over Newline-Delimited StdioPython
  4. 23Function Call DispatcherPython
  5. 24Plan-Execute Control FlowPython
  6. 25Verification Gates and Observation BudgetPython
  7. 26Sandbox Runner with Denylist and Path JailPython
  8. 27Eval Harness with Fixture TasksPython
  9. 28Observability with OTel GenAI Spans and Prometheus MetricsPython
  10. 29End-to-End Coding Agent on the HarnessPython

Track B. NLP LLM

  1. 30BPE Tokenizer From ScratchPython
  2. 31Tokenized Dataset with Sliding WindowPython
  3. 32Token and Positional EmbeddingsPython
  4. 33Multi-Head Self-AttentionPython
  5. 34Transformer Block from ScratchPython
  6. 35GPT Model AssemblyPython
  7. 36Training Loop and EvaluationPython
  8. 37Loading Pretrained WeightsPython
  9. 38Classifier Fine-Tuning by Head SwapPython
  10. 39Instruction Tuning by Supervised Fine-TuningPython
  11. 40Direct Preference Optimization from ScratchPython
  12. 41Full Evaluation PipelinePython

Track C. Train end-to-end

  1. 42Large Corpus DownloaderPython
  2. 43HDF5 Tokenized CorpusPython
  3. 44Cosine LR with Linear WarmupPython
  4. 45Gradient Clipping and Mixed PrecisionPython
  5. 46Gradient AccumulationPython
  6. 47Checkpoint Save and ResumePython
  7. 48Distributed Data Parallel and FSDP from ScratchPython
  8. 49Language Model Evaluation HarnessPython

Track D. Auto research

  1. 50Hypothesis GeneratorPython
  2. 51Literature RetrievalPython
  3. 52Experiment RunnerPython
  4. 53Result EvaluatorPython
  5. 54Paper WriterPython
  6. 55Critic LoopPython
  7. 56Iteration SchedulerPython
  8. 57End-to-End Research DemoPython

Track E. Multimodal VLM

  1. 58Vision Encoder PatchesPython
  2. 59Vision Transformer EncoderPython
  3. 60Projection Layer for Modality AlignmentPython
  4. 61Cross-Attention FusionPython
  5. 62Vision-Language PretrainingPython
  6. 63Multimodal EvaluationPython

Track F. Advanced RAG

  1. 64Chunking Strategies, ComparedPython
  2. 65Hybrid Retrieval with BM25 and Dense EmbeddingsPython
  3. 66Cross-Encoder RerankerPython
  4. 67Query Rewriting: HyDE, Multi-Query, and DecompositionPython
  5. 68RAG Evaluation: Precision, Recall, MRR, nDCG, Faithfulness, Answer RelevancePython
  6. 69End-to-End RAG SystemPython

Track G. Eval framework

  1. 70Task Spec FormatPython
  2. 71Classical MetricsPython
  3. 72Code Exec MetricPython
  4. 73Perplexity and CalibrationPython
  5. 74Leaderboard AggregationPython
  6. 75End-to-End Eval RunnerPython

Track H. Distributed train

  1. 76Collective Ops From ScratchPython
  2. 77Data Parallel DDP From ScratchPython
  3. 78ZeRO Optimizer State ShardingPython
  4. 79Pipeline Parallel and Bubble AnalysisPython
  5. 80Sharded Checkpoint and Atomic ResumePython
  6. 81End-to-End Distributed TrainingPython

Track I. Safety harness

  1. 82Jailbreak TaxonomyPython
  2. 83Prompt Injection DetectorPython
  3. 84Refusal EvaluationPython
  4. 85Content Classifier IntegrationPython
  5. 86Constitutional Rules EnginePython, YAML
  6. 87End-to-End Safety GatePython

The shape of the curriculum

Read from the bottom up. Each band depends on the one below it.

Layer 1

Foundations

Tooling, the math, classical ML, and neural networks built by hand.

Layer 2

Modalities & Methods

Vision, language, speech, transformers, generative models, and RL.

Layer 3

Large Language Models

Build an LLM from scratch, then engineer with it across modalities.

Layer 4

Agents

Tools and protocols, agent runtimes, autonomy, and multi-agent systems.

Layer 5

Production & Responsibility

Ship it reliably, and ship it safely.

Layer 6

Capstone

End-to-end products and deep-build tracks that combine every layer.

Start at the floor.

Our bootcamp compresses the first layers into five hands-on days.