#9 · Primary category: Robotics & Embodied AI Simulation

BehaviorTree.CPP

ai behaviortree coordination games robotics ros state-machine

Behavior Trees Library in C++. Batteries included.

Project last updated:08/14/26

GitHub Stars

4.2K

Forks

853

Contributors

160

License

MIT

Why we included this project

Behavior trees are a pragmatic way to structure an agent's decisions, and this library makes them usable in production C++ code. You define the tree in an XML-based scripting language that loads at runtime, so you can rearrange robot behaviors without recompiling. Non-blocking asynchronous actions and support for running several behaviors at once suit real-time systems. It also handles dataflow between nodes, loads custom nodes as plugins, and comes with logging and profiling to replay state transitions. Teams building robot, ROS2, or game AI who are tired of hand-wiring finite state machines will find a solid foundation here.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category