Module · 5 parts

The Science of AI

How a large language model actually works — from words, to numbers, to meaning, to action. Five interactive illustrations that open up the machinery, one idea at a time.

1

From Words to Numbers

Text becomes tokens, then vectors — and self-attention lets context decide what a word means. The honest answer to "it's just autocorrect."

2

The Space of Meaning

Where those vectors live: meaning as the angle between them, and the staggering vastness of high-dimensional space.

3

What Happens When You Ask

Hit enter and the model re-reads the whole conversation to reply — it stores nothing on its own. Meet inference, the context window, and memory.

4

Why AI Hallucinates

A fabricated citation, built exactly like a real one. Why “don't hallucinate” doesn't help — and how real sources (RAG) fix it.

5

Inside an AI Agent

How tools give a language model hands and legs — letting it take actions and do real work, not just talk.