# ai-engineering-from-scratch

> A free curriculum of 542 lessons in 20 phases for building AI systems from scratch and testing them.

- Type: skill
- Field: Learning & Education
- Repository: https://github.com/rohitg00/ai-engineering-from-scratch
- GitHub stars: 81271
- Licence: MIT
- Language: Python
- Last push: 2026-11-30
- Page: https://imutechz.in/agents/ai-engineering-from-scratch

## What it is
AI Engineering From Scratch is an open-source course where learners implement model internals, retrieval pipelines and agent runtimes, then test them and inspect failures. Most lessons have you write a small version first, then show where production tools do the same work. It can be followed on the website, with a coding agent, or by running the code locally.

## Features
- 542 lessons across 20 phases
- Code in Python, TypeScript, Rust, Julia and Go
- Three learning routes: model foundations, LLM systems, agents and delivery
- Projects with staged starters and local graders
- One command turns a coding agent into a tutor

## Best for
- Learning how models and agents work internally
- Practicing with graded projects
- Studying with a coding agent as tutor

## Pros
- Build-first lessons with runnable code
- Local graders for the projects
- MIT licensed

## Cons
- Starter projects fail until you implement the stages

## Install
```
npx skills add rohitg00/ai-engineering-from-scratch
```

## Usage
```
python3 scripts/project_test.py retrieval-evaluation-lab \
 --init learning-artifacts/retrieval-evaluation-lab
```

Tags: ai-engineering, course, agents, deep-learning, rag, python, learning, llm
