Breaking Down Tasks (Task Decomposition) › The Core Idea: Think First, Act Second
Michael BrenndoerferJuly 19, 20251 min read
AI Agent HandbookAll chapters Part 9 of 15Planning - Agents with a Plan
Breaking Down Tasks (Task Decomposition) › The Core Idea: Think First, Act SecondOne section · Sections in this chapter3 / 12 ↓
Sections in this chapter12
Task decomposition follows a simple but powerful principle: before you start working, figure out what work needs to be done.
This is different from the chain-of-thought reasoning we covered earlier. Chain-of-thought helps an agent think through a single problem step by step. Task decomposition is one level higher: it's about identifying multiple distinct problems that need to be solved, and organizing them into a coherent plan.
Think of it like the difference between:
- Reasoning: "How do I calculate the answer to this math problem?" (thinking through one task)
- Decomposition: "This assignment has three math problems, a written explanation, and a graph. Let me tackle them one at a time." (organizing multiple tasks)
For our assistant, task decomposition means taking a user request and generating a list of subtasks. Each subtask should be:
- Specific: Clear enough that the agent knows exactly what to do
- Achievable: Something the agent can actually accomplish with its available tools and capabilities
- Ordered: Arranged in a logical sequence where later steps can build on earlier ones
Let's see what this looks like in practice.