22nd of 8 in Learning and cookbooks
ai-engineering-from-scratch
Hands-on curriculum for building AI systems from math to agents
- Stars
- 68.4k
- License
- MIT
- Last commit
- Oct 2026
- Last release
- Oct 2026
- Language
- Python
Checked on GitHub.
Overview
A course of 528 lessons across 20 phases, covering math foundations, ML fundamentals, LLM engineering, agents, tools and protocols, and production infrastructure. Lessons are runnable code in Python, TypeScript, Rust and Julia, with three graded projects: retrieval evaluation, agent trace debugging and a tool-call firewall. It can be followed on the website, from a local clone, or through tutor skills installed into a coding agent.
Who it is for: Developers learning to build LLM, RAG and agent systems from first principles
Strengths
- Lessons ship runnable code; the first ones need only python3 and no extra dependencies
- Three staged projects with local graders (project_test.py --strict) and reference solutions
- Tutor skills install via npx skills and save progress to LEARNING.md
- Code in Python, TypeScript, Rust and Julia; README translated into 30+ languages
Weaknesses
- 528 lessons is a large scope; total study time is not stated in the visible README
- Project starters fail by design until you implement the stages
- Tutor skills need Node.js, npx and a skill-capable coding agent host
- GPU and RAM needs for later phases are not stated in the visible README
What it needs
- Needs Python 3.10+, Node.js 22.18+ (TypeScript project), Rust (Tool Call Firewall project), npx (optional, tutor skills)
Head to head
Also in Learning and cookbooks
See all 8| Rank | Project | Score |
|---|---|---|
| 1 | generative-ai-for-beginners21-lesson course on building generative AI apps in Python and TypeScript | 80 out of 100 |
| 3 | llms-from-scratchCode for the book on building a GPT-style LLM in PyTorch | 74 out of 100 |
| #4 | hello-agentsChinese-language course on building LLM agents from scratch | 72 out of 100 |
| #5 | ai-agents-for-beginners18-lesson course on building AI agents with Microsoft Agent Framework | 70 out of 100 |
| #6 | openai-cookbookExample notebooks and guides for building with the OpenAI API | 65 out of 100 |