AI Engineering from Scratch — A free, open-source curriculum to learn, build, and ship AI models, retrieval pipelines, and agents.

Analyzed by · AI · Education · View on GitHub

What It Is

This GitHub repository is a complete, free, and open-source curriculum designed to teach you the practical skills needed to build AI systems. Think of it like a hands-on university degree for AI engineers, covering everything from core math to deploying complex AI agents, all with runnable code examples.

It matters because it bridges the gap between theoretical machine learning concepts and the messy reality of shipping AI products. Most resources teach one or the other; this teaches you how to implement model internals, debug agent traces, and secure tool calls – the stuff you need to get hired or build your own AI startup.

AI Engineering from Scratch GitHub repository card

License Verdict

MIT License — Build and Sell Freely — Commercial Use Approved • No Copyleft Restrictions

The MIT license is one of the most permissive. You can use, copy, modify, merge, publish, distribute, sublicense, and sell copies of the software. This means you can build commercial products or services based on this curriculum without needing to open-source your own code.

How to Use It

To start learning locally, clone the repository and run the provided Python scripts. This allows you to execute lesson code and project challenges directly on your machine. You can also follow the course directly on their website without any setup.

Prerequisites:

Estimated setup time: 5 minutes.

git 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 beginner
python3 phases/01-math-foundations/01-linear-algebra-intuition/code/vectors.py

What I'd Build With This

AI Engineering Study Buddy & Project Coach (micro-saas)

Build a platform that integrates with this curriculum, offering personalized study plans, AI-powered Q&A on lessons, and automated code review for project challenges. Users could upload their project code, get instant feedback, and track their progress through the 523 lessons. Indie developers and aspiring AI engineers would pay for accelerated learning and tailored support.

Effort: 2 Weeks Build Time · Target: Aspiring AI Engineers · Pricing: $29/mo

Enterprise AI Upskilling Platform (saas)

Create a white-label SaaS solution for companies to train their engineering teams in AI. Leverage this curriculum as the core content, add custom modules for company-specific tools or use cases, and provide an admin dashboard to track employee progress and skill development. Companies with existing engineering teams needing to pivot into AI would be the primary customers.

Effort: 2 Months Build Time · Target: Mid-sized Tech Companies · Pricing: $500/mo (per team)

Custom AI Engineering Workshop & Curriculum Development (enterprise)

Offer consulting services to large enterprises, designing and delivering bespoke AI engineering workshops. Use modules from 'AI Engineering from Scratch' as a foundation, customizing them with the client's internal data, infrastructure, and business problems. This would involve on-site training, hands-on project guidance, and potentially integrating their proprietary tools into the learning path. Large corporations looking for tailored, practical AI training for their R&D or product teams would pay for this.

Effort: 1 Month Per Client · Target: Fortune 500 R&D · Pricing: $30,000/project

Sai Pavan Gopularam's Take

This isn't just another AI tutorial; it's a full-stack AI engineering bootcamp disguised as an open-source repo. If you built a premium, cohort-based version of this with live Q&A and career coaching, you could charge $5,000 per student.

Watch Out For

I break down trending repos like AI Engineering from Scratch every week — join the newsletter.

Browse all free repo breakdowns