Chapter 03 · overview · 1 min read
Planning and Task Decomposition
A genuinely open-ended goal can't be handled by a fixed workflow written in advance — nobody knows the steps until the agent starts looking at the specific situation. This section is about an agent planning its own steps: breaking a goal down, executing that plan, and revising it the moment reality doesn't match what was expected.
Topics in this section:
- Goal Decomposition into Subtasks: turning one large, vague goal into an ordered list of smaller, checkable ones.
- Plan-and-Execute Agents: writing out the whole plan before executing any of it, instead of deciding one step at a time.
- Re-Planning on Failure: what an agent does when a step's result doesn't match what the plan assumed.
- Hierarchical Task Planning: a plan made of subtasks that are themselves planned separately, at a lower level of detail.
- When Planning Hurts More Than It Helps: the real cost of planning, and the tasks where skipping it entirely does better.