Stanford AI Engineer Roadmap 2026
A complete self-study roadmap built entirely from Stanford University's publicly available AI courses. Learn mathematics, machine learning, deep learning, reinforcement learning, large language models, AI systems, RAG, agentic AI, and production deployment through a structured path from foundations to real-world AI engineering.
π Stanford AI Engineer Roadmap 2026
π Mathematics β π€ Machine Learning β π§ Deep Learning β π¬ LLMs β π Production AI Systems
A free, self-study path built entirely from Stanford's publicly available courses. Every course lists its ID, what it covers, where to find the slides, and a direct link to the official lecture videos where one exists.

π How to use this: Watch lectures + do the public assignments. ~70% depth per stage is enough to advance. Whole path β 9β14 months part-time. Follow the main sequence; use the branches by interest.
Stage 0 β Mathematics & Foundations π
Build the mathematical foundation every AI engineer needs.

| ID | Course | Covers | Lecture Slides | Playlist |
|---|---|---|---|---|
| MATH51 | LINEAR ALGEBRA & MULTIVARIABLE CALCULUS | Vectors, matrices, transformations, gradients, integrals | Site | No public video β use MIT 18.06 (Strang) |
| CS109 | PROBABILITY FOR COMPUTER SCIENTISTS | Probability, random variables, distributions, Bayes, inference | Site | βΆοΈ YouTube (2022) |
| EE364A | CONVEX OPTIMIZATION I (BOYD) | Convex sets/functions, optimization, duality, gradient methods | Slides | βΆοΈ YouTube (2023) |
Stage 1 β Machine Learning π€
The classical ML core that underpins modern AI.

| ID | Course | Covers | Lecture Slides | Playlist |
|---|---|---|---|---|
| CS221 | ARTIFICIAL INTELLIGENCE | Search, reasoning, logic, planning, decision-making | Site | βΆοΈ YouTube (2019) |
| CS229 | MACHINE LEARNING | Supervised & unsupervised learning, statistical learning, RL basics | Notes | βΆοΈ YouTube (2022) |
| CS229M | MACHINE LEARNING THEORY | Generalization, VC dimension, PAC learning, bounds, guarantees | Site | No public video β notes only |
| CS228 | PROBABILISTIC GRAPHICAL MODELS | Bayesian networks, Markov models, inference, structure learning | Site | No Stanford playlist β Koller PGM (Coursera) |
Stage 2 β Deep Learning & Decision Making π§
Neural networks, perception, reinforcement learning, and decision making.

| ID | Course | Covers | Lecture Slides | Playlist |
|---|---|---|---|---|
| CS230 | DEEP LEARNING | Neural nets, backprop, optimization, regularization, training strategy | Lectures | βΆοΈ YouTube (2018) |
| CS231n | DEEP LEARNING FOR COMPUTER VISION | CNNs, vision transformers, detection, segmentation, generative models | Site | βΆοΈ YouTube (2025) |
| CS234 | REINFORCEMENT LEARNING | MDPs, value/policy learning, deep RL, exploration | Site | βΆοΈ YouTube (2024) |
| CS238 | DECISION MAKING UNDER UNCERTAINTY | MDPs, POMDPs, decision theory, estimation, control | Site | No public video β free textbook + slides |
Advanced sequential decision-making continues in CS239 (AA229) if you want to go deeper.
Stage 3 β LLMs & Generative AI π¬
From NLP fundamentals to building and training large language models.

| ID | Course | Covers | Lecture Slides | Playlist |
|---|---|---|---|---|
| CS224N | NLP WITH DEEP LEARNING | Word embeddings, attention, transformers, LLM foundations | Site | βΆοΈ YouTube (2024) |
| CS224U | NATURAL LANGUAGE UNDERSTANDING | Semantics, dialogue systems, meaning & grounding | Site | βΆοΈ YouTube (2023) |
| CS25 | TRANSFORMERS UNITED | Foundation models, transformer architectures, multimodal, scaling | Site | βΆοΈ YouTube |
| CS324 | LARGE LANGUAGE MODELS | LLM theory, scaling, capabilities, harms, evaluation | Notes & readings | No public video β notes only |
| CS336 β | LANGUAGE MODELING FROM SCRATCH | Tokenization, transformer impl, GPUs/Triton, parallelism, inference, scaling laws | Site Β· Repo | βΆοΈ YouTube (2025) |
Stage 4 β AI Systems & Production π
Build, deploy, and operate AI systems in the real world.

