Open Source · MIT License · ~290 hours

AI Engineering from Scratch

260+ lessons across 20 phases. Build neural networks, transformers, and LLMs from first principles. Python, TypeScript, Rust, Julia.

0 Lessons
0 Phases
4 Languages
0 Complete
Math ~> ML ~> Deep Learning ~> Transformers ~> LLMs ~> Agents ~> Production ~> Math ~> ML ~> Deep Learning ~> Transformers ~> LLMs ~> Agents ~> Production

Why This Course

Build, Don't Import

Implement every algorithm from raw math. No magic wrappers. You write the backprop, the tokenizer, the attention mechanism.

20 Phases of Depth

A structured path from calculus and linear algebra through LLMs, agents, multi-agent swarms, and production deployment.

Real Code, Real Projects

Python, TypeScript, Rust, Julia. Every lesson has runnable code, not slides. Build a GPT, a RAG system, an agent team.

Free & Open Source

The entire curriculum is on GitHub. Clone it, fork it, learn at your own pace. No paywall, no signup, no gatekeeping.

The 20 Phases

Click any phase to see its lessons

Roadmap

0%

How It Works

1

Clone the Repo

One command. Everything you need is in the repository.

2

Pick Your Phase

Start at Phase 0 or jump to where your knowledge begins.

3

Read the Theory

Each lesson explains the concept from first principles.

4

Build It Yourself

Implement the algorithm. Run the code. Break things.

5

Check Your Understanding

Each phase has exercises. No multiple choice -- real code challenges.

6

Ship the Capstone

Phase 19 ties it all together. Build a production AI system.

AI Glossary

Confused by jargon? We built a glossary that tells you what people say vs what things actually mean.

Browse All Terms

Start Building

One command to begin your AI engineering journey.

git clone https://github.com/rohitg00/ai-engineering-from-scratch.git