Skip to main content
A field guide to durable agents, local-first software, generated apps, and the systems that keep them honest. This book follows the path from one reliable agent turn to a product that can operate, recover, and improve without hiding its costs.
The book contains 50 chapters in five parts. Each part has ten chapters and can be read on its own.

Choose a reading path

Build a reliable agent

Start with execution, trust boundaries, durable work, tools, routing, and measurement.

Build a local-first app

Follow offline writes through synchronization, merge rules, sharing, presence, and shared worlds.

Ship generated software

Turn chat output into revisioned apps with bounded editing, browser checks, and a clear launch mode.

The five parts

I. Building the machine

Chapters 01–10 cover durable turns, tool protocols, context, routing, and observability.

II. Local-first and shared state

Chapters 11–20 cover offline behavior, synchronization, conflict rules, identity, and presence.

III. The mini-app factory

Chapters 21–30 cover generated artifacts, revisions, shipping, browser evidence, UI, and launch.

IV. Operable infrastructure

Chapters 31–40 cover hosts, containers, deployment cells, secrets, observability, recovery, and analytics.

V. A product that learns

Chapters 41–50 cover memory, follow-through, privacy, proactive behavior, personalization, and improvement.