A Pattern Language for AI Content Systems
Generation and Retrieval over Typed, Schema-Described Content
Matt Briggs · Final State Press · Seed Edition 1.0 · 2026-11-30
A machine that writes and a machine that answers questions are only as good as the content they stand on. This book is about that ground: how to collect what an organization knows into typed units described by schemas, and how to build the retrieval, generation, and agent systems that draw on those units without corrupting them.
The book is written as a pattern language in the sense Christopher Alexander gave the phrase. Each pattern names a problem that recurs whenever people build AI systems over content, states the forces that make the obvious solutions fail, and describes the arrangement that resolves them. The patterns connect. A large pattern is completed by smaller ones, and a small pattern helps complete larger ones, so that any one of them can be used alone but none of them makes full sense in isolation.
The language does not assume a particular content standard. DITA and XML are one substrate. Structured Markdown checked by a validator is another. JSON and YAML records, database rows, graph nodes, and inventories of claims are others. The patterns ask only that content be collected into units, that each unit have a type, and that the types be described by schemas. Those schemas, taken together, form a semantic model. Often they form a small pattern language of their own: the language of the content, nested inside the language of the system that makes and serves it.
Where to begin
- To understand what the language is for, read The quality we are after and Content is the substrate.
- To design a system, read The summary of the language, then Choose a language for your project.
- To find a pattern by the problem in front of you, use Navigate by facet, the Pattern catalog, or the Pattern catalog map to follow relationships across scales.
- To contribute, read A seed, not a monument.
flowchart TB
Q["The questions people ask"] --> S["Governed content substrate"]
S --> R["Retrieval and answers"]
S --> G["Generation and change"]
S --> K["Claims and knowledge"]
R --> E["Evaluation and repair"]
G --> E
K --> E
E --> S
The whole in one picture: people’s questions shape the substrate; three kinds of work draw on it; evaluation returns what was learned to the substrate.