HTN planning is a goal-oriented, knowledge-intensive approach where a domain description defines compound tasks, primitive tasks (operators), and methods for decomposition. The planner starts with an initial task network containing high-level goals and recursively applies methods to replace abstract tasks with subtask networks, respecting preconditions and ordering constraints, until only primitive actions remain. This creates a hierarchical plan that is both executable and logically structured.
