go-v.orgcodex
Menu
Page tools

codex · Philosophy

Behavior selection algorithm

In artificial intelligence (AI), a behavior selection algorithm, or action selection algorithm, is an algorithm that selects appropriate behaviors or actions for one or more intelligent agents. In video game AI, it selects behaviors or actions for one or more non-player characters (NPCs). Common behavior selection algorithms include:

Finite-state machines (FSMs) Hierarchical finite-state machines (HSMs) Decision trees Behavior trees Hierarchical task networks (HTNs) Hierarchical control systems (HCSs) Utility systems Dialogue tree or conversation tree — for selecting what to say

Wikipedia contributors, "Behavior selection algorithm", Wikipedia, revision 1382129113, retrieved 20 November 2026, source, CC BY-SA 4.0.

More Philosophy · Search the codex