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. How it works
“Obsessed with the AI Engineering from Scratch repo.” - AI engineer at Google
Your agent is the tutor
You don't navigate this course. Your agent teaches it.
Most courses make you find your own way through them. This one ships its own tutor. Install the course skills into the coding agent you already use, and that agent places you, writes your study plan, and teaches each lesson in your terminal. You do not need to understand the curriculum to start.
-
01
npx skills add rohitg00/ai-engineering-from-scratchInstall the skills
No clone needed. Works in Claude Code, Codex, Cursor, and any agent that reads SKILL.md.
-
02
/find-your-levelFind your level
Ten questions. Your agent maps what you already know to a starting phase, marks what you can skip, and estimates the hours.
-
03
/start-learningGet your plan
Your agent saves your goal and placement to LEARNING.md, a study plan that lives next to your code.
-
04
/learnLearn every session
A warm-up on the last lesson, the next lesson taught section by section in your terminal, a quiz, and your progress recorded.
Stuck on a topic or a bug? /course-guide points you to the exact lesson. Commands are shown for Claude Code. In Codex, type the skill name. In other agents, ask to use the skill by name. See every skill
How every lesson 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.
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.
- The problem: a concrete failure. An LLM returns text and cannot act.
- Build it: raw code, no framework. A ReAct loop in stdlib Python.
- Use it: the production tools. Where agent SDKs run the same loop.
- Ship it: an artifact you keep. A skill your coding agent can load.
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.
Inside an AI Agent
An AI agent is more than an LLM call. Run one request through a working machine, switch off retrieval, tools or the verifier, and watch what fails.
Break the machine →
Inside a Decompiler
A decompiler turns bytes into code you can read. Run one small function through nine stations, strip the symbols or switch the decoder, and watch the ledger split what was observed from what was inferred.
Break the machine →
Inside an LLM Serving GPU
Decode reads every weight for every token. Follow one request through an NVIDIA L4 or GB10, fill the KV pool, switch to FP8, and watch memory bandwidth set the speed with numbers from the SGLang 101 runs.
Break the machine →
Prepare by building the real systems
Claude and Model Context Protocol Associate (MCPA) 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, the Agentic AI Foundation, or the Linux Foundation. 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