Back to directory

AI Engineering From Scratch

A free curriculum of over five hundred lessons across twenty phases teaching AI engineering hands-on, from math foundations through building agents and MCP servers, in Python, TypeScript, Rust and Julia.

Visit website (opens in a new tab)aiengineeringfromscratch.com
AI Engineering From Scratch

Each lesson ships a reusable artifact, such as a prompt, a skill, an agent or an MCP server, and the README asks a learner to read the lesson, actually type and build the code rather than treat it as decoration, run the command from the repository root, and keep evidence of the exit code and the artifact produced before moving on.

Content is organized goal-first rather than lesson-first: paths exist for someone new to the field, someone who wants math and machine-learning foundations, production LLM engineering, agent engineering, using coding agents on real repositories, product judgment for deciding what to build, the Model Context Protocol, and writing Agent Skills, plus certification preparation tracks. The same lesson codes are used on GitHub and on a companion website.

English is the canonical language, with machine-translated companion pages in several others. MIT licensed.

More in Tutorials

See all 478
  • BootLife

    github.com

    Conway's Game of Life implemented to run directly from a 512-byte x86 boot sector in assembly, using VGA memory itself as the simulation grid.

  • A technical blog post deriving the Y combinator as a composition of combinator birds in an array language, and examining how eager evaluation changes fixed-point recursion compared with the usual lazy telling.

  • System Design Atlas

    atlas-sysdes.vercel.app

    A free reference of worked system design problems with interactive architecture diagrams, covering ranked designs such as a feed, a chat app, a URL shortener, and a rate limiter, plus pages on the technologies behind them.