AI Engineering from Scratch

A free, open-source curriculum of 503 lessons across 20 phases, teaching you to build AI end-to-end from math to agents.

Stars
★ 78k
Last updated
1d ago
License
MIT
Primary language
Python

At a glance

How it runs
CLIAgent plugin / skillWeb app
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free, no paid service needed
Setup effort
Medium · a few setup steps
You'll need
Node.js (npx)Python 3DockerGitShell / CLINetwork accessLocal filesystem
Typical use
A developer who wants to understand AI algorithms from the ground up, implementing models instead of just calling APIs.
Not a fit if
  • Developers who only want to call APIs, not build algorithms from scratch
  • Learners needing complete non-English lessons; only landing pages are translated
  • Anyone wanting a quick reference rather than a ~340-hour curriculum
Maintenance
Commits in the last 30 dayslast commit 2026-11-09latest release v2026.11.2 (2026-11-09)+240.0 ★/day over 7 days
Source review
66/100 · Some gaps

What does this agent do, and when should you use it?

This repository is a comprehensive, free, open-source AI engineering curriculum organized into 20 phases and 503 lessons, covering Python, TypeScript, Rust, and Julia. It spans from math foundations and classical machine learning, through deep learning, computer vision, NLP, transformers, generative AI, reinforcement learning, LLM engineering, multimodal models, agent engineering, autonomous systems, multi-agent and swarms, to production infrastructure and safety. Each lesson follows a 'Build It / Use It' pattern: implement algorithms from raw math, then replicate using production frameworks like PyTorch, and ship a reusable artifact (prompt, skill, agent, or MCP server). The course is accessible via a website, as a cloned repository, or through agent skills that turn your coding agent into a tutor. A six-volume EPUB/PDF book series is also built via CI and attached to releases.

The repository provides structured course content: lesson narratives under phases/<num>-<phase>/<num>-<lesson>/docs/en.md, runnable code in code/, and artifacts like prompts, skills, agents, and MCP servers in outputs/. It integrates with any agent that reads SKILL.md via a skills/ directory, offering commands like /start-learning, /learn, /course-guide, /find-your-level, and /check-understanding to guide learners through placement quizzes, personalized plans, interactive lessons, and quizzes. Installation is via npx skills add rohitg00/ai-engineering-from-scratch or cloning the repo. The course can be consumed from the command line, the website (aiengineeringfromscratch.com), or by running lesson code directly (e.g., python phases/01-math-foundations/01-linear-algebra-intuition/code/vectors.py). The book can be built locally with python3 scripts/build_book.py.

  1. A developer who wants to understand AI algorithms from the ground up, implementing models instead of just calling APIs.
  2. A professional needing to use AI tools in their work but lacking systematic training and seeking a hands-on, curriculum-based path.
  3. A software engineer who wants to train their coding agent as an AI tutor, using interactive lessons and personalized study plans.
  4. A learner who wants to build a portfolio of reusable prompts, skills, agents, and MCP servers as they learn.
  5. A reader who prefers consuming the course as an EPUB/PDF book series for offline study.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npx skills add rohitg00/ai-engineering-from-scratch

How do you install or deploy this agent?

You can start learning without cloning: in any agent that supports SKILL.md (e.g., Claude Code, Cursor, Codex, OpenClaw, Hermes), run npx skills add rohitg00/ai-engineering-from-scratch and then use /start-learning. To clone and run locally, use git clone https://github.com/rohitg00/ai-engineering-from-scratch.git and install necessary dependencies; Python 3 is required for running lesson code, and Node.js is needed for npx. Detailed setup steps are in the README.

How do you use this agent?

In your agent, run /start-learning to take a ten-question placement quiz, which generates a personalized study plan saved to LEARNING.md. Then use /learn to go through lessons interactively (concept → math → code → quiz), and /course-guide <topic> to jump to specific lessons. Alternatively, read lessons on the website or clone the repo and run code, e.g., python phases/01-math-foundations/01-linear-algebra-intuition/code/vectors.py. Install all skills with python3 scripts/install_skills.py <target>.

What are this agent's strengths and limitations?

Pros
  • Builds every algorithm from raw math, ensuring deep understanding
  • Each lesson ships a reusable artifact (prompt, skill, agent, MCP server), building a portfolio
  • Extremely broad coverage: from fundamentals to multi-agent and production, with 20 phases and 503 lessons
  • Free forever with MIT license, and multi-language support in landing pages
  • Agent integration provides an interactive, personalized learning experience directly in your coding environment
Limitations
  • Large time commitment (~320 hours) may feel overwhelming for beginners
  • Requires setup of Python, Node.js, and optionally Docker, which may be a barrier for some
  • English is the only complete language; other languages only translate landing pages, not lessons
  • Being a curriculum, it focuses on learning rather than production-ready code, so you'll need to apply it yourself

How does this agent compare with similar options?

This curriculum positions itself as a comprehensive alternative to scattered tutorials and papers, focusing on building foundations rather than just using frameworks. It may be compared with other AI courses, but it stands out for its depth, breadth, and artifact-driven approach.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
AI Engineering from Scratch This agent 66 · Some gaps CLIFree ★ 78k 1d ago Python Codex · Claude Code
Open Interpreter 72 · Some gaps CLIFree + model costs ★ 69k today Rust Codex
Swiftide 68 · Some gaps Library / SDKFree + model costs ★ 804 5d ago Rust OpenAI API · Claude API
Stream Vision Agents 57 · Major gaps Library / SDKFree + model costs ★ 8.2k 2d ago Python OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
66/ 100 5-point scale 3.3 / 5
This review covers the source as of Nov 07, 2026. The project has shipped 1 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 13/29
Reliability 9/14
Adaptability 14/18
Convention 13/18
Effectiveness 12/13
Verifiability 5/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

AGENTS.md frames the repository as a curriculum rather than a SaaS product and specifies a dependency allowlist; workflow permissions and credential persistence also have local constraints, supporting a partial least-privilege score. The installer writes into a selected skills directory, and an automated workflow can commit and open a PR, while the sample does not establish complete confirmation, data handling, credential governance, or recovery controls. Skill and course material provide some source attribution and limitation statements, but publisher identity and maintenance ownership remain unclear.

Reliability9 / 14 · 3.2/5

The skills' learning flows broadly align with README routes and local project commands. Reference implementations and certification test samples show concrete structures, but some claims remain documentation-only and the static sample cannot establish repository-wide consistency. The preflight is described as reporting detected reasons and corrective commands; dependency pinning and availability are not consistently evidenced across the supplied files.

Adaptability14 / 18 · 3.9/5

The README provides routes for beginners, engineers, agents, MCP, and skills, with entry points and time estimates for different backgrounds, so audience and scenario coverage is strong. Skills specify trigger phrases, host-specific invocation, prerequisites, and conceptual-mode boundaries. Some skill scopes overlap, and host discovery and installation still depend on the selected environment, limiting boundary and environment-fit scores.

Convention13 / 18 · 3.6/5

The repository layout, curriculum hierarchy, skill table, route tables, and project structure are clearly described. Installation and host commands are concrete, examples are extensive, and the README includes FAQ-like guidance and stated limitations. The MIT license text is complete. Skills carry version fields, but the supplied sample lacks a clear product release changelog and a named maintenance owner.

Effectiveness12 / 13 · 4.6/5

The product offers reusable lessons, study plans, project artifacts, reports, charts, and local graders. Project instructions emphasize retained evidence and explicitly say metrics do not establish answer correctness, adding practical value. The course is broad and the website offers a no-setup path, but the stated study times are substantial and requirements.txt lists many large optional dependencies, so cost-benefit is not fully established.

Verifiability5 / 8 · 3.1/5

The README routes, skill procedures, AGENTS.md lesson contracts, test samples, and reference implementations provide claims and artifacts that can be compared. Certification test samples check specific input constraints and report outputs, improving traceability. The sample does not provide independent evidence for every curriculum-wide claim, so corroboration and fact-versus-inference separation earn partial scores.

Risks and how to mitigate them
  • This is a curriculum and tutor-skill collection, not a single production agent for direct deployment; skills write learner progress files and the installer writes to the host-selected skills directory.
  • The limited static sample cannot verify all repository-wide curriculum and quality claims. The dependency list includes several large machine-learning packages, so users should check the requirements for their chosen lesson.
Evidence confidence: Low Reviewed Nov 07, 2026 Reviewed revision e9fb44680e57 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/ai-engineering-from-scratch.svg)](https://followagents.com/en/agents/ai-engineering-from-scratch)
<a href="https://followagents.com/en/agents/ai-engineering-from-scratch"><img src="https://followagents.com/badge/ai-engineering-from-scratch.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v2026.11.2 Edition 2026.11.2: Lessons in Five Languages
    Release notes excerpt
    Read each lesson in the language you use at work. This edition adds TypeScript ports to most lessons, and Rust, Julia and Go ports to the lessons where each of those languages is the right tool. [Start learning](https://aiengineeringfromscratch.com) · [Catalog](https://aiengineeringfromscratch.com/catalog.html) · [Interviews](https://aiengineeringfromscratch.com/interviews) Lessons in five languages | Language | Lessons | Where | |---|---|---| | Python | 534 | Every lesson with code | | TypeScript | 397 | Most lessons, from math foundations to the capstones | …
    View on GitHub ↗
  2. v2026.11.1 Edition 2026.11.1: Interview Bank and Incident Scenarios
    Release notes excerpt
    Practise for AI engineering interviews against the course itself. This edition adds an interview bank of 482 questions and 60 measured incident scenarios, a mock interview skill, and code blocks rendered at build time. [Interviews](https://aiengineeringfromscratch.com/interviews) · [Scenarios](https://aiengineeringfromscratch.com/interviews/scenarios) · [Skills](https://aiengineeringfromscratch.com/skills.html) · [Start learning](https://aiengineeringfromscratch.com) …
    View on GitHub ↗
  3. v2026.10.5 Edition 2026.10.5: Lesson Screen, vLLM 101, and Miles 101
    Release notes excerpt
    Learn beside your terminal, read two new hardware manuals, and practise every lesson. This edition adds the lesson screen for agent tutors, vLLM 101 and Miles 101, 47 practice tasks, and two new inside-the-machine pages. [Start learning](https://aiengineeringfromscratch.com) · [Skills](https://aiengineeringfromscratch.com/skills.html) · [Manuals](https://aiengineeringfromscratch.com/manuals.html) · [Practice](https://aiengineeringfromscratch.com/practice) Lesson screen for agent tutors The new lesson-screen skill opens a browser tab next to the terminal while a tutor teaches. …
    View on GitHub ↗

FAQ

Is this course really free?
Yes, it's completely free and open-source under the MIT license. No hidden costs.
Can I learn without prior AI knowledge?
Absolutely, the curriculum starts with setup and math foundations, but you should be comfortable with basic programming (any language).
How long does it take to complete?
The curriculum is designed for about 320 hours of work. You can pace yourself as you like.
Will I get a certificate?
There's no mention of certificates, but you'll end up with 503 hands-on artifacts that demonstrate your skills.
Can I use these skills with my team?
Yes, the skills can be installed into any compatible agent (Claude Code, Cursor, etc.), making it easy to adopt across a team.
Is AI Engineering from Scratch open source?
Yes. The source code is on GitHub (rohitg00/ai-engineering-from-scratch) under the MIT licence.
Is AI Engineering from Scratch safe to use?
FollowAgents' FARS review (Nov 07, 2026) scored AI Engineering from Scratch 13/29 on trust and safety. None of the eight safety controls the review checks for was missing outright. The repository has changed since that review.
Is AI Engineering from Scratch still maintained?
Yes. The latest commit on GitHub is from 2026-11-09, within the last 30 days. The latest release is v2026.11.2 (2026-11-09).
Who makes AI Engineering from Scratch?
AI Engineering from Scratch is published on GitHub by the account rohitg00. FollowAgents has not verified which person or company is behind that account.
What is AI Engineering from Scratch's official website?
The project's GitHub repository lists https://aiengineeringfromscratch.com as its website. That link is set by the repository owner; the source code itself is on GitHub (rohitg00/ai-engineering-from-scratch).
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.