AI Fundamentals Lab
Learn how AI actually works, by pulling it apart
Nine hands-on modules. Each one gives you a control to move and something visible that changes when you move it — so you end up understanding the mechanism, not just the vocabulary. No account, no setup, works on your phone.
Tokens
A model never sees your words. See exactly how your text gets chopped up first — and why that makes it bad at spelling and arithmetic.
Top-P
Watch the list of candidate next words get cut off. Drag the threshold and see which words survive, and which never had a chance.
Context Window
Pack a suitcase that only holds so much. Keep adding to the conversation and watch what quietly falls out of the back.
System Prompt
Same question, different standing instructions. See how much of a model's "personality" is just a paragraph someone wrote.
Model Comparison
Same prompt, different models. Where they agree, where they diverge, and what size and training actually buy you.
Embeddings
Meaning as distance. Find the nearest neighbours of a word, and see why "firewall" sits closer to "router" than to "fire".
Attention
Which earlier words was the model looking at when it chose this one? Hover a word and watch the spotlight fall.
RAG
Hand the model your documents. See retrieval pick the chunks, and see the answer change from guesswork to grounded.
Hallucination Detective
Confident, fluent, and wrong. Find the planted errors in real-looking answers, then learn why they happen at all.
For instructors
Every module runs entirely in the student's browser — no accounts, no API keys, no per-student cost, and nothing to fall over mid-class. The interactive parts are driven by curated and computed data chosen to make each mechanism visible; each page states plainly where its data comes from.