New here? Start this series at Day 31: Give an agent an outcome, a boundary and a stop condition first
- Day 31: Give an agent an outcome, a boundary and a stop condition first
- Day 32: Agent behavior is a loop, not a prompt
- Day 33: Plan before acting when actions cost money or carry risk
- Day 34: Tool access is where AI becomes operational risk
- Day 35: Agent memory is several stores, each with its own rules
- Day 36: Reflection is worth it only when it changes the next action
Put two traces side by side (a planning agent and a non-planning agent on the same task) and the difference is immediate.
The non-planner acts, discovers, backtracks, re-fetches data it already had, and meets the critical dependency at step nine, where unwinding costs nine steps of spend. The planner met that dependency at step zero, on paper, for the price of one model call, while the non-planner's wandering is billed per token.
What makes a plan operationally useful
Three properties matter, and eloquence is not one of them:
- Verifiable steps. Each one can be marked done or not done without interpretation. "Research the market" fails this; "retrieve Q3 revenue for the three named competitors" passes.
- Explicit dependencies. This is what makes parallel execution safe, and it is what surfaces the blocker before you have spent anything on the branches behind it.
- Revisability. When step 3 fails, the plan updates from what actually happened. A plan the agent cannot revise is a script, and it will march confidently into a world that stopped matching its assumptions two steps ago.
The second payoff
The plan is also documentation. When you audit a run three weeks later (because a customer complained, or the bill spiked, or someone asks why the system did what it did), the plan tells you what the agent thought it was doing. That intent is half of every investigation, and without it you are reverse-engineering a sequence of tool calls into a hypothesis about motive. This only works if the plan and every revision of it are stored against the run's trace ID; a plan that lived only in the context window is gone when you need it.
A trace shows what happened, and a plan shows what was supposed to happen. The bug usually lives in the gap between them.
When to skip it
Planning has a cost, and applying it uniformly is its own failure. If the task is a single-step lookup, or has one obvious action and no dependencies, a planning step is pure latency.
The trigger worth encoding is to plan when actions have cost or are hard to reverse. If a tool call spends money, modifies data, or contacts a customer, spend a few hundred tokens thinking first. If the worst outcome is a slightly slow read, act.
Put the plan in front of the reviewer
Where an action needs human approval anyway, make the plan the thing that gets approved: show the steps that write, spend or contact someone, and hold execution until a reviewer signs off. One approval per plan is cheaper than one per call, but it covers only the plan as written, so a revision that adds a write step goes back for approval.
About this explainer
- Format
- Explainer
- Level
- Practitioner
- Read
- 2 min read
- Published
- Jun 23, 2026
- Disciplines
Short mental models: one idea, why it matters, what to do about it.
More on these topics
Comparison · · 8 min read
Direct APIs, MCP tools and Code Mode: three ways an agent reaches your systems
How I choose between hand-written tools, MCP tool calls and Code Mode by where the plan runs, and why I built codemcp to test it.
Decision note · · 2 min read
We built our own TypeScript orchestrator, and stayed on it
Why our enterprise AI platform runs agents on a TypeScript execution layer we started almost two years ago, and why reaching near-parity with the frameworks argued for staying.
Comparison · · 1 min read
LangGraph vs writing the agent loop yourself
Two ways to write the same supervisor, an explicit state graph or a loop your own code owns on the model API. Compared on control flow, tracing, testing, checkpointing and what each makes hard.
Discussion