A Primitive Task is a task in a Hierarchical Task Network (HTN) that corresponds directly to an executable action or operator in the planning domain. It is a leaf node in the decomposition tree that can be performed by an agent without further breakdown, representing a concrete, atomic operation that changes the state of the world.
In the HTN formalism, planning begins with high-level Compound Tasks (e.g., 'Deliver Package'). The planner uses Methods to recursively decompose these into subtasks until it reaches Primitive Tasks (e.g., 'Navigate to Location', 'Pick Up Object', 'Place Object'). Each Primitive Task is formally defined by its preconditions (logical conditions that must be true for it to execute) and its effects (the changes it makes to the world state). This structure allows complex goals to be translated into actionable sequences.