I keep seeing the same complaint surface in Discord threads and on HN: “I’ve shipped five agent demos, I can wire a tool call, I cannot explain what attention is doing inside the model that’s calling it.” That sentence is the actual pitch for rohitg00/ai-engineering-from-scratch, a repo that crossed 63k stars this month by trying to fill the gap between “I can run LangChain” and “I understand what the model is doing at layer 7 of a 32-block transformer that I’m fine-tuning.” The headline numbers are easy to glance past — 20 phases, 523 lessons, ~342 hours, four languages — but the structure underneath the numbers is more interesting than the count. Phase 1 is Linear Algebra Intuition. Phase 19 is Capstone Projects. The intervening 18 phases are not optional decoration; the curriculum is built so that by the time you reach PyTorch in Phase 3 you already know what it’s doing under the hood, and by the time you reach the agent loop in Phase 14 you can derive the loss function that’s training the model running the loop.
What caught my attention this week is not the curriculum itself, which has been growing in roughly the same shape since 2026-Q1, but the v2026.10 edition that landed on 27 September. It adds 34 lessons of MCPA (Model Context Protocol Associate) exam prep, a CI that runs every lesson’s own tests on each change, and a security pass that closed a real escape — a slashless symlink that let the sandbox path jail be bypassed in lesson 19/47. The MCPA program is interesting on its own: it covers the MCP 2026-07-28 stateless revision, has 30-question diagnostics and three 60-question mock exams, and ships an animated figure set that plays each JSON-RPC message in order. If you’ve been working with MCP in production and your mental model is still 2025-03 (the original stateful spec), this is one of the few study tracks that pulls the spec forward.
The shape of the curriculum
Twenty phases stack on top of each other. Math is the floor. Agents and production are the roof. Skip ahead if you already know the lower layers, but don’t skip and then wonder why something at the top is breaking.
The full phase list, taken from phases/ in the repo, in the order the curriculum expects you to work through them:
| Phase | Title | Lessons | ~Hours | Status |
|---|---|---|---|---|
| 0 | Setup and Tooling | 12 | 14 | complete |
| 1 | Math Foundations | 22 | 23 | complete |
| 2 | ML Fundamentals | 18 | 21 | complete |
| 3 | Deep Learning Core | 13 | 15 | complete |
| 4 | Computer Vision | 28 | 27 | complete |
| 5 | NLP — Foundations to Advanced | ~24 | ~24 | complete |
| 6 | Speech and Audio | ~18 | ~18 | in progress |
| 7 | Transformers Deep Dive | ~22 | ~25 | in progress |
| 8 | Generative AI | ~26 | ~28 | in progress |
| 9 | Reinforcement Learning | ~24 | ~26 | in progress |
| 10 | LLMs from Scratch | ~28 | ~32 | in progress |
| 11 | LLM Engineering | ~32 | ~34 | in progress |
| 12 | Multimodal AI | ~22 | ~24 | in progress |
| 13 | Tools and Protocols | ~30 | ~32 | in progress |
| 14 | Agent Engineering | 50 | ~58 | in progress |
| 15 | Autonomous Systems | ~20 | ~22 | planned |
| 16 | Multi-Agent and Swarms | ~22 | ~24 | planned |
| 17 | Infrastructure and Production | ~26 | ~30 | planned |
| 18 | Ethics, Safety, Alignment | ~20 | ~22 | planned |
| 19 | Capstone Projects | ~28 | ~32 | planned |
The phases that catch the most flak in the issue tracker are the ones at the floor — Phase 1’s Math Foundations is the lesson cluster with the lowest completion rate. People who already shipped a fine-tuned model frequently quit on Eigenvalues. The repo’s response to that is to lean harder: each math lesson ends by naming a downstream AI use, so the lesson on Singular Value Decomposition is not “here is a matrix factorization” but “this is what truncated SVD is doing inside your RAG retriever’s embedding compression.” Whether that framing lands for you depends on whether you want to understand the math or just ship the system. The curriculum is built for the first reader.
Phase 14 is where the recent investment has gone. It now has 50 lessons covering the agent loop, ReWoo plan-and-execute, Reflexion verbal RL, tree-of-thoughts, self-refine, tool use and function calling, memory patterns (MemGPT, Mem0, hybrid memory), Anthropic workflow patterns, LangGraph stateful graphs, AutoGen, CrewAI, the OpenAI Agents SDK, the Claude Agent SDK, Agno and Mastra runtimes, benchmarks (SWE-bench, GAIA, WebArena, OSWorld), computer-use agents, voice agents (Pipecat, LiveKit), OTel GenAI conventions, agent observability platforms, multi-agent debate, failure modes, prompt injection defense, and orchestration patterns. The phase also ships a 16-lesson “agent-assisted engineering” track that is, in my opinion, the part of the curriculum that will age least well — Phase 14/35 talks about initialization scripts, Phase 14/36 talks about scope contracts, Phase 14/37 talks about runtime feedback loops. These are workflow-level artifacts that change as the tooling around coding agents changes; treat the lessons as guidance, not gospel.
What v2026.10 actually changed
The release body is unusually readable. It opens with the new MCPA prep program, explains that the curriculum stays at 523 lessons across 20 phases, and then walks through the deltas in a specific order: exam prep, site translation, lesson CI, security, course fixes, books, contributors, sponsors. That is a maintenance release done right. The full diff against v2026.09 is at the compare/v2026.09...v2026.10 link, but the v2026.10 notes tell you the headline deltas:
- MCPA certification prep — 34 lessons across the five MCP exam domains, plus a 30-question diagnostic and three 60-question mock exams, all aligned to the 2026-07-28 stateless revision of the protocol. CI checks every lab transcript against that wire shape, so a lesson that uses the legacy
initializemethod as a current example will fail to merge. - Site interface follows your language — the curriculum bodies were already translated into eight CI languages (Simplified Chinese, Hindi, Spanish, Arabic, French, Portuguese, Turkish, Vietnamese). v2026.10 extends the translation to the interface chrome — header nav, the lesson sidebar, “On this page”, checkpoints, code and output panels, lesson navigation. Code and other protected technical content stay in their original form.
- Lessons that run — CI now runs every lesson’s own tests on each change. Lessons that need scientific libraries such as PyTorch are skipped there. There is a new check that keeps quiz answers from being guessable by length: if the share of questions whose correct option is clearly the longest goes up, the check fails. (This is a real failure mode in hand-written quiz banks — students learn to scan for length.)
- References that resolve — 46 dead links were repaired across the curriculum. The specific fixes that matter for a 2026 reader: the Wikipedia dataset configuration, the MMAU-Pro benchmark, Depth Anything, NLI and speculative-decoding draft models, vLLM’s speculative decoding and FP8 flags, GGUF conversion with llama.cpp, the current Gemini SDK and models, and GPTQModel and LLM Compressor in place of the archived AutoGPTQ and AutoAWQ.
- Lesson claims now match their sources — vLLM supports speculative decoding together with chunked prefill; the 2025 alignment-faking follow-up tested interrogation training, scratchpad length penalties, and process supervision. These are the kind of fix that look cosmetic and are not — the wrong answer trains the wrong mental model.
- Security fixes — checkpoints in lesson 19/47 now load with
weights_only=True, so restoring an untrusted file cannot run arbitrary code. The code guard in 11/09 now parses snippets instead of matching substrings, which closes an escape through__globals__. The sandbox path jail no longer lets a slashless symlink escape (#249). If you have shipped the curriculum to students who run lessons on their own machines, these are the three CVEs you wanted.
The edition is also the first to ship the six-volume EPUB and PDF build. Volume 5 (Agents, 157 chapters) and Volume 6 (Production, 143 chapters) are the heaviest; the rest of the book is roughly proportional to the underlying phase.
The npx skills add tutor and the meta-pattern
The part of the README that surprised me is the tutor installation flow. If you have Node.js, npx, and a skill-capable coding agent (Codex, Claude Code, or “other compatible hosts” — the README names the format but lets the host pick the invocation syntax), you can install the curriculum as a set of skills:
npx skills add rohitg00/ai-engineering-from-scratch
After that, your coding agent becomes your tutor. The skills it installs — visible under skills/ in the repo — are:
start-learning— placement tutor, ten-question quiz that maps what you already know to a starting phase and saves a personalized study plan toLEARNING.mdlearn— teaches one lesson per session: concept, math, code, quizcourse-guide— jumps you to the exact lesson that covers anything you are stuck oncheck-understanding— per-phase quiz, takes a phase numberfind-your-level— placement quiz (slightly different entry point)learn-mcp— 17-lesson MCP route, createsMCP-LEARNING.mdlearn-agent-skills— five-lesson Agent Skills pathbuild-project— scaffolds a project from the lessonclaude-certificationandmcpa-certification— the two certification prep tracks
The skill format is the portable SKILL.md standard, which means the tutor is not a wrapper around the host — it is a description of what the host should do. The README is explicit about this: “Invocation syntax belongs to the host, not to the portable SKILL.md format.” Codex invokes these skills with learn and course-guide; Claude Code uses /learn and /course-guide; other compatible hosts ask the user to use the skill by name. This is the same shape as the agent-skill system I wrote about for archify a few weeks back: the lesson is data, the host is the runtime. You could, in principle, drop the same skill files into a future coding agent and have it tutor the curriculum without further work from rohitg00.
There is a meta-pattern here that the README does not name, but that anyone running a coding-agent team will recognize. The curriculum is not a “course” in the Open edX sense — it is a content set with a host-independent manifest (learning-paths/<route>.json), a per-lesson artifact contract (docs/en.md + runnable code), and a portable skill layer. The author is treating the curriculum as content the way a good prompt library treats prompts — as data the host can run, not as a UI the host has to render. That is why the installer is one command and the lesson selector is start-learning rather than a website wizard.
The Agent-Assisted Engineering learning path, in detail
Because it is the part of the curriculum I have the strongest opinion on, the 16-lesson using-coding-agents route (file: learning-paths/using-coding-agents.json, 900 minutes total) is worth enumerating:
| # | Lesson | Minutes |
|---|---|---|
| 1 | agent-workbench-why-models-fail | 45 |
| 2 | frame-the-task-before-code | 60 |
| 3 | plan-from-evidence | 65 |
| 4 | minimal-agent-workbench | 45 |
| 5 | instructions-as-executable-constraints | 50 |
| 6 | repo-memory-and-state | 60 |
| 7 | initialization-scripts | 45 |
| 8 | scope-contracts | 50 |
| 9 | runtime-feedback-loops | 50 |
| 10 | verification-gates | 55 |
| 11 | reviewer-agent | 55 |
| 12 | delegate-with-isolation | 70 |
| 13 | multi-session-handoff | 50 |
| 14 | workbench-for-real-repos | 60 |
| 15 | turn-feedback-into-system | 65 |
| 16 | agent-workbench-capstone | 75 |
What the route tries to teach is the workflow an engineer should be running when they hand a real repository to a coding agent. Lesson 4 is “minimal agent workbench” — a stripped-down loop you can read end to end. Lesson 5 is “instructions as executable constraints” — the move from “prompts as prose” to “prompts as testable contracts.” Lesson 6 is “repo memory and state” — how the agent should remember what it learned last session. Lessons 7–9 are the operational layer: initialization scripts, scope contracts, runtime feedback loops. Lesson 10 is verification gates — the assertion that every commit the agent makes should pass some external check before it lands. Lesson 11 introduces a reviewer agent. Lesson 12 introduces delegation with isolation. Lesson 13 is multi-session handoff — the lesson that addresses what happens when a coding agent session ends and the next one starts.
The route is honest about its scope. Lesson 1 is titled “why models fail” and reads like a failure-mode catalog, not a pep talk. Lesson 16, the capstone, is “agent-workbench-capstone” — a project where you wire the previous 15 lessons into a single tool you can hand to a teammate. The capstone is not graded, but it does require that you have run the workbench in a real repository with real CI.
The honest limitation: the lesson bodies for Phase 14 were last edited heavily in 2026-Q1, with a maintenance pass for v2026.10. The agent landscape moves faster than any curriculum can keep up with; the route’s choices about how a coding agent should remember a repository are reasonable defaults, but they will not match the defaults of any specific host you happen to use. The value of the route is the shape of the workflow — scope contracts, verification gates, reviewer agents, delegation with isolation — not the specific implementation details for any one host.
Trade-offs and what it doesn’t fix
Three honest limits, one per paragraph.
The math floor is non-negotiable. If you skip Phase 1 and Phase 3 you can still finish the curriculum, but you will not be able to read the lesson bodies for Phase 10 (LLMs from Scratch) without doing extra work. The curriculum is not a survey — it is a spine, and the dependency graph runs through the math. People who already shipped a fine-tuned model and want to ship another one with this curriculum are the most likely to be frustrated. The math is the moat. If you do not want the moat, this is not the right repo.
The agent landscape ages faster than the curriculum can. Phase 14 was the heaviest edit in v2026.10, but it is still chasing a moving target. The lessons on LangGraph, AutoGen, CrewAI, the OpenAI Agents SDK, and the Claude Agent SDK are useful today; by the time you read this in six months, at least one of those SDKs will have shipped a breaking change to its public surface. The portable part of the curriculum — the failure modes, the verification gates, the scope contracts — will age better than the specific-host lessons. Read those first.
The repo is large enough to scare off casual learners. 63,934 stars, 523 lessons, 4 languages, 110 KB README, 53 KB roadmap, six EPUB/PDF books. The “start here” table at the top of the README is genuinely the right entry point, but a reader who lands on the GitHub repo page and scrolls into phases/ is going to bounce. If you are a maintainer of a different curriculum-style repo, study the start-learning skill and the placement tutor; they are the part of this project that converts a star into a lesson completion.
The deeper trade-off is that the curriculum is built for the engineer who wants to understand the system, not the engineer who wants to ship the next demo. Both are legitimate goals; this repo is for the first. If you read the README and your first reaction is “this is too much math, just give me the agent loop,” you should probably skip to Phase 14 directly and accept that the lesson bodies there will be thinner than the rest. If your first reaction is “this is exactly the spine I have been looking for,” block out a quarter. The curriculum is free, the lessons are runnable, and the tutor installs in 30 seconds.
Open questions
A few things this post cannot resolve.
- The repo is MIT, single-author, and growing. The 63k star count tracks the curriculum; the maintenance pace is one maintainer plus a small group of named contributors. Edition 2026.10 lists six named contributors —
@Mubashirrrr,@thejesh23,@FabienDaniel,@dajiaohuang,@rushil-b-patel,@ismet— and the rest of the diff is single-author work. Whether the project can sustain v2026.11 and v2026.12 at the same cadence depends on whether the contributor base widens. - The certification programs (Claude and MCPA) are independent study material, not affiliated with Anthropic, the Linux Foundation, or the Agentic AI Foundation, and the README is explicit that they do not reproduce live exam questions and cannot guarantee a passing score. The trade-off is real: the prep is free, the alignment to the exam domains is current, and the labs are runnable. But the value of any certification program is what an employer does with the credential, and that signal is not yet established for MCPA.
- The portable
SKILL.mdtutor pattern is the part of the project that will either scale or not, depending on whether the major coding-agent hosts converge on a shared skill format. As of v2026.10, the README says “other compatible hosts” without naming them; the future of this part of the curriculum is hostage to that convergence.
What I will be watching for in v2026.11: whether the Phase 14 lessons get a 2026-Q4 refresh now that the agent landscape has settled somewhat, whether the math floor gets an “honors” track for readers who already have the prerequisite knowledge, and whether the multi-agent and swarms phase (16) finally ships its first set of complete lessons. The repo’s last 18 days of releases show the cadence is real; the question is whether the editor can keep up with the parts of the field that move weekly.
References and where to dig further
- rohitg00/ai-engineering-from-scratch on GitHub — the repo, 63,934 stars as of 2026-10-04.
- v2026.10 release notes — the maintenance release that added MCPA prep and the security fixes.
- Full diff against v2026.09 — every change between editions.
- Agentic AI Engineer career route manifest — the JSON that maps the career route to specific lessons.
- Agent-Assisted Engineering learning path — the 16-lesson route I enumerated in detail.
- aiengineeringfromscratch.com — the website build, with the per-lesson pages, the 277-term glossary, and the certification pages.
- MCP 2026-07-28 specification — the stateless revision of MCP the MCPA prep is aligned to.
- Issue #249 on the repo — the slashless symlink sandbox escape that was closed in v2026.10.
The lesson bodies themselves live under phases/NN-phase/NN-lesson/ in the repo, each one with a docs/en.md, a runnable code directory, and a quiz. Clone the repo, run the placement tutor, and you will land on the right phase before you have read a single lesson.
Comments
Powered by GitHub Discussions via Giscus. Sign in with GitHub to leave a comment.