Visual explainers: how AI systems work and how AI products are run
Each explainer follows one example through a system or a product decision, one stage at a time, with a picture at every stage. Six show how AI systems work. Six show how AI products are run: a launch, a model change, a margin, a regression, an agent spec and an incident. Ten minutes each, and links to the lessons that go deeper.
Follow one example through the stages and the system stops being magic: each stage has one job, one cost and one way to break.
An explainer follows one example through a system or a product decision, one stage at a time. Every stage has a short plain block, a picture and one line to remember. There is no maths to do. Each takes about ten minutes.
The explainers sit beside the lessons, not in place of them. Read an explainer first to get the shape of a system. Then read the lessons for the detail, the numbers and the code.
The explainers
How AI systems work
- Inside one LLM request — follow the question "What is a mortgage rate?" from Enter to the last word: tokens, the context window, prefill, decode, the KV cache, streaming and batching.
- How a model learns — follow "The cat sat on the ___" through the loss, the gradient and the update, then through pretraining, supervised tuning and preference tuning.
- One token through a transformer — follow "bank" in "the river bank" through attention, the feed-forward layer and the residual stream.
- How an image model draws — follow "a red kite over a beach" from noise to picture: diffusion, guidance and the latent space.
- One agent run, step by step — follow the goal "Refund order 55812 if eligible" through tools, a gateway, stop conditions and a human checkpoint.
- Anatomy of a guardrailed request — follow a hostile request through the layers that stop it.
How AI products are run
These six follow a product decision rather than a system. Each stage shows a decision, a number or a document that the product manager owns.
- One AI feature, from idea to launch — follow claim summaries at an insurer from the size of the prize to the first-month readout.
- One model change: cost, speed and quality — follow a retirement notice to a new model, and see why the bill moved more than the price list.
- From one AI task to gross margin — follow one task's tokens to the margin on a seat and the pricing choice that follows.
- One eval regression, traced to its cause — follow a red eval gate through error bars, slices and layers to the cause and a new guard.
- One user story becomes an agent spec — follow a dispatcher's story to tools, limits, autonomy per action and a rule for more freedom.
- One AI incident, from alert to postmortem — follow a wrong fee answer from the first screenshot to the actions in the roadmap.
Then the recap, with a self-test across all twelve.
How the explainers connect to the lessons
| Explainer | The lessons that go deeper |
|---|---|
| Inside one LLM request | Generating text and the KV cache, GenAI and agent platforms |
| How a model learns | Training: loss and gradient descent, From base model to assistant |
| One token through a transformer | Attention, The block |
| How an image model draws | The modalities |
| One agent run | What an agent is, Designing agentic flows |
| A guardrailed request | The threat model and guardrails |
| One AI feature, idea to launch | Capstone: ship one AI-native feature, Product sense for AI products |
| One model change | Choosing a model, Prompts in production |
| From one AI task to gross margin | FinOps for AI, Pricing and business models |
| One eval regression | Building the eval stack in the right order, Technical product management for AI |
| One user story to an agent spec | Specs, PRDs & RFCs, Practice: the agent spec and risk register |
| One AI incident | Incidents & postmortems, Reliability & failure |
About the examples
The examples are made up or simplified so that each fits on a page. The companies in the product explainers are invented, and their prices are illustrative. Where a number comes from this site's own code, the page says so. Real systems differ in detail. Every page lists its sources and says which ones were read.
