How LLMs Happened — An Illustrated Story of How Machines Learned Language | LLMs Research
The illustrated book

How LLMs Happened: the story of modern AI, told in order.

You use AI every day. But could you explain why modern AI needs transformers, RAG, tools, agents, reasoning, and evals? This book turns the development of large language models into one continuous illustrated story. Each chapter begins with something that did not work and follows the idea that fixed it.

105pages
16illustrated chapters

Get the book See what’s inside

Full-color illustrated PDF. One-time purchase. Rated 5.0 out of 5 on Gumroad.

Cover of How LLMs Happened: Tok the token and Professor Atlas on a timeline from 2016 to today.

How LLMs Happened

A friendly illustrated story of how machines learned language.

LLMs Research · Second edition, 2026

Book page introducing the two guides: Tok, a curious teal token, and Professor Atlas, a patient owl.
Book page explaining how to read the book: every chapter solves the problem the last one created.
Opening page of Chapter 1, The Transformer.
Book page showing how models read before 2017 and why that broke.
Book page walking through retrieval-augmented generation step by step.
Book page explaining MCP: many integrations collapse into a few standard plugs.
Book page naming the harness: the frame around the model.

The story continues.

105 pages, 16 chapters, from 2016 to today.

Get the book

Click the book to open it

A few pages from inside

Every page is a full-color illustrated spread. Tok spots what is broken, Atlas shows the fix, and the diagrams carry the explanation. Scroll to browse →

Book page introducing the two guides: Tok, a curious teal token who asks questions, and Professor Atlas, a patient owl who unrolls the timeline.
Meet your guides
Book page explaining how to read the book: every chapter solves the problem the last one created, and each solved problem gets a TOK! stamp.
How to read this book
Opening page of Chapter 1, The Transformer, following one sentence and the long-distance link the model has to remember.
Chapter 1: The Transformer
Book page showing how models read before 2017: one word at a time into a single fading memory, guessing wrong and running slow.
The old model, and why it broke
Book page walking through retrieval-augmented generation step by step: the question is matched against a vector database and the best chunk is tacked into the prompt.
RAG in action, step by step
Book page explaining MCP: twelve point-to-point integrations collapse into a few standard plugs an agent can use.
MCP: build once, plug anywhere
Book page naming the harness: the frame around the model that manages context, tools, checkpoints, and stops.
It has a name: the harness

The journey: 16 chapters in six parts

Every chapter starts with something broken and ends with the fix, and the fix quietly breaks something new. That loop carries the story from a clumsy word-reader in 2016 to the assistants we use today.

  1. I.A machine that understands language. The Transformer · Make It Bigger · Where the Words Came From. ch. 1–3
  2. II.Making it useful. Teach It Manners · Just Ask Nicely · Look It Up · Teach It Your Way. ch. 4–7
  3. III.Making it act. Let It Act · Let It Loop · Plugs and Powers. ch. 8–10
  4. IV.The wider world. Beyond Words · Slow Down and Think · Smaller, Cheaper, Everywhere. ch. 11–13
  5. V.Making it dependable. The Harness · How Do We Know It Is Good. ch. 14–15
  6. VI.Where we are. The Stack Today. ch. 16

Meet your guides

  • Tok is a small teal token. Curious. He asks the questions you would ask, and keeps spotting what is broken.
  • Professor Atlas is a patient owl. He knows the whole story and unrolls the timeline one stop at a time, showing each fix.
  • When a big idea earns its official name, a red banner hands it over. When a problem gets solved, the page shouts TOK!
  • Between the two of them, the whole story of modern AI quietly comes together.

Who it’s for

  • Engineers beginning to work with LLMs who want the conceptual map before the papers.
  • Technical product managers and founders who need to reason about what these systems can and cannot do.
  • Students and self-taught learners who want the ideas in the order they were invented, not alphabetical order.
  • Visual learners who want the pieces to fit together without wading through equations. There is no math in the book.

Questions

What format do I get?

A full-color illustrated PDF, 105 pages, in English. It reads well on a laptop, tablet, or printed.

Do I need a math background?

No. No advanced mathematics is required. The explanations work through story and illustration, and technical terms arrive only when the narrative reaches the problem they solve.

Is this a textbook?

No. It is a narrative. Textbooks organize by topic; this book organizes by time, so each idea appears as the answer to a real failure that came before it. That ordering is what makes the pieces stick together.

How does it relate to the flashcards?

The book builds understanding; the 330+ visual flashcards turn it into recall. Read the book first, then drill the cards until you can explain the concepts from memory. Both are available together as a single bundle.

Who made it?

LLMs Research, an independent applied research lab publishing on KV cache compression, adaptive compute, and multi-agent systems. You can read more about the lab.

Get the book

Book + Flashcards

Understand it, then remember it.

The bundle pairs the illustrated book with all 330+ visual flashcards, including the Anki set for spaced repetition. Everything from the lab in one purchase.

Get the bundle About the flashcards