behaviortree.cpp
« Back to VersTracker
Description:
Behavior Trees Library in C++
Type: Formula  |  Latest Version: 4.8.2@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: robotics c++ behavior-trees gamedev ai
Install: brew install behaviortree.cpp
About:
BehaviorTree.CPP is a library for building reactive and hierarchical behavior trees, commonly used in robotics and game development. It provides a flexible alternative to finite state machines, enabling complex decision-making logic through a tree structure of simple, composable nodes.
Key Features:
  • Asynchronous and thread-safe execution
  • Flexible XML-based or C++ tree definition
  • Extensive library of standard control and leaf nodes
  • Built-in real-time monitoring and visualization via Groot2
  • Clear separation of logic from implementation
Use Cases:
  • Robotics navigation and task planning
  • Game AI for non-player character behavior
  • Complex industrial automation and control systems
Alternatives:
  • SMACH – Python-based state machine library, often used in ROS; less suited for hierarchical reactive logic compared to BTs.
  • OpenRTS – Real-time strategy game framework with BT support, but more game-specific than the general-purpose BehaviorTree.CPP.
License: MIT
Dependencies: cppzmq, zeromq
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 30, 2025 11:39pm 0 VERSION_BUMP f4ad853c
Sep 30, 2025 10:51pm 0 VERSION_BUMP 8ca29340
Sep 13, 2025 12:33pm 0 VERSION_BUMP 8417db19