Skip to content

How This Book Was Built

This book teaches people who build apps with AI agents. It was also built with AI agents, so the same questions apply to it: which parts must be right, and which can be good enough for now?

The pipeline

The book was made with Dan McCreary's intelligent textbook skills, a set of instructions that AI coding agents follow to build a textbook step by step. Each step reads the output of the step before it.

  1. Course description. A one-page plan for the course: who it is for, what they already know, and what they should be able to do afterward. It scored 98 out of 100 on the pipeline's checklist.
  2. Learning graph. A list of 393 concepts and which ones depend on which. This decides the order of the chapters, so no chapter uses an idea before an earlier chapter explains it.
  3. Chapters. 18 chapters, each sized by how much of the book rests on its concepts. Concepts that many later ideas depend on get more words and more worked examples.
  4. MicroSims. 55 small interactive pages built from a written spec in each chapter. Each spec says what the reader should learn and how they show it, before anyone writes code.
  5. Back matter. A glossary, an FAQ, a quiz and an annotated reading list for every chapter.
  6. Site features. The mascot, the cover, slides for two chapters, the instructor's guide and the reports in the Learning Graph section.

The checks

The agents' first drafts were not trusted. Each one went through checks that fail loudly:

  • mkdocs build --strict fails on any broken link or missing page.
  • A plain-English checker flags long sentences, empty intensifiers and other machine-sounding patterns.
  • Validators score each MicroSim and check where the mascot appears.
  • Every chapter went through three review rounds: one for correctness, one for whether a builder without engineering training can follow it, and one for plain language.

The review rounds found and fixed more than 450 problems, including wrong technical claims and sample code that would not have run. That is the book's own lesson at work: an agent writes fast, and something outside the agent has to check the parts that matter.

The tools

Tool Used for
MkDocs Material The website
p5.js, vis-network, Chart.js, Mermaid The MicroSims
Claude Code Writing, building and reviewing
Gemini image models The mascot and the cover
GitHub Pages Hosting

What is still open

Every MicroSim is marked built, which means it works but a person has not yet tried every control and approved it. The author moves each one to approved after trying it. The colored dots in the left menu show where each one stands.