| ID | Course | Covers | Lecture Slides | Playlist |
|---|---|---|---|---|
| CS329S | MACHINE LEARNING SYSTEMS DESIGN | MLOps, model serving, monitoring, A/B testing, evaluation, scaling | Syllabus | No full playlist β Demo Day + guest tutorials |
| CS329T | TRUSTWORTHY ML: LLMS & APPLICATIONS | RAG, agentic AI, evaluation, reliability, responsible deployment | Site | No public video β slides only |
Note: CS329S last ran Winter 2022 β strong on classic MLOps, pre-LLM. CS329T is the modern complement: it's the only course on this roadmap that teaches RAG and agentic AI directly. For anything beyond the courses ( fine-tuning workflows, vLLM/Triton serving, vector DBs), Chip Huyen's AI Engineering (O'Reilly, 2024) is the current reference.
π¦Ύ Optional β Robotics Track
For autonomy / robotics roles. Tangential to a generic AI-engineering path. Both are slides-only (no public video).

| ID | Course | Covers | Lecture Slides | Playlist |
|---|---|---|---|---|
| CS237A | PRINCIPLES OF ROBOT AUTONOMY I | Perception, localization, planning, control | Site | No public video β slides only |
| CS237B | PRINCIPLES OF ROBOT AUTONOMY II | RL, manipulation, imitation learning, human intent inference | Site | No public video β slides only |
πΊοΈ Suggested Sequence
Main path: Math β ML β Deep Learning β LLMs β Production
MATH51 / CS109 / EE364A
β
CS229 βββΊ CS229M βββΊ CS228
β
CS230 βββ¬ββ CS231n (Vision)
βββ CS234 βββΊ CS238 (RL / decision-making)
βββ CS224U (Language)
β
converge βΊ CS224N βββΊ CS25 βββΊ CS324 βββΊ CS336
β
CS329S βββΊ CS329T (Production)
Optional branch: CS237A βββΊ CS237B (Robotics)
π Master Link Reference
| ID | Course | Site | Video |
|---|---|---|---|
| MATH51 | LINEAR ALGEBRA & CALCULUS | https://web.stanford.edu/class/math51/ | No public video β use MIT 18.06 (Strang) |
| CS109 | PROBABILITY | https://web.stanford.edu/class/cs109/ | βΆοΈ YouTube (2022) |
| EE364A | CONVEX OPTIMIZATION | https://ee364a.stanford.edu/ | βΆοΈ YouTube (2023) |
| CS221 | ARTIFICIAL INTELLIGENCE | https://web.stanford.edu/class/cs221/ | βΆοΈ YouTube (2019) |
| CS229 | MACHINE LEARNING | https://cs229.stanford.edu/ | βΆοΈ YouTube (2022) |
| CS229M | MACHINE LEARNING THEORY | https://cs229m.stanford.edu/ | No public video β notes only |
| CS228 | PROBABILISTIC GRAPHICAL MODELS | https://web.stanford.edu/class/cs228/ | No Stanford playlist β Koller PGM (Coursera) |
| CS230 | DEEP LEARNING | https://cs230.stanford.edu/ | βΆοΈ YouTube (2018) |
| CS231n | DEEP LEARNING FOR CV | https://cs231n.stanford.edu/ | βΆοΈ YouTube (2025) |
| CS234 | REINFORCEMENT LEARNING | https://web.stanford.edu/class/cs234/ | βΆοΈ YouTube (2024) |
| CS238 | DECISION MAKING UNDER UNCERTAINTY | https://web.stanford.edu/class/cs238/ | No public video β free textbook + slides |
| CS224N | NLP WITH DEEP LEARNING | https://web.stanford.edu/class/cs224n/ | βΆοΈ YouTube (2024) |
| CS224U | NATURAL LANGUAGE UNDERSTANDING | https://web.stanford.edu/class/cs224u/ | βΆοΈ YouTube (2023) |
| CS25 | TRANSFORMERS UNITED | https://web.stanford.edu/class/cs25/ | βΆοΈ YouTube |
| CS324 | LARGE LANGUAGE MODELS | https://stanford-cs324.github.io/ | No public video β notes only |
| CS336 | LM FROM SCRATCH | https://cs336.stanford.edu/ | βΆοΈ YouTube (2025) |
| CS329S | ML SYSTEMS DESIGN | https://stanford-cs329s.github.io/ | No full playlist β Demo Day + guest tutorials |
| CS329T | TRUSTWORTHY ML: LLMS & APPS | https://web.stanford.edu/class/cs329t/ | No public video β slides only |
| CS237A | PRINCIPLES OF ROBOT AUTONOMY I | https://web.stanford.edu/class/cs237a/ | No public video β slides only |
| CS237B | PRINCIPLES OF ROBOT AUTONOMY II | https://web.stanford.edu/class/cs237b/ | No public video β slides only |
βΆοΈ = full official lecture playlist, verified. 11 of these 20 courses have public Stanford video; the other 9 were never recorded publicly (slides/notes only, or Canvas-restricted) β those rows point to the best legitimate substitute instead of a fake link.
β¨ All courses are free to audit via lecture videos or notes. Enrolled/certificate versions are available through Stanford Online and the Stanford AI Professional Program. π― Follow the sequence. Build projects. Master AI engineering.
