git404hub

what is ai-engineering-from-scratch fr?

rohitg00/ai-engineering-from-scratch — explained in plain English

Analysis updated 2026-05-18

42,014PythonAudience · developerComplexity · 3/5LicenseSetup · easy

tl;dr

AI Engineering from Scratch is a free, 503-lesson curriculum across 20 phases that teaches how AI actually works by building algorithms from raw math before using production libraries.

vibe map

mindmap
  root((ai-eng-from-scratch))
    What it does
      503 lesson curriculum
      20 phases
      Build then use approach
    Topics
      Math and ML foundations
      Deep learning and vision
      Transformers and LLMs
      Agents and swarms
    Tech stack
      Python
      TypeScript
      Rust
      Julia
    Getting started
      Read online
      Clone and run
      Placement quiz skill
    Audience
      Developers learning AI
      Students and professionals

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Follow a structured, phase-by-phase path from math foundations to building AI agents and LLMs from scratch.

VIBE 2

Use a built-in placement quiz inside Claude, Cursor, or Codex to find the right starting phase for your level.

VIBE 3

Learn how a production tool like PyTorch works internally by first implementing the same algorithm by hand.

what's the stack?

PythonTypeScriptRustJuliaPyTorch

how it stacks up fr

rohitg00/ai-engineering-from-scratchmicrosoft/qlibhkuds/nanobot
Stars42,01442,10041,803
LanguagePythonPythonPython
Setup difficultyeasymoderatemoderate
Complexity3/54/53/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

Lessons can be read online with no setup, or run locally after cloning with just Python and the other listed languages as needed.

MIT license: use freely for any purpose, including commercial use, as long as you keep the copyright notice.

in plain english

AI Engineering from Scratch is a large, free curriculum for learning how AI actually works by building it yourself, rather than just learning to call existing APIs. It contains 503 lessons spread across 20 phases and roughly 320 hours of material, written in Python, TypeScript, Rust, and Julia. The curriculum stacks like a staircase, starting with math foundations and general machine learning, moving through deep learning, computer vision, natural language processing, and speech, then into transformers, generative AI, and building large language models from scratch. From there it moves into tool use, AI agents, autonomous systems, multi-agent swarms, production infrastructure, and ethics, ending with capstone projects that combine everything. Every lesson follows the same pattern: state the one-line core idea, describe a concrete problem it solves, explain the concept with diagrams, build the algorithm by hand from raw math with no frameworks, then use the equivalent tool in a production library such as PyTorch, and finally ship a reusable artifact such as a prompt, an AI agent skill, an agent, or an MCP server. Each lesson lives in its own folder containing runnable code, a written explanation, and its output artifacts. There are three ways to get started: reading finished lessons on the project's website with no setup, cloning the repository and running individual Python files directly, or using a built-in placement quiz skill inside an AI coding tool like Claude, Cursor, or Codex that asks ten questions and builds a personalized learning path with time estimates. A separate per-phase quiz skill lets a learner check their understanding after finishing a phase. The project expects that a reader can already write some code, ideally Python, and wants to understand how AI works under the hood rather than only using existing AI APIs. It is free, open source, and released under the MIT license. The full README is longer than what was shown.

prompts (copy fr)

prompt 1
Run the /find-your-level skill from this curriculum and build me a personalized learning path.
prompt 2
Explain the Build It versus Use It structure of a lesson in AI Engineering from Scratch.
prompt 3
Walk me through cloning this repository and running the first linear algebra lesson.
prompt 4
Summarize what phase 14, Agent Engineering, covers in this curriculum.

Frequently asked questions

what is ai-engineering-from-scratch fr?

AI Engineering from Scratch is a free, 503-lesson curriculum across 20 phases that teaches how AI actually works by building algorithms from raw math before using production libraries.

What language is ai-engineering-from-scratch written in?

Mainly Python. The stack also includes Python, TypeScript, Rust.

What license does ai-engineering-from-scratch use?

MIT license: use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is ai-engineering-from-scratch to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is ai-engineering-from-scratch for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.