Phil Wagner

Staff Learning Designer and Technical Writer
Technical Lead of AI Enablement Education

← All work samples

Two ways into one agent loop, a bakery and a podcast

Generated, then reviewed by a person. Last read by a person on 2026-11-29, 0 days ago.

You are judging whether someone can teach a hard technical idea to more than one kind of learner, or you want a fast way to see what an agent loop does before you read the docs.

Both pieces come from a workshop for engineers who have called a model API and now want an agent that runs for an hour with nobody watching. Each one teaches the same loop in a different way.

The bakery

Watch the bakery. A bakery chain stands in for the parts of the service. Guests order in the shop, which is your app. At the head office, a worker keeps every ticket on a rail in order. That is the loop and its log. Each ticket gets its own cart in the kitchen, which is where the tools run.

Each part of the drawing names the real part it stands for and links to its page in the docs. A color on each room shows who runs it: Anthropic or you.

The podcast

Listen to the podcast. Three short episodes about one night on call. A new engineer is paged at two in the morning, and an agent is already working on the fault.

Each episode turns on one question from the workshop. When the agent goes quiet, is it done? Who answers when it stops to ask? What should the app do at each kind of stop? Every episode has a player and the full text below it.

Why two forms

A diagram shows where each part lives, which a story cannot do well. A story shows why the parts matter at two in the morning, which a diagram cannot do at all.