
Description
This agent skill helps a developer build the decision-making code for game NPCs. It covers two systems. The first is a behavior tree runtime, written in plain C# so it can be ported to any engine. It includes a Blackboard for shared state, action and condition leaves, sequence, selector and parallel composites, and decorators. The second is a Utility AI decider, which scores every option with response curves and considerations, then picks the most wanted one, with a selector that uses hysteresis so the choice does not flicker between two options. The skill also shows how the two fit together, for example a behavior tree branch that hands a graded choice, such as which attack or which target, to Utility AI. The skill says the hardest part is the lifecycle contract, meaning who resets what and when, and that most behavior tree bugs come from there. It does not decide between a finite state machine and a behavior tree, and it does not cover steering, A*, flow fields or perception. Those belong to the game-ai skill. Unreal's behavior tree assets belong to unreal-behavior-trees. The skill is part of the awesome-gamedev-agent-skills repository on GitHub.…
Highlights
- Build a behavior tree runtime with a Blackboard
- Write action and condition leaves
- Use sequence, selector, parallel and decorator nodes
- Score options with Utility AI curves and considerations
- Combine behavior trees with Utility AI
Ratings & Reviews
No ratings yet
Be the first to rate ai-behavior-trees-utility-ai.
People also visit

ecosystem-primer
INVOKE FIRST for any LangChain / LangGraph / Deep Agents agent building project
ai-behavior-trees-utility-ai FAQ
Is the code tied to one engine?
No. The behavior tree and Utility AI code is plain C#, and the skill says it ports to any engine.
Does it cover Unreal Engine?
No. Unreal's BehaviorTree and Blackboard assets belong to the unreal-behavior-trees skill.
Does it choose between FSM and BT?
No. Choosing between a finite state machine and a behavior tree belongs to the game-ai skill.
How do I install it?
Run npx skills add https://github.com/gamedev-skills/awesome-gamedev-agent-skills --skill ai-behavior-trees-utility-ai.
What security audits has it passed?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best ai-behavior-trees-utility-ai alternatives?
Popular alternatives to ai-behavior-trees-utility-ai include Jovancoding/Network-AI, msw-behaviourtree and ai-agents-architect. See all ai-behavior-trees-utility-ai alternatives
















