AI Engineering from Scratch

Hacker News Top Tools

Summary

A free, open-source curriculum that teaches AI engineering from first principles, building algorithms from raw math before using frameworks. It consists of 435 lessons across 20 phases, supporting Python, TypeScript, Rust, and Julia.

No content available
Original Article
View Cached Full Text

Cached at: 05/23/26, 06:33 PM

# AI Engineering from Scratch Source: [https://aiengineeringfromscratch.com/](https://aiengineeringfromscratch.com/) FIG\_000 · curriculum v1\.0 · 2026open source · MIT ## AI Engineering from Scratch 435 lessons\. 20 phases\. Every algorithm built from raw math before a single framework gets imported\. Maintained by Rohit Ghumare and contributors\. Run on your own machine\. How this works Most AI material teaches in scattered pieces\. A paper here, a fine\-tuning post there, a flashy agent demo somewhere else\. The pieces rarely line up\. You ship a chatbot but can't explain its loss curve\. You hook a function to an agent but can't say what attention does inside the model that's calling it\. This curriculum is the spine\. 20 phases, 435 lessons, four languages: Python, TypeScript, Rust, Julia\. Linear algebra at one end, autonomous swarms at the other\. Every algorithm gets built from raw math first\. Backprop\. Tokenizer\. Attention\. Agent loop\. By the time PyTorch shows up, you already know what it's doing under the hood\. Each lesson runs the same loop: read the problem, derive the math, write the code, run the test, keep the artifact\. No five\-minute videos, no copy\-paste deploys, no hand\-holding\. Free, open source, and built to run on your own laptop\. Current Progress Finished Lessons0 / 0 Phases0 / 0 Languages4 Glossary Terms··· Curriculum · 20 phases · 435 lessons Tap a phase to expand its lessons\. Each one ships when its math, code, and test are all written\. CompleteIn progressPlanned Colophon The entire curriculum is on GitHub\. Clone it, fork it, learn at your own pace\. No paywall, no signup\. Every lesson has runnable code in Python, TypeScript, Rust, or Julia, depending on what fits the concept best\. `git clone https://github\.com/rohitg00/ai\-engineering\-from\-scratch\.git`

Similar Articles

rohitg00/ai-engineering-from-scratch

GitHub Trending (daily)

A comprehensive, free, open-source AI engineering curriculum with 428 lessons across 20 phases, covering math foundations to autonomous swarms in Python, TypeScript, Rust, and Julia.