What ai-engineering-from-scratch does
AI Engineering from Scratch is an open-source curriculum, maintained by Rohit Ghumare and contributors, that teaches AI engineering by implementing each algorithm yourself before using a framework: backpropagation, tokenizers, attention, the agent loop. The site lists 20 phases and 542 lessons, from setup and math foundations through ML, deep learning, computer vision, NLP, speech, transformers, generative AI, reinforcement learning, LLMs from scratch, LLM engineering, multimodal AI, tools and protocols (including MCP), agent engineering, multi-agent systems, infrastructure and production, ethics and safety, and capstone projects. Each lesson follows the same loop: read the problem, derive the math, write the code, run the test, keep the artifact. Lessons ship only when their math, code and test are written, and the site marks phases as complete, in progress or planned.
Everything lives in a public GitHub repository under the MIT licence, so you can clone it and run it on your own machine. The site adds interactive simulations (inside an AI agent, a decompiler, an LLM-serving GPU), four core learning paths (building and deploying AI applications, software engineering fundamentals, agent-assisted engineering, product judgment and delivery), focused MCP and Agent Skills paths, and EPUB and PDF book editions built from the lessons on every GitHub release. You can also install it as an agent skill (npx skills add rohitg00/ai-engineering-from-scratch) so Claude, Cursor, Codex or another SKILL.md-compatible agent gives you a placement quiz and teaches lessons interactively in the terminal.
