0Pricing
AI Agents · Lesson

Hierarchical Task Decomposition

Top-level goal -> sub-goals -> sub-sub-goals — the only way humans (and agents) tackle big tasks.

When Tasks Get Big

"Refactor the auth module" is too big for one prompt. The agent must break it into smaller, manageable pieces.

Hierarchical task decomposition (HTD) is how humans and agents tackle this.

The Hierarchy

  1. Goal — the high-level objective
  2. Sub-goals — major phases
  3. Tasks — concrete steps
  4. Actions — individual tool calls

All lessons in this course

  1. Hierarchical Task Decomposition
  2. Goal Stacks and Backtracking
  3. World Models and Lookahead
  4. Reflection and Self-Critique Loops
← Back to AI Agents