AI Engineering From Scratch: Learn AI From Zero
511 lessons, 20 phases, ~329 hours — learn AI from zero to production. Python, TypeScript, Rust, Julia. Free, open source.
Learn AI the Right Way — From Start to Finish#
84% of students already use AI tools, but only 18% feel prepared to use them professionally. AI Engineering From Scratch closes that gap — 511 lessons, 20 phases, free.
[!TIP] 150,639 readers · 241,669 page views in the last 30 days. This is the largest AI curriculum on GitHub.
What Is AI Engineering From Scratch?#
A complete curriculum where every lesson produces a reusable artifact:
| Stat | Value |
|---|---|
| Total lessons | 511 |
| Phases | 20 |
| Estimated time | ~329 hours |
| Languages | Python, TypeScript, Rust, Julia |
| Artifact per lesson | Prompt, skill, agent, or MCP server |
Where to Start?#
| Your Goal | Start Here |
|---|---|
| Complete foundation | Phase 0: Setup and Tooling |
| Math + ML foundations | Phase 1: Math Foundations |
| Production LLM apps | Phase 11: LLM Engineering |
| Build agents | Phase 14: Agent Engineering |
| MCP (Model Context Protocol) | Phase 13: MCP route |
| Agent Skills | Phase 15: Agent Skills |
Every Lesson Working Session#
[!NOTE] Every lesson follows 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, no hand-holding.
Install the AI Tutor#
npx skills add rohitg00/ai-engineering-from-scratchbashgit clone https://github.com/rohitg00/ai-engineering-from-scratch.git
cd ai-engineering-from-scratch
python3 phases/00-setup-and-tooling/01-dev-environment/code/verify.py --route beginnerbashHost Invocation#
| Host | Start Course | MCP | Agent Skills | Quiz |
|---|---|---|---|---|
| Codex | start-learning | learn-mcp | learn-agent-skills | check-understanding 13 |
| Claude Code | /start-learning | /learn-mcp | /learn-agent-skills | /check-understanding 13 |
| Other | Use skill name | Use skill name | Use skill name | Use skill name |
Example: First Evidence#
# python3 phases/00-setup-and-tooling/01-dev-environment/code/verify.py --route beginner
# Result: Environment setup check
# If pass → you're ready for Phase 1python# python3 phases/01-math-foundations/01-linear-algebra-intuition/code/vectors.py
# Result: matrix × vector = neural network layer operation
# Save terminal output as first evidencepythonConclusion#
AI Engineering From Scratch doesn’t just teach AI — you build it. End-to-end, by hand. Free, open source, runs on your laptop.
🔗 Repository: github.com/rohitg00/ai-engineering-from-scratch ↗ 🔗 Website: aiengineeringfromscratch.com ↗