BuildTube Preview About
Back to the feed

ai-engineering-from-scratch: A 542-lesson free course that teaches AI engineering by building

Added · Updated

Learn to build AI systems yourself, from the math behind models to retrieval pipelines and agents, by writing and running real code.

It is for learners at any level, from people new to programming to engineers who only want agent work. The course is split into 20 phases using Python, TypeScript, Rust and Julia, and you can read it on the website, run it locally, or install it as a skill (an add-on for a coding assistant) so your agent tutors you lesson by lesson with quizzes. Three graded projects let you keep working code and test results. The source lists 542 lessons.

What it does

The curriculum is organized around goals rather than a fixed march through all 523 lessons: you pick what you want to build and follow the lessons for it, each one producing something reusable. It spans the practical stack of AI engineering — models, agents, memory, tooling — in four languages, and is published under the MIT licence.

How to use it

Open any lesson on aiengineeringfromscratch.com with no setup. To have an agent tutor you, run npx skills add rohitg00/ai-engineering-from-scratch and use start-learning in Codex or /start-learning in Claude Code; a placement quiz saves a study plan to LEARNING.md. To run code, clone the repository and run the setup check script in phase 00, which reports what is missing and how to fix it.

Common use cases

  • Take the ten-question placement quiz through the tutor skill and get a personal study plan with a starting phase and hour estimates.
  • Start the Retrieval Evaluation Lab project, implement each stage, and run the local grader until it passes, ending with a per-query comparison report.
  • Run check-understanding for a phase, answer eight questions, and get feedback that names the specific lessons to review.

Can I use this?

Runs in your browser

Requirements A web browser for reading. The tutor needs Node.js, npx and a coding assistant that supports skills, and labs need python3. Projects need Python 3.10 or newer, plus Node.js 22.18 or newer for the TypeScript project and Rust for the Rust one. The source does not list hardware requirements.

Caveat It is a large time commitment: the source estimates about 306 hours for someone new to programming and AI. Project starters are designed to fail until you complete each stage.

Worth knowing A serious time commitment if you follow the full route; shorter focused paths exist for MCP, Agent Skills and reverse engineering.

Why it's here

  • 77,722 people have starred it on GitHub.

Numbers as of 8 November 2026, from BuildTube’s latest daily refresh.

Behind it

View source

BuildTube has not run or verified this project. Everything above is written from what the creator published.

Made this?

Quick questions

What is ai-engineering-from-scratch?
The curriculum is organized around goals rather than a fixed march through all 523 lessons: you pick what you want to build and follow the lessons for it, each one producing something reusable.
What can I use ai-engineering-from-scratch for?
Take the ten-question placement quiz through the tutor skill and get a personal study plan with a starting phase and hour estimates; Start the Retrieval Evaluation Lab project, implement each stage, and run the local grader until it passes, ending with a per-query comparison report; Run check-understanding for a phase, answer eight questions, and get feedback that names the specific lessons to review
Can I run ai-engineering-from-scratch on my computer?
No install needed: it runs in your web browser. The source does not list hardware requirements.
What do I need to use ai-engineering-from-scratch?
Reading happens in the browser on GitHub or the course site; building along needs the relevant language toolchain.
What license does ai-engineering-from-scratch use?
The source lists the MIT license (MIT), an OSI-approved open-source license. Read the license file on the source page for the full terms.

More from this week

Explore by topic

Post this

A ready-made picture of this card for X, LinkedIn or a group chat. Link to this page alongside it.

Share image for ai-engineering-from-scratchDownload share image

For makers

Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.

Featured on BuildTube

README badge (Markdown)

[![Featured on BuildTube](https://buildtube.app/badge/gh-rohitg00-ai-engineering-from-scratch.svg)](https://buildtube.app/p/gh-rohitg00-ai-engineering-from-scratch/)

Embed card (HTML)

<iframe src="https://buildtube.app/embed/gh-rohitg00-ai-engineering-from-scratch/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="ai-engineering-from-scratch on BuildTube"></iframe>

Back to the feed