AI Foundationspredict · compress · act
A FIELD GUIDE TO HOW MACHINES LEARN

Guess. Check.
Improve.

A machine makes a guess. It checks how wrong the guess was. Then it changes itself a little. Do that a few billion times and you get a model. This guide follows that one loop — from a single bit of information to an agent that acts.

Start the story →See the map

the whole field in one picture

One idea, seen six ways

Every topic in this guide is one of six jobs. They are not rivals. They are the same object looked at from six angles.

DATA · EXPERIENCETHE PRISMRepresentWhat is the state?InferWhat follows?LearnWhat should change?Search & planningWhat sequence?ActWhat to do now?MeasureHow good, and how much?
The same data, refracted into six jobs. A real topic can use several at once — that is why the field feels tangled until you see the prism.
the six jobs

What an AI is actually doing

RepresentWhat is the state?

Turn the world into numbers a machine can work with.

tokens, embeddings, world models
InferWhat follows?

Work out what is likely, given what it knows.

Bayes, causality, retrieval
LearnWhat should change?

Get a little less wrong by looking at data.

gradient descent, scaling laws
Search & planningWhat sequence?

Look through many options and keep a good one.

planning, MCTS, theorem proving
ActWhat to do now?

Choose an action and live with the result.

reinforcement learning, tools, agents
MeasureHow good, and how much?

Put a number on surprise, error, and cost.

entropy, cross-entropy, evaluations
the stack

Eight layers, from maths to institutions

A topic lives at one layer and is looked at through one or more jobs. The lower layers change slowly. The upper layers change monthly.

L0Foundations & theoryThe maths underneath everything.probability, optimisation, information
L1ModelThe shape of the thing that learns.transformer, CNN, diffusion, mixture of experts
L2DataWhat it reads.curation, synthetic data, licensing
L3ComputeWhat runs it.GPUs, memory bandwidth, power
L4TrainingHow it is taught.gradients, fine-tuning, RLHF
L5Serving & deploymentHow it answers once it is trained.decoding, batching, quantisation
L6Systems, agents & applicationsWhat it does for someone.tools, memory, sandboxes, coding agents
L7Ecosystem & institutionsWho builds it and who governs it.labs, open weights, policy
the map

Where everything sits

Six jobs across, eight layers down. Each box is filled from the graph — the terms are the concepts, and every one links to the chapter that explains it. Dashed boxes are open ground. Grey boxes do not apply at all — a GPU does not infer, and an institution does not learn.

Represent
Infer
Learn
Search & planning
Act
Measure
L0 Foundations & theory
L1 Model
open
L2 Data
open
open
open
open
L3 Compute
n/a
n/a
n/a
n/a
n/a
L4 Training
open
L5 Serving & deployment
open
open
L6 Systems, agents & applications
open
open
L7 Ecosystem & institutions
n/a
n/a
n/a
n/a
n/a

swipe to scroll →

Colour marks the job: cyan for information, violet for learning, magenta for decision. Dashed = open. Grey = not applicable.236 concepts, generated from one graph.

Open the full atlas →Every concept →Reading routes →

how we got here

Eighty years, in one line

Two winters, two thaws, and one architecture that ate the field. Twelve turns that explain the shape of the present — and why the money ran out twice before it worked.

swipe to scroll →

See all 54 moments →

open ground

What we still don't know

These are not footnotes. They are the live edge of the field.

the story

54 chapters, in order

If the map is the territory, this is the walk across it. Each chapter is short, plain, and carries a diagram. Prefer the arc by year? See the timeline →

act I · The Core Question
01What Is Intelligence, Really?intelligence · agent
02Intelligence Is Compressioncompression · prediction
act II · The Substrate
03The Bit: A Yes or a Nobit · uncertainty
04Entropy: The Price of Surpriseentropy · surprise
05Codes: Saying More with Lesssource coding · prefix code
07Distance Between BeliefsKL divergence · mutual information
act III · The Instruments
08Belief, Updatedprobability · Bayes' rule
09Everything Is a Vectorvector · dot product
10Rolling Downhillloss function · gradient descent
11Why Memorizing Failsoverfitting · underfitting
12No Free Lunchinductive bias · no free lunch
act IV · The Machines
13Can Machines Think?Turing machine · computability
14The First Neuronneuron · perceptron
15Why Silicon Got Good at Thisparallelism · GPU
act V · The First Attempts
16Rules All the Way Downsymbolic AI · knowledge representation
17The First WinterAI winter · combinatorial explosion
18Feedback: The Other Treefeedback · control theory
act VI · The Connectionist Turn
19Learning from Blamehidden layer · multilayer perceptron
20Seeing with Windowsconvolution · convolutional neural network
21Memory in a Looprecurrent neural network · LSTM
22Words as Coordinatesword embedding · word2vec
23Learning from Rewardreinforcement learning · policy
act VII · The Attention Revolution
24Attention Is All You Needattention · transformer
25Breaking Language into Piecestoken · tokenizer
26The Big Readpretraining · self-supervised learning
27More Is Differentscaling law · compute-optimal
28Teaching Tastefine-tuning · instruction tuning
29Noise into Imagesdiffusion model · denoising
act VIII · The Alignment Layer
30Opening the Black Boxmechanistic interpretability · feature
31Getting the Goal Rightalignment · specification
32How Do We Even Know?benchmark · evaluation
act IX · The Agent Infrastructure
33From Answer to Actionagent loop · ReAct
34Hands and Function Callsfunction calling · tool schema
35Memory Outside the Weightsretrieval-augmented generation · vector database
36A Port for ToolsModel Context Protocol · MCP server
37Many Hands, One Joborchestration · workflow
38How Tokens Get Servedinference · KV cache
39A Safe Place to Actsandbox · permission
40Watching the Looptracing · observability
act X · The Frontier
41Thinking Before Answeringchain-of-thought · reasoning model
42Models of the Worldworld model · model-based RL
43The Open QuestionAGI · superintelligence
act XI · The Open-Weight World
44What 'Open' Meansopen weights · open-source AI
45DeepSeekmixture of experts · multi-head latent attention
46The Chinese Labsmodel family · Qwen
47The Other Open LineagesLlama · Mistral
48The Compute Squeezeexport controls · Huawei Ascend
49Licences and Rulesopen-weight licence · acceptable use policy
50Running One YourselfGGUF · LoRA
51The Open Frontiercommoditisation · open-weight risk
act XII · Beyond Text
52The Harnessagent harness · harness engineering
53Image Modelslatent diffusion · diffusion transformer
54Omni-Modelsomni-model · any-to-any