The short version
- Agents break a goal into smaller steps. This is called planning.
- Some agents plan one step at a time. Others write a full plan first and then carry it out. Good agents revise the plan when facts change.
- A plan you can read is a control point. Review the plan before the agent acts on anything costly.
The idea
Step-by-step planning. The agent decides only the next action, sees the result and decides again. This is flexible, and on long tasks it can lose direction.
Plan then execute. The agent first writes a complete plan and then works through it. The plan gives direction and can be reviewed by a person before anything happens. It can also go out of date when a step returns something unexpected.
Plan, execute, replan. The agent writes a plan, carries out a step, compares the result with what the plan expected and updates the plan if needed. Most capable agents work this way.
Reflection adds a check. After a step or at the end, the agent reviews its own work against the goal and corrects errors. A second model with a different prompt often does this better than the same one.
Compare driving with turn-by-turn directions to planning a route before you leave. The planned route gets you there with fewer wrong turns. A good driver still changes the route when a road is closed.
- Goal
- Plan the steps
- Execute a step
- Compare with the plan
- Replan if needed
- Review the result
For leaders, the plan matters because it is a visible object. A plan can be logged, reviewed and approved. An agent that shows its plan before acting is far easier to trust than one that simply acts.
An example
A procurement agent is asked to prepare a supplier comparison. It writes a plan: gather quotes from the three suppliers, pull quality history, pull delivery performance, compare on five criteria, draft a recommendation. A buyer reviews the plan and adds payment terms as a criterion. During the work, one supplier’s quote is missing. The agent revises the plan to request it and continues with the other two. At the end, a review step checks that every claim in the draft links to a source record.
Common mistakes
- No written plan, so nobody can see what the agent intends to do.
- Following a stale plan after the facts have changed.
- Self-review with the same prompt, which repeats the same blind spots.
- Planning in great detail for a simple task.
What to do this week
- Ask your agent to output its plan before acting, and log it.
- For high-value tasks, add a human approval of the plan.
- Add a final check that compares the result with the original goal.
The terms, in plain language
| Term | What it means |
|---|---|
| Planning | Breaking a goal into ordered steps |
| Plan then execute | Writing the full plan before acting |
| Replanning | Updating the plan when results differ from what was expected |
| Reflection | The agent reviewing and correcting its own work |
Further reading
Section 6.3 of the AI Engineering Guide · Last reviewed November 2026




