AI Engineering from Scratch is a comprehensive open-source curriculum designed to teach artificial intelligence by building every component from first principles rather than relying on prebuilt frameworks. The project is structured into more than 20 phases and hundreds of lessons, covering topics that range from foundational mathematics to advanced systems such as large language models, retrieval pipelines, and multi-agent architectures. Each lesson emphasizes hands-on implementation, requiring learners to write core components such as backpropagation, tokenizers, and attention mechanisms themselves before using higher-level tools. The curriculum spans multiple programming languages, including Python, TypeScript, Rust, and Julia, which broadens the learner’s exposure to different ecosystems and performance considerations. It also focuses on producing tangible outputs such as prompts, agents, and reusable systems, allowing learners to build a real portfolio while studying.

Features

  • 260+ lessons across structured learning phases
  • Hands-on implementation of core AI algorithms
  • Multi-language support including Python and Rust
  • Coverage from math foundations to AI agents
  • Capstone projects for production systems
  • Output-focused learning with reusable artifacts

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow AI Engineering from Scratch

AI Engineering from Scratch Web Site

Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AI Engineering from Scratch!

Additional Project Details

Programming Language

Python

Related Categories

Python Artificial Intelligence Software

Registered

2026-04-21