AI Foundations Free ~9 min read New · July 2026

How AI actually works: one mental model, everything explained.

You don't need the math. You need a mental model accurate enough to predict when AI will be brilliant and when it will confidently make things up — because every skill on this site sits on top of that intuition.

01 The autocomplete that read everything

A language model does one thing: given text, it predicts what plausibly comes next — like your phone's autocomplete, if your phone had read a meaningful fraction of everything humans have written. Ask a question and it generates, word by word, the most plausible continuation of a conversation where that question gets answered well. That's it. Every astonishing capability and every embarrassing failure follows from this one fact.

02 Why that produces brilliance

"Plausible continuation" turns out to be a shockingly deep target. To continue text well about plumbing, contracts, or grief, the model had to internalize the patterns of plumbing, contracts, and grief — which looks like understanding, and functionally often is. This is why AI writes, summarizes, translates, and explains so well: those are pattern tasks, and it has absorbed more patterns than any human ever could.

03 Why the same thing produces confident nonsense

The key insight

The model doesn't know what it knows. Plausible-next-words and true-next-words usually overlap — but when they don't, nothing inside rings an alarm. A fabricated citation is generated by exactly the same process as a real one, in the same confident tone. It isn't lying; it has no concept of the difference. That's why verification is a permanent habit (the hallucination lesson), not a temporary bug workaround.

04 Five behaviors the model explains

05 The stance that follows

Treat AI as a brilliant, tireless colleague with no sense of its own limits: superb first drafts, genuine insight, zero self-doubt. Everything this site teaches — grounding, verification, iteration, the supervision habits — is just the professional etiquette for working with exactly that colleague.

Try it now

Ask any AI a question you know cold, then one adjacent question you can't verify. Watch the identical confidence. You now understand AI better than most people using it daily.

Try it in the Playground →

This week's challenge

This week, each time an AI surprises you — good or bad — trace it back to the mental model: what made that continuation plausible? Five traces in, you'll find you can predict its behavior before you hit enter. That intuition is the foundation everything else on this site builds on.

Up next in AI Foundations

Speak AI: the vocabulary decoded

Tokens, context windows, RAG, agents — the terms that gatekeep, translated into plain English. Read the lesson →