An Initial Task Network (ITN) is the root input to an HTN planner, consisting of one or more compound tasks that represent the abstract, high-level goals to be achieved. This network, often a single top-level task, defines the planning problem's objective before any task decomposition occurs. The planner's role is to recursively apply methods to break down these initial tasks into a sequence of primitive tasks (executable actions) that are valid given the current world state.
Glossary
Initial Task Network

What is an Initial Task Network?
In Hierarchical Task Network (HTN) planning, the Initial Task Network is the formal starting point for the planner, defining the high-level goal tasks that must be decomposed into executable actions.
The ITN is a core component of the formal HTN planning problem, which also includes the domain description (tasks, methods, operators) and the initial state. It represents the 'what' before the 'how.' Unlike classical planning which starts with a goal state, HTN planning begins with this task-centric specification, guiding the search toward solutions that use known, reliable decomposition patterns. This makes it highly effective for modeling complex, procedural knowledge in domains like robotics, logistics, and autonomous agent workflows.
Core Components of an Initial Task Network
An Initial Task Network (ITN) is the formal starting point for a Hierarchical Task Network (HTN) planning problem. It defines the high-level objectives to be decomposed into executable actions.
Goal Task(s)
The ITN contains one or more compound tasks representing the high-level objectives to be achieved. These are abstract, non-executable tasks that serve as the root nodes for the decomposition process.
- Example: In a logistics domain, the goal task could be
DeliverPackage(Package_A, Warehouse_B). - The planner's job is to recursively decompose these goal tasks using available methods until only primitive tasks (executable actions) remain.
Task Network Structure
The ITN is not just a list of tasks; it is a partially ordered network. This structure defines ordering constraints (temporal precedences) and causal links between the initial goal tasks.
- Key Property: The network is initially sparse, containing only the high-level goal tasks and any known constraints between them.
- Purpose: This structure provides the skeleton that the planner will flesh out through decomposition, preserving necessary task orderings (e.g.,
SecureFundingmust occur beforeInitiateConstruction).
Formal Specification
An ITN is defined within the broader HTN Domain Description. It is a tuple, often notated as (T, <), where:
Tis a set of tasks (initially the goal tasks).<is a set of strict partial order constraints overT.- This formal definition allows the planner to reason algorithmically about task decomposition and ordering.
Distinction from Initial State
A critical conceptual separation: the Initial Task Network specifies what needs to be done, while the Initial State describes the starting world conditions in which it must be done.
- Initial State: A set of grounded propositions (facts) true at the start (e.g.,
RobotIsAt(ChargingStation),BatteryLevel(High)). - Interaction: The planner uses the initial state to evaluate the preconditions of methods and operators during decomposition. The ITN and initial state together fully define the planning problem.
Role in the Planning Process
The ITN is the input to the HTN planner. The planner's algorithm (e.g., SHOP) performs a recursive task decomposition:
- Select a non-primitive (compound) task from the current task network.
- Choose an applicable method whose preconditions hold in the current state.
- Replace the compound task with the method's subtask network.
- Repeat until the network contains only primitive tasks, resulting in a solution plan. The ITN is thus progressively refined into an executable sequence.
Example: Software Deployment
Consider an ITN for automating a deployment:
- Goal Tasks:
{DeployMicroservice(AuthService), RunIntegrationTests} - Ordering Constraint:
DeployMicroservice(AuthService) < RunIntegrationTests
The planner must decompose DeployMicroservice using methods that might add subtasks like BuildContainerImage, PushToRegistry, UpdateK8sManifest, and RolloutDeployment. The ITN provides the target structure the planner must create.
The Role of the Initial Task Network in HTN Planning
The Initial Task Network (ITN) is the formal starting specification for a Hierarchical Task Network (HTN) planning problem, defining the high-level objectives the planner must achieve.
An Initial Task Network is the input to an HTN planner, consisting of one or more abstract compound tasks that represent the overall goal. It is a partially ordered network, not a single task, allowing for the specification of multiple concurrent objectives and temporal constraints from the outset. The planner's core function is to recursively decompose this initial network using methods until only directly executable primitive tasks (operators) remain.
The structure of the ITN directly influences the search space and efficiency of the planning process. A well-designed ITN provides a crucial skeletal plan that guides decomposition. It is defined alongside the initial state of the world and the domain description (containing tasks and methods) to form a complete HTN planning problem. The final output is a solution plan—a fully instantiated sequence of primitive actions derived from the ITN.
Frequently Asked Questions
The Initial Task Network (ITN) is the formal starting point for a Hierarchical Task Network (HTN) planning problem. It defines the high-level objectives that an autonomous agent or planning system must achieve through recursive decomposition. This FAQ addresses its core definition, role in planning, structure, and practical implementation.
An Initial Task Network (ITN) is the formal, structured input to a Hierarchical Task Network (HTN) planner, consisting of one or more high-level, non-primitive tasks that define the planning problem's goals. It serves as the root from which the planner begins the recursive task decomposition process, applying methods to break down abstract compound tasks into networks of subtasks until a sequence of executable primitive tasks (or operators) is generated. The ITN, combined with the domain description (methods, operators) and the initial state, fully specifies the HTN planning problem. It is the planner's mandate to transform this initial network of abstract goals into a concrete, executable solution plan.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
The Initial Task Network is the starting specification for an HTN planning problem. These related terms define the core components and processes involved in its decomposition and execution.
Hierarchical Task Network (HTN)
A planning formalism that decomposes high-level, abstract tasks into networks of subtasks using decomposition methods until primitive, directly executable actions are reached. It is the overarching framework within which an Initial Task Network is defined and processed.
- Core Concept: Represents problems as hierarchies of tasks rather than flat state-space searches.
- Key Advantage: Encodes domain-specific knowledge about how to achieve goals, making planning more efficient for complex, structured domains like logistics, manufacturing, and autonomous agent behavior.
Compound Task
A high-level, abstract task in an HTN that cannot be executed directly. It must be decomposed into a network of subtasks (which can be other compound tasks or primitive tasks) using an applicable method. The Initial Task Network is typically composed of one or more compound tasks representing the top-level goals.
- Example:
DeliverPackage(PackageA, CityB)is a compound task. It requires decomposition into subtasks likeLoadTruck,DriveRoute, andUnloadPackage.
Primitive Task
A task in an HTN that corresponds directly to an executable action or planning operator in the domain. It is a leaf node in the decomposition tree with defined preconditions and effects. The planning process is complete when the Initial Task Network has been fully decomposed into a sequence or network of primitive tasks.
- Contrast with Compound Task: A primitive task is an operator (e.g.,
PickUp(Object)), while a compound task is a goal (e.g.,ClearTable()). - Role in Planning: Forms the executable steps of the final solution plan.
Method (HTN)
A decomposition schema that defines a possible way to break down a specific compound task into a network of subtasks. A method is only applicable if its preconditions are satisfied by the current world state. The planner selects among applicable methods to decompose the tasks in the Initial Task Network.
- Structure:
Method(Task, Preconditions, SubtaskNetwork). - Example: A method for
BrewCoffee()might have the subtask network[GrindBeans(), HeatWater(), PourWater(), Wait(5min)]with a preconditionHas(CoffeeBeans) == true.
Task Decomposition
The core algorithmic process in HTN planning where a compound task is recursively replaced by a network of subtasks using an applicable method. This process begins with the Initial Task Network and continues depth-first or breadth-first until only primitive tasks remain.
- Mechanism: Transforms the abstract initial network into a concrete, executable plan.
- Output: Creates a decomposition tree that records the hierarchical breakdown, providing traceability from high-level goals to low-level actions.
SHOP (Simple Hierarchical Ordered Planner)
A seminal, forward-chaining HTN planning algorithm that performs task decomposition in a depth-first manner, interleaving planning with state progression. It is particularly efficient because it commits to decompositions early, using the current world state to prune irrelevant options. SHOP takes a Domain Description, Initial State, and an Initial Task Network as input.
- Key Feature: Processes tasks in the order they will be executed, making it intuitive and fast for many practical domains.
- Influence: The basis for modern planners like SHOP2 and JSHOP.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us