Skip to main content
AI From Zero to BuilderCurriculum · Levels 0–15

Learn AI step by step.

Start with the basics of machine learning, then move through neural networks, language models, agents, and real AI systems. Each level builds on what you learned before.

Start at Level 0 →
Levels
16
Lessons
221
Range
Level 0–15
01

Foundations

Start with prediction and machine learning, then learn how neural networks and representations work.

Level 0

AI Foundations and Experimental Thinking

12 lessons · About 4 h · Starts with “Meet AI: Patterns, Predictions, and Decisions”

BuildA tiny predictor you can test
Open level
Level 1

Classical Machine Learning You Can Trust

18 lessons · About 7 h · + optional Python ~2.8 h · Starts with “What Machine Learning Is Really Optimizing”

BuildA classifier you can audit
Open level
Level 2

Neural Networks from First Principles

15 lessons · About 7 h · + optional Python ~1.8 h · Starts with “Why Neural Networks”

BuildA neural network from scratch
Open level
Level 3

Deep Representations, Images, Sequences, and Transfer

14 lessons · About 7 h · + optional Python ~1.3 h · Starts with “Representations: What Networks Learn”

BuildA transfer-learning experiment
Open level
02

Language models

Learn how text becomes tokens, how attention and Transformers work, then train a small language model.

Level 4

Text Representation and Tokenization

14 lessons · About 5 h · + optional Python ~0.9 h · Starts with “Text Is Not Numbers Yet”

BuildA tokenizer you can inspect
Open level
Level 5

Attention and the Transformer

16 lessons · About 7 h · + optional Python ~0.9 h · Starts with “Why Attention”

BuildAn attention probe you can explain
Open level
Level 6

Build and Train a Tiny Language Model

14 lessons · About 6 h · + optional Python ~1.0 h · Starts with “Decoder-Only Language Models”

BuildA tiny language model
Open level
03

Working with LLMs

Practice prompting, fine-tuning, and retrieval-augmented generation, and learn when to use each approach.

Level 7

Modern LLM Behavior and Prompting

13 lessons · About 7 h · Starts with “How Modern LLMs Behave”

BuildA reliable LLM workflow
Open level
Level 8

Fine-Tuning and Model Adaptation

14 lessons · About 9 h · Starts with “When to Fine-Tune”

BuildA fine-tuning experiment you can compare
Open level
Level 9

Retrieval-Augmented Generation

14 lessons · About 9 h · Starts with “Why Retrieval-Augmented Generation”

BuildA RAG system with sources you can check
Open level
04

Tools and agents

Learn how models use tools, follow structured workflows, and run as agents with clear limits.

Level 10

Tool Use, Structured Workflows, and Multimodality

13 lessons · About 9 h · + optional Python ~1.3 h · Starts with “LLMs That Use Tools”

BuildAn assistant that can use tools with validated actions
Open level
Level 11

Agent Fundamentals

13 lessons · About 9 h · Starts with “What Makes an Agent”

BuildAn agent with clear stopping and approval rules
Open level
Level 12

Agent Engineering and Harnesses

13 lessons · About 9 h · + optional Python ~1.7 h · Starts with “Agent Harnesses and Runtime Structure”

BuildAn agent runtime you can test and debug
Open level
05

Production and safety

Connect AI systems, serve them in production, evaluate their behavior, and handle safety and security.

Level 13

Interoperability, MCP/A2A, and Multi-Agent Systems

12 lessons · About 9 h · Starts with “Why Interoperability Matters”

BuildAn agent system that works across protocols
Open level
Level 14

Serving, Optimization, and Production Operations

13 lessons · About 10 h · Starts with “From Notebook to Service”

BuildAn AI service you can deploy and operate
Open level
Level 15

Evaluation, Safety, Security, and Frontier Practice

13 lessons · About 11 h · Starts with “Evaluation as a System”

BuildAn AI system you can evaluate for quality and safety
Open level

Python on-ramps

Already comfortable with Python? Each module starts with a skip check.

These non-numbered guides are optional and do not affect lesson progress or core level hours.

ModuleWhenWhat you'll coverTimeLink
P1 — Reading Python for ML Labs (Optional)Before L1.1Python syntax, lists, loops, imports and NumPy reading55 minOpen guide
P2 — NumPy Arrays and Shapes (Optional)Before L1.1NumPy arrays, indexing, shapes and axis operations55 minOpen guide
P4 — Reading scikit-learn Code (Optional)Before L1.18fit/predict, data splits, pipelines and cross-validation55 minOpen guide
P3 — Writing Small Python Functions (Optional)Before L2.3Functions, conditions, loops and writing TODO solutions110 minOpen guide
P5 — Reading PyTorch Code + Your First Colab Notebook (Optional)Before L3.11PyTorch tensors, nn.Module, gradients and Colab80 minOpen guide
P6 — Text Processing in Python (Optional)Before L4.1Strings, regex, counters and Unicode55 minOpen guide
P7 — Tensor Shapes for Transformers (Optional)Before L5.7Tensor dimensions, multi-head attention and masking55 minOpen guide
P8 — Running Python Projects Locally (Optional)Before L6.13Virtual environments, CLI arguments, paths and JSON60 minOpen guide
P9 — Writing Reliable Python: Contracts, Validation, Tests (Optional)Before L10.1Function contracts, validation, exceptions and tests75 minOpen guide
P10 — Python for Real AI Services (Optional)Before optional real-model Labs (L12–L15)Async Python, HTTP routes, concurrency and service setup100 minOpen guide
Model-family map

See the core course inside the wider AI/ML landscape.

The numbered Lessons are a deliberate learning spine, not a catalog of every model family. Use this map to distinguish what you build, what you should recognize, and what is a useful specialized or frontier direction to explore later. Seeing a family here does not mean you have mastered it.

Core build — implemented or exercised in the main curriculumRecognize — important idea and vocabulary, without a separate build trackExplore next — specialized or frontier direction after the core path
Classical ML · labeled targets

Supervised learning

How can a model learn from examples that include the target it should predict?

Learn an inspectable weighted relationship for predicting a numeric target.

Turn a weighted score into a classification probability and inspect the resulting decision boundary.

Decision treesCore build

Split feature space with learned questions and compare shallow and deep trees.

Random ForestCore build

Combine deliberately varied trees to reduce dependence on one unstable fitted tree.

BoostingCore build

Build a sequence of small learners that correct remaining prediction error.

Predict from nearby training examples, making feature scale and the choice of k part of the model behavior.

Naive BayesRecognize

Combine class probabilities with feature evidence under a simplifying conditional-independence assumption.

Choose a wide-margin decision boundary, with kernels available for some nonlinear similarity spaces.

Regularize linear models by penalizing large coefficients, with L1 and L2 penalties producing different behavior.

Classical ML · no target labels

Unsupervised learning

What structure can a model discover when examples do not come with a target label?

Group examples around learned centers so nearby points form a compact cluster.

Project data into a lower-dimensional space that preserves as much variation as possible along a few directions.

Learned representations

Deep learning

What structure should a network preserve when the input is spatial, sequential, or multimodal?

Reuse local pattern detectors across positions and build image representations.

Carry a learned state through ordered data and use gates to control memory.

TransformersCore build

Use attention to connect positions directly, then choose encoder, decoder, or encoder-decoder structure for the job.

Align representations from different modalities so related items can be compared in one learned space.

Graphs and real timelines

Specialized structures and prediction settings

What changes when examples are connected by a graph or predictions must respect a real time axis?

Update node representations using relationships to neighboring nodes when the data is naturally a graph.

Predict future values from past observations while respecting chronology, seasonality, forecast horizon, and leakage boundaries.

Generate new samples

Generative models

What learning signal and generation loop turn a learned data distribution into a new sample?

Generate a sequence one next-token decision at a time from the visible prefix.

Learn to reverse controlled corruption, then generate by repeatedly denoising a noisy state.

Encode examples into a constrained latent distribution, sample latent points, and decode them into generated examples.

Train a generator against a discriminator so the generator learns to produce samples the discriminator finds convincing.

Learn from outcomes and preferences

Reinforcement learning and preference learning

What changes when the learning signal comes from rewards, comparisons, or interaction rather than a direct target label?

Learn how an agent interacts through actions, rewards, policies, and returns before connecting those ideas to preference-based adaptation.

RLHFCore build

Connect human preference comparisons to reward-model signals and policy optimization, then evaluate what the proxy reward may miss.

Use preference data to compare outputs and adapt model behavior while keeping the evidence and objective explicit.

Use capacity efficiently

Model efficiency and frontier architecture

How can systems reduce serving cost or increase model capacity without assuming that one technique is always better?

QuantizationCore build

Represent model numbers with fewer bits and measure the real memory, speed, quality, and compatibility tradeoffs.

Train a smaller student to imitate useful behavior from a larger teacher, then evaluate what was preserved or lost.

Mixture of ExpertsExplore next

Route each token or example to a subset of expert networks so total parameter capacity and active computation can differ.