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
★ 81k
Last updated
today v2026.11.6
FARS reviewed
Nov 07, 2026 +5 new
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-12-02latest release v2026.11.6 (2026-11-30)+189.9 ★/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>.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

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 ★ 81k today Python Codex · Claude Code
Open Interpreter 72 · Some gaps CLIFree + model costs ★ 69k today Rust Codex
yoagent 70 · Some gaps Library / SDKFree ★ 381 17d ago Rust OpenAI API · Claude API
Swiftide 68 · Some gaps Library / SDKFree + model costs ★ 812 today Rust 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 5 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.6 Edition 2026.11.6: Run Lessons in Your Browser
    Release notes excerpt
    Run lesson code in your browser, and start from where you are. This edition adds a Playground to every lesson, with real Python in the page and nothing to install, and turns the learning paths page into three starting points: new to AI, a developer who wants to build, and someone who already works in AI. [Start learning](https://aiengineeringfromscratch.com) · [Learning paths](https://aiengineeringfromscratch.com/learning-paths) · [Catalog](https://aiengineeringfromscratch.com/catalog) Playground in every lesson …
    View on GitHub ↗
  2. v2026.11.5 Edition 2026.11.5: The AI Engineering Landscape
    Release notes excerpt
    Find the tool for each job in an AI system, and see where it fits. This edition adds the AI Engineering Landscape, a map of 1,035 tools in 56 categories, open source and closed source, where every tool is one JSON file that anyone can add by pull request. [Start learning](https://aiengineeringfromscratch.com) · [Landscape](https://aiengineeringfromscratch.com/landscape) · [Add your tool](https://aiengineeringfromscratch.com/landscape#add) AI Engineering Landscape A map of the tools AI engineers build with, grouped by the job each one does. 429 of the 1,035 tools are open source. …
    View on GitHub ↗
  3. v2026.11.4 Edition 2026.11.4: LangChain 101 and a One-Click Lesson Start
    Release notes excerpt
    Build, run, persist, and debug agents with LangChain, and know what each choice costs. This edition adds LangChain 101, a manual where every claim rests on a recorded run, and a home page that gets you into a lesson in one click. [Start learning](https://aiengineeringfromscratch.com) · [LangChain 101](https://aiengineeringfromscratch.com/manual-langchain-101.html) · [All manuals](https://aiengineeringfromscratch.com/manuals.html) LangChain 101 …
    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.
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.

Related concepts