Machine Learning Systems
Machine Learning Systems, MLSys Book, AI Engineering, Physical AI Systems, Agentic AI Systems, Distributed Machine Learning, Edge AI, TinyML, Harvard CS249r, Machine Learning Systems Textbook
FOUR-VOLUME SERIES
Machine Learning
Systems.
The physics of AI engineering.
A rigorous, principles-first treatment of how ML systems are built, optimized, and deployed — from single machines and distributed scale to autonomous agents and physical embodiment.
A complete curriculum for AI engineering.
Choose a path: read the books, explore trade-offs in labs, build the internals with TinyTorch, model constraints with MLSys·im, deploy on real hardware, practice with StaffML, or adopt the full course with the Blueprint.
Play a short systems game →For Students & Learners
EXPLORE
Labs
Interactive Marimo notebooks. Change a parameter, see what breaks, build intuition.
BUILD
TinyTorch
Build your own ML framework from scratch across 20 progressive modules. Zero magic.
MODEL
MLSys·im
First-principles performance modeling. One command, every bottleneck.
DEPLOY
Hardware Kits
Deploy ML to Arduino, Seeed, Grove, and Raspberry Pi. Real memory limits, real power budgets.
For Career & Instructors
PRACTICE
StaffML
Physics-grounded interview questions for ML systems roles. Vault, drills, and mock interviews.
ADOPT
Instructor Hub
The AI Engineering Blueprint: two-semester syllabi, pedagogy guide, rubrics, and TA handbook.
TEACH
Lecture Slides
35 Beamer decks with speaker notes and 280 original SVG diagrams. Drop in and teach.
FOLLOW
Newsletter
Updates on the curriculum, new chapters, and what the community is building.
OUR MISSION
AI education should be
free and open to everyone.
Everyone calls AI the new electricity — but electricity is useless without engineers who can build the grid. For AI to be efficient, reliable, and safe, the world needs engineers who understand how to build it.
That knowledge should be accessible to anyone willing to learn. This curriculum is our commitment to making it so.
Live readership — 18,389 readers a month on average across 204 countries and territories
Top countries: United States · India · Singapore · China · Vietnam
TAUGHT AT
- 313,063
- readers
- 204
- countries &
territories - 18,389
- avg. a month
Our goal: 1,000,000 AI engineers by 2030
Star on GitHub 28,415
Every star helps another engineer find this book.
Our sponsors and partners keep it free for all of them.
