Back to Catalog
Agentic AI
Planning & Control Flow
Goal Decomposition
Decompose a goal into sub-goals recursively until each leaf is directly actionable.
Intent & Description
🎯 Intent
Decompose a goal into sub-goals recursively until each leaf is directly actionable.
📋 Context
A team gives an agent a goal that is too large to act on in a single step — renew all cloud contracts before the next quarter, prepare a release across half a dozen repositories, plan a multi-week research investigation. The work decomposes naturally into sub-goals, and those sub-goals decompose further, until eventually each leaf is something the agent can actually do (send an email, run a query, edit one file).
💡 Solution
- Build a tree of goals. The root is the user’s top-level goal. - Each non-leaf goal decomposes into sub-goals that together achieve the parent. - Leaves are directly actionable single steps the agent can execute immediately. - Monitor progress at each level; surface stuck branches explicitly. - Allow parallel sibling goals (distinct from sequential least-to-most).
Real-world Use Case
- Goals are large enough that a single-shot attempt produces shallow work.
- Sub-goals can be expressed in a tree where each leaf is directly actionable.
- Parallel sibling goals exist and you want to track stuck branches explicitly.
Source
Advantages
- Long-horizon tasks become tractable with clear structure.
- Progress is visible at multiple granularities simultaneously.
Disadvantages
- Tree construction is itself work that costs tokens and time.
- Stuck branches at deep levels are easy to lose without explicit monitoring.