AI, built and explained.
Deep dives on how modern AI works: the models, the agents built on them, and the engineering that gets them into production. What ships, what breaks, and why.

Why Your Agent Loops Forever: Put the Review Step Outside the Executor
An agent loops when nothing in the loop can decide success or failure; a deterministic check on system state, reporting only to the planner, gives it an exit
Read the post →
A Prompt Is a Layered Program: Mapping Prompt Engineering Techniques to the Layer They Change
Every prompting technique edits one layer of the request, and every model or provider switch breaks the layers whose delivery differs
Understand it well enough to build it, or to know when not to.
- 01
Explained
How a model, technique or system actually works, with a diagram drawn for the post.
- 02
Built
When there is code, it runs: snippets you can paste and a public repo, MIT licensed.
- 03
Taken apart
Teardowns of real AI products and failures: what happened, why, and what to do instead.
New posts in your inbox. No digest, no roundup.
Free. Subscribing also sends you the AI in Production Playbook: twelve checks to run before an AI feature reaches your users.
By subscribing you agree to Substack’s terms of use, privacy policy and information collection notice. Your address goes to Substack, which sends the emails. This site stores nothing. Privacy notice