Comprehensive AI Engineering Curriculum: From Linear Algebra to Agent Swarms
rohitg00/ai-engineering-from-scratchLearn it. Build it. Ship it for others.
AI Analysis
A 260-lesson, multi-language roadmap for building AI tools, agents, and systems from scratch.
Built for Software engineers and developers looking to transition from AI consumers to AI builders.
From the README
Journey • Get Started • Toolkit • Roadmap • Contribute • Glossary
230+ hands-on lessons across 20 phases. From linear algebra to autonomous agent swarms. Python, TypeScript, Rust, Julia. Every lesson produces something reusable: prompts, skills, agents, MCP servers.
You learn AI. You build real things. You ship tools others can use.
| | Other Courses | This Course | |---|---|---| | Scope | One slice (NLP or Vision or Agents) | Everything: math, ML, DL, NLP, vision, speech, transformers, LLMs, agents, swarms | | Languages | Python only | Python, TypeScript, Rust, Julia | | Output | "I learned something" | A portfolio of tools, prompts, skills, and agents | | Depth | Surface-level or theory-heavy | Build from scratch first, then use frameworks | | Format | Videos or docs | Runnable code + notebooks + docs + web app |
The Journey
Phase 0: Setup & Tooling 12 lessons
Get your environment ready for everything that follows.
| # | Lesson | Type | Lang | |:---:|--------|:----:|------| | 01 | Dev Environment | Build | Python, Node, Rust | | 02 | Git & Collaboration | Learn | -- | | 03 | GPU Setup & Cloud | Build | Python | | 04 | APIs & Keys | Build | Python, TS | | 05 | Jupyter Notebooks | Build | Python | | 06 | Python Environments | Build | Python | | 07 | Docker for AI | Build | Python | | 08 | Editor Setup | Build | -- | | 09 | Data Management | Build | Python | | 10 | Terminal & Shell | Learn | -- | | 11 | Linux for AI | Learn | -- | | 12 | Debugging & Profiling | Build | Python |
Phase 1: Math Foundations 22 lessons The intuition behind every AI algorithm, through code.
| # | Lesson | Type | Lang | |:---:|--------|:----:|------| | 01 | Linear Algebra Intuition | Learn | Python, Julia | | 02 | Vectors, Matrices & Operations | Build | Python, Julia | | 03 | Matrix Transformations & Eigenvalues | Build | Python, Julia | | 04 | Calculus for ML: Derivatives & Gradients | Learn | Python | | 05 | Chain Rule & Automatic Differentiation | Build | Python | | 06 | [Probability & Dist