A Behavior Tree is a hierarchical, modular model for designing and executing the decision-making logic of an autonomous agent, commonly used in game AI, robotics, and multi-agent systems. It structures an agent's tasks as a tree of nodes, where control flow nodes (like Sequence, Selector, and Parallel) dictate execution order, and execution nodes (like Action and Condition) perform specific tasks or checks. This architecture enables reactive, proactive coordination and easy behavior reuse.
