LLM StateTree
JSON-Driven StateTree Asset Generator for Unreal Engine 5.
Generate complete StateTree Blueprint assets from JSON (.llmstate files) with schema auto-inference and live preview — no manual StateTree editor work required.
Features
- One JSON, Complete AI — Tasks, Conditions, Evaluators, and Considerations from a single
.llmstatefile - LLM-First Design — AI outputs JSON directly, no StateTree editor knowledge required
- Schema Auto-Inference — Automatically discovers StateTree node types from UE reflection
- Editor Panel — Browse and preview generated StateTree structure
- Parameter Binding — Support for
${Param.Name}and${Context.Property}binding expressions - Utility AI — Considerations with response curves for action selection
- 5 Example Files — SimpleAI, GuardAI, UtilityAI, StealthAI, BossAI included
- 14+ Node Types — Tasks, Conditions, Considerations fully documented
Quick Start
- Menu → Tools → LLM StateTree Panel
- Load a
.llmstatefile or paste JSON - Click Generate StateTree
- The generated StateTree asset is created automatically
json
{
"name": "MyAI",
"version": "1.0",
"parameters": [
{ "name": "Speed", "type": "float", "default": 500.0 }
],
"states": [
{
"name": "Idle",
"type": "State",
"tasks": [
{ "type": "StateTreeDelayTask", "properties": { "Duration": 2.0 } }
],
"transitions": [
{ "trigger": "OnStateCompleted", "type": "GotoState", "target": "Patrol" }
]
}
]
}Version Info
| Item | Value |
|---|---|
| Plugin Version | 1.0.0 |
| Engine | UE 5.7+ |
| Modules | LLMStateTree (Runtime), LLMStateTreeEditor (Editor) |
| Publisher | YominUnreal |
| Required Plugins | StateTree, GameplayStateTree, EditorScriptingUtilities |