Forward-deployed / AI Knowledge Graph
Visual explainershow it works

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.

Core insight

Follow one example through the stages and the system stops being magic: each stage has one job, one cost and one way to break.

12 explainersa picture per stage10 minutes eachlinks to the deep lessons

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

  1. 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.
  2. 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.
  3. One token through a transformer — follow "bank" in "the river bank" through attention, the feed-forward layer and the residual stream.
  4. How an image model draws — follow "a red kite over a beach" from noise to picture: diffusion, guidance and the latent space.
  5. One agent run, step by step — follow the goal "Refund order 55812 if eligible" through tools, a gateway, stop conditions and a human checkpoint.
  6. 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.

  1. One AI feature, from idea to launch — follow claim summaries at an insurer from the size of the prize to the first-month readout.
  2. 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.
  3. From one AI task to gross margin — follow one task's tokens to the margin on a seat and the pricing choice that follows.
  4. 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.
  5. One user story becomes an agent spec — follow a dispatcher's story to tools, limits, autonomy per action and a rule for more freedom.
  6. 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.

The lessons

01

Inside one LLM request

Read lesson →
02

How a model learns

Read lesson →
03

One token through a transformer

Read lesson →
04

How an image model draws

Read lesson →
05

One agent run, step by step

Read lesson →
06

Anatomy of a guardrailed request

Read lesson →
07

One AI feature, from idea to launch

Read lesson →
08

One model change: cost, speed and quality

Read lesson →
09

From one AI task to gross margin

Read lesson →
10

One eval regression, traced to its cause

Read lesson →
11

One user story becomes an agent spec

Read lesson →
12

One AI incident, from alert to postmortem

Read lesson →
📌

Recap & real-world examples

Read recap →