Set up a working environment, run the repository, and learn the lesson workflow before choosing a specialization.
AI Engineering
from Scratch
Every published lesson. Every phase. Every algorithm built from raw math before a single framework gets imported.
Maintained by Rohit Ghumare and contributors. Run on your own machine.
npx skills add rohitg00/ai-engineering-from-scratch > Use start-learning to begin the course.
Your agent becomes your tutor: placement quiz, personalized path, lessons taught interactively in your terminal.
“Obsessed with the AI Engineering from Scratch repo.” - AI engineer at Google
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.
This curriculum is the spine. Every phase, every published lesson, four languages: Python, TypeScript, Rust, Julia. Linear algebra at one end, autonomous swarms at the other. Every algorithm gets built from raw math first. Backprop. Tokenizer. Attention. Agent loop. By the time PyTorch shows up, you already know what it's doing under the hood.
Each lesson runs the same loop: read the problem, derive the math, write the code, run the test, keep the artifact. No five-minute videos, no copy-paste deploys, no hand-holding. Free, open source, and built to run on your own laptop.
Choose the work you want to do
AI engineering is larger than model code. Choose one of four core learning paths, then learn from the same source, labs, tests, and artifacts in the browser or on GitHub.
Move from prompts, structured outputs, embeddings, and retrieval through evaluation, serving, observability, and safe release.
Build the repository, environment, interface, debugging, verification, security, release, and operational foundations AI systems depend on.
Frame the task, plan from repository evidence, engineer the loop and harness, isolate delegation, verify the result, and preserve feedback.
Turn observed work into outcomes, assumptions, testable slices, executable specifications, measurement plans, staged releases, and owned feedback.
Build, secure, verify, and operate stateless MCP systems from wire envelopes through release gates.
Build, invoke, route, secure, evaluate, package, and verify portable skills in real agent hosts.
Choose a certification route, complete practical labs, keep learner-owned artifacts, and use original assessments.
Prepare by building the real systems
Four Claude certification paths taught the same way as the course: step by step, with interactive labs, practical artifacts, and an AI tutor that works from the GitHub repo.
Not affiliated with, endorsed by, sponsored by, or authorized by Anthropic. This curriculum does not issue credentials or guarantee a passing result.
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