Learn AI from silicon to software factories
For engineers and curious people who are comfortable with basic programming. Seven chapters take you from the chip to running agents across several machines, built from my own measured work. It is free and needs no signup.
Seven layers, built from the bottom up
- 7FactoriesSoftware factories: running it all30 min
- 6EvalsHow you know it worked30 min
- 5AgentsAgents and harnesses35 min
- 4RetrievalRetrieval and memory30 min
- 3ModelsTraining, LoRA and distillation30 min
- 2InferenceMaking a model answer fast30 min
- 1SiliconWhat the hardware actually does25 min
- Hardware at the bottom, software factories at the top. Schematic, not to scale.
Read in order, play with the pictures
- Read the chapters in order. Each one builds on the layer below it.
- Every chapter has visuals you can click and drag. Play with them before reading the caption.
- Each chapter ends with check-yourself questions. Tap a question to see the answer.
- The "mark complete" button saves your progress in this browser only. Nothing is sent anywhere.
- Every chapter links to the original posts and code it comes from.
What is inside
What the hardware actually does
A model is arithmetic plus memory traffic. Start at the chip and learn why decode is slow and prefill is fast.
Making a model answer fast
Tokens, the KV cache, quantization and speculative decoding: where the time goes and what each trick buys you.
Training, LoRA and distillation
How a small model gets better: fine-tuning with LoRA, mixture-of-experts quirks, and distilling from two teachers.
Retrieval and memory
Embeddings, vector search, hybrid retrieval and memory: how a model gets the right context into a small window.
Agents and harnesses
An agent is a loop around a model. Learn the harness: tools, permissions, context, and what makes one auditable.
How you know it worked
Benchmarks, budgets, null results and measurement mistakes. The skill that separates a demo from evidence.
Software factories: running it all
Put the stack to work: routing subagents across machines, a local lab, and an infrastructure layer for agents.
A laptop and curiosity
Nothing to install to read the course. The experiments behind it ran on Apple Silicon Macs, which is why the examples mention them, but nothing here requires one.
Where the numbers come from
Every number in this course comes from my own published posts, and each chapter links to the posts it draws on. They are measurements from specific machines and workloads, so treat them as examples of how to measure, not as universal rankings. Where a result was a miss or a null, the course says so.