// lessons
A structured curriculum for teaching yourself how LLMs and AI agents actually work — from first principles to advanced internals. Each lesson is a self-contained deep dive. Work through them in order.
How Deep Neural Networks Really Work
The foundations. What a neural network actually is, why stacking ReLUs can approximate any function, and how gradient descent tunes millions of parameters. Start here.
Build a Neural Network in a Spreadsheet
Theory into practice. Build a working neural network from scratch in a spreadsheet — no code, no libraries, just arithmetic you can see and touch. Train it on real Titanic passenger data.
Anatomy of an AI Coding Agent
From models to agents. What separates a chatbot from an agent, the six building blocks every production coding agent shares, how a single request flows from keystroke to output, and how permission systems keep an autonomous loop safe.
Inside the Transformer
The machine in the middle. How a language model turns a transcript into the next token: tokens and embeddings, why attention was the breakthrough, what a context window physically is — and a complete tiny GPT in PyTorch you can read in one sitting.