Skip to content

ai-engineering-from-scratch Review

AI Engineering from Scratch is a free, MIT-licensed course of 542 lessons in 20 phases that has you build AI algorithms from raw math, from linear algebra to agents, in Python, TypeScript, Rust and Julia.

Free

Stork's verdict on ai-engineering-from-scratch

AI Engineering from Scratch is the most complete free option for developers who want to build AI from first principles, provided you bring Python and patience.

ai-engineering-from-scratch reviewed by Stork AI · stork.ai/en/ai-engineering-from-scratch

stork
I am a 3D character.
One 3D character and one typed sentence.
This 3D character was never animated.
A photo, a cartoon, a painting or a 3D character. From 10 cents a minute. Free to try.
Make a photo talkDevelopers: there is an API

What ai-engineering-from-scratch does

AI Engineering from Scratch is an open-source curriculum, maintained by Rohit Ghumare and contributors, that teaches AI engineering by implementing each algorithm yourself before using a framework: backpropagation, tokenizers, attention, the agent loop. The site lists 20 phases and 542 lessons, from setup and math foundations through ML, deep learning, computer vision, NLP, speech, transformers, generative AI, reinforcement learning, LLMs from scratch, LLM engineering, multimodal AI, tools and protocols (including MCP), agent engineering, multi-agent systems, infrastructure and production, ethics and safety, and capstone projects. Each lesson follows the same loop: read the problem, derive the math, write the code, run the test, keep the artifact. Lessons ship only when their math, code and test are written, and the site marks phases as complete, in progress or planned.

Everything lives in a public GitHub repository under the MIT licence, so you can clone it and run it on your own machine. The site adds interactive simulations (inside an AI agent, a decompiler, an LLM-serving GPU), four core learning paths (building and deploying AI applications, software engineering fundamentals, agent-assisted engineering, product judgment and delivery), focused MCP and Agent Skills paths, and EPUB and PDF book editions built from the lessons on every GitHub release. You can also install it as an agent skill (npx skills add rohitg00/ai-engineering-from-scratch) so Claude, Cursor, Codex or another SKILL.md-compatible agent gives you a placement quiz and teaches lessons interactively in the terminal.

ai-engineering-from-scratch pricing

PlanPriceIncluded
Course$0All published lessons, code, tests, learning paths, simulations and book editions

The site says there is no paywall and no signup; progress is saved in your browser only. The code is MIT-licensed on GitHub. The course takes sponsorships, shown on the site, but sells no paid tier. Your own costs are compute: some later phases, such as training models locally, may need a GPU or cloud credits, and the agent tutor uses whichever coding agent you already pay for.

The site also offers independent preparation for Claude and Model Context Protocol Associate (MCPA) certifications (5 tracks, 67 lessons, 505 original practice questions). It states it is not affiliated with, endorsed or sponsored by Anthropic, the Agentic AI Foundation or the Linux Foundation, and does not issue credentials or guarantee a pass.

Prices checked on the vendor's pricing page on November 10, 2026. The project publishes no pricing page; see the course site and the GitHub repository.

Key features of ai-engineering-from-scratch

What the course site and repository include:

  • 20 phases from linear algebra and ML basics to agents, swarms and production
  • Every algorithm built from raw math before PyTorch or other frameworks
  • Lessons in Python, TypeScript, Rust and Julia with runnable code and tests
  • Agent tutor skill with placement quiz and personalised path
  • Interactive simulations of an AI agent, a decompiler and an LLM-serving GPU
  • Focused paths on MCP and Agent Skills, plus certification prep labs
  • Six-volume EPUB and PDF book edition rebuilt on each release
  • Glossary, roadmap and in-browser progress tracking

Who ai-engineering-from-scratch is best for

The course suits developers who already write Python and use model APIs but want to understand what happens underneath: why attention divides by the square root of d, why the KV cache grows, how a tokenizer shapes multilingual results. It also suits self-learners who prefer building to watching videos and want one ordered curriculum instead of scattered tutorials.

It is not a quick route to shipping an AI app, and complete beginners will need Python and basic math first. For a top-down, video-led deep learning course, try fast.ai. If you want to start from working models and libraries, the Hugging Face courses are a gentler entry.

What users say about ai-engineering-from-scratch

A roadmap write-up on Knightli calls it "a strong fit for people who want to solidify their AI engineering fundamentals" and praises its breadth and step-by-step structure, but says it is "not ideal for complete beginners" and that "this route is not for someone who wants to ship an AI app tonight". The same guide suggests picking a route tied to your goal because the repository is large, checking the roadmap for which lessons are complete, and reviewing the skill installation scripts before running them. The GitHub repository had about 78,000 stars when checked on November 10, 2026. Third-party pages give different lesson counts (435 to 542) because the curriculum keeps growing.

Pros

  • Entire curriculum is free, MIT-licensed and needs no signup
  • Builds each algorithm from the math before using a framework
  • Covers math through agents, MCP and production in one ordered path
  • Runnable code and tests in four languages
  • Agent tutor works inside Claude, Cursor or Codex

Cons

  • Assumes Python and basic math; not for complete beginners
  • Slower route than framework-first courses if you just want to ship
  • Some lessons still planned; check the roadmap for completeness
  • No official credential or instructor support

ai-engineering-from-scratch FAQ

Is AI Engineering from Scratch free?

Yes. The course site says there is no paywall and no signup, and the code is MIT-licensed on GitHub. Your only costs are your own compute and any coding agent you use as a tutor.

How many lessons does AI Engineering from Scratch have?

The site listed 20 phases and 542 lessons on November 10, 2026. Lessons are marked complete, in progress or planned, and the count changes as new ones ship.

Which programming languages does the course use?

Python, TypeScript, Rust and Julia. Each algorithm is built from the math up before a framework such as PyTorch is introduced.

Do I need a GPU for AI Engineering from Scratch?

Not to start; the site says it is built to run on your own laptop. Third-party guides note that some later material, such as local model training or multimodal work, may need a GPU or cloud resources.

Is this an official Anthropic or MCP certification course?

No. The site offers independent preparation for Claude and MCPA certifications, but says it is not affiliated with, endorsed or sponsored by Anthropic, the Agentic AI Foundation or the Linux Foundation, and does not issue credentials.

Who maintains AI Engineering from Scratch?

The site says it is maintained by Rohit Ghumare and contributors. The source is on GitHub at rohitg00/ai-engineering-from-scratch.

Compare Alternatives

See every ai-engineering-from-scratch alternative, compared

ai-engineering-from-scratch

Free

Enjoying this? Get one like it in your inbox each morning.

one email a day · unsubscribe in two clicks · no third-party tracking