AI Engineering from Scratch
Recorded: May 23, 2026, 4:58 p.m.
| Original | Summarized |
AI Engineering from Scratch Skip to content AI / FROM SCRATCH Contents … N FIG_000 · curriculum v1.0 · 2026 AI Engineeringfrom Scratch How this works Most AI material teaches in scattered pieces. A paper here, a fine-tuning post there, a flashy agent demo somewhere else. The pieces rarely line up. You ship a chatbot but can't explain its loss curve. You hook a function to an agent but can't say what attention does inside the model that's calling it. Current Progress Finished Lessons Phases Languages Glossary Terms Curriculum · 20 phases · 435 lessons Complete × Progress saved in browser only Colophon The entire curriculum is on GitHub. Clone it, fork it, learn at your own pace. No paywall, no signup. Every lesson has runnable code in Python, TypeScript, Rust, or Julia, depending on what fits the concept best. git clone https://github.com/rohitg00/ai-engineering-from-scratch.git © 2026 · open source · free forever GitHub |
This curriculum, titled AI Engineering from Scratch, is designed as a comprehensive educational resource structured around twenty phases and four hundred thirty-five lessons, emphasizing the construction of every algorithm from fundamental mathematical principles rather than starting with pre-built frameworks. The central philosophy addresses the common issue in current AI education where material is often scattered, consisting of disconnected papers, fine-tuning posts, or superficial demonstrations, which fail to provide the necessary deep understanding of underlying mechanisms, such as the loss curves or internal model operations. The curriculum functions as a rigorous spine, ensuring that concepts are built sequentially, linking essential concepts like backpropagation, tokenizers, attention mechanisms, and the agent loop directly to their mathematical basis. This grounding means that by the time practitioners encounter established frameworks like PyTorch, they possess a concrete understanding of the mechanics operating beneath the surface, rather than merely adopting existing tools blindly. Each lesson adheres to a specific, reproducible instructional loop: the learner must first read the problem, derive the necessary mathematics, write the corresponding code, execute tests, and retain the resulting artifacts. This methodology intentionally excludes superficial elements such as short videos, copy-paste deployment scripts, or hand-holding, aiming for a method where mastery is achieved through direct derivation and implementation. The curriculum is supported by a multi-language approach, utilizing Python, TypeScript, Rust, and Julia, allowing concepts to be implemented in the language best suited to the specific mathematical or computational requirement of the lesson. This approach ensures that the learning process is maximally flexible and applicable across different domains of AI engineering. The entire resource is free, open source, and designed to be run locally on a personal machine without requiring any sign-up or payment. The instructional content is maintained by Rohit Ghumare and various contributors, and the complete curriculum is available on GitHub for anyone to clone, fork, and study at their own pace. |