A Hierarchical Task Network (HTN) is a formal planning method that represents a complex, high-level task as a hierarchy of subtasks, using decomposition methods to recursively break abstract, compound tasks into primitive, executable actions. Unlike classical planners that search through a space of world states, HTN planning searches through a space of tasks, applying methods that specify how to achieve a task by accomplishing a set of subtasks, which may have ordering constraints. This approach is central to multi-agent system orchestration for structuring collaborative workflows.
