PATCHBOOK SERIES Part of the Patchbook Series

Patchbook: Agents are just loops

Short, simple chapters that serve as a conceptual upgrade for software engineers.

The full agent loop: user input, documents, host with memory and tools, LLM, display, and memory management

The central thesis is simple: you do not need an agent framework to have an agent. An agent is four plain parts: an HTTP call, an array, some JSON, and a loop. This book follows that loop as it learns to read, to act, and to remember. Every chapter ends with a prompt you can paste into your own chat, so you can watch each idea happen. By the last page, the parts add up to something familiar: the coding agent you use every day.

In development. Chapters will appear below as they are written.

Let us begin with Chapter 0: Introduction.