Hierarchical Task Network Planning AI – code plugin for Unreal Engine HTN planning

Hierarchical Task Network Planning AI Free Download: Code Plugin for Unreal Engine 4.24–5.8

Hierarchical Task Network Planning AI is a code plugin for Unreal Engine that lets you build AI which plans several steps ahead by predicting the consequences of its actions. It includes 117 C++ classes and a visual graph editor.

Hierarchical Task Network Planning AI is a plugin by Maks Maisak that brings HTN planning to Unreal Engine. HTN, or Hierarchical Task Network planning, lets AI agents evaluate future world states before acting, using Blackboard data as the knowledge base. The plugin is aimed at developers who need enemy or companion AI that goes beyond reactive behavior trees, such as tactical combat, squad coordination or characters that solve multi-step goals. It is distributed as a code plugin with full source code access.

Specifications

SellerMaks Maisak
TypePlugin
CategoryArtificial Intelligence
EnginesUnreal Engine 4.24–5.8
DistributionCode plugin
FormatsUnreal Engine
File types.uasset, .uproject, .uplugin
Unreal target platformsAndroid, Linux, Mac, Oculus, PS4, SteamVR / HTC Vive, Windows, Xbox One, iOS
C++ classes117
Network replicatedNo (AI only exists on the server)
LicensesPersonal, Professional
Published2026-09-15

Key features

  • Node-based HTN graph editor for visual plan design
  • Uses Blackboard data directly as the planner worldstate
  • Tasks, Decorators and Services in both C++ and Blueprints
  • Cost-based or priority-based planning with parallel and any-order options
  • Subnetworks and subplans for composable, mixed-control behaviors
  • Visual Logger integration that visualizes the current plan
  • Environment Query System integration for movement decisions
  • 117 C++ classes with full source code access

What Is Included in the HTN Planning Plugin

The plugin ships as two code modules: HTN [Runtime] and HTNEditor [Editor]. It contains 117 C++ classes and no Blueprints. Tasks, Decorators and Services can be created either in C++ or in Blueprints and arranged in a node-based HTN graph editor.

The planner searches for the lowest-cost plan or the highest-priority plan. Subnetworks let you compose behaviors, and subplans can be nested within plans to mix planning with on-the-fly decisions. Integration with the Visual Logger shows the current plan, and the Environment Query System can be used for movement planning. Full source code is included.

Engine Compatibility and Distribution

The plugin is distributed as a code plugin for Unreal Engine versions 4.24, 4.25, 4.26, 4.27, and 5.0 through 5.8. Its file types are .uasset, .uproject and .uplugin.

The Unreal target platforms are Android, Linux, Mac, Oculus, PS4, SteamVR / HTC Vive, Windows, Xbox One and iOS. The AI runs only on the server, so the plugin is not network replicated. Licenses are available for Personal and Professional use.

Use cases

  • Tactical FPS enemy AI
  • Squad-based combat encounters
  • Multi-step NPC decision-making
  • Flexible companion behaviors
  • AI research and prototyping

Hierarchical Task Network Planning AI FAQ

Which Unreal Engine versions does the HTN Planning plugin support?

The plugin supports Unreal Engine 4.24, 4.25, 4.26, 4.27, and versions 5.0 through 5.8. It is distributed as a code plugin.

Can I create tasks in Blueprints or only in C++?

Both are supported. Tasks, Decorators and Services can be made from either C++ or Blueprints and arranged in the visual graph editor.

Is the plugin network replicated?

No. The AI only exists on the server, so the plugin is not network replicated.

Which license types are available?

The plugin is offered under Personal and Professional licenses.