{"adoption": {"forks": 853, "observed_at": "2026-08-28T04:08:38.138968+00:00", "stars": 4174}, "canonical_url": "https://ross.abutalabs.com/products/behaviortreecpp", "card": {"archived": false, "artifact_type": "library", "description": "Behavior Trees Library in C++. Batteries included.", "domain": ["robotics", "artificial-intelligence", "simulation"], "enriched": true, "function": ["game-engine", "simulation", "logging", "plugin-system", "workflow-automation"], "health_score": 96, "homepage": "https://behaviortree.dev", "language": "C++", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["BehaviorTree/BehaviorTree.CPP"], "name": "BehaviorTree/BehaviorTree.CPP", "platform": ["cpp", "windows", "cross-platform"], "pushed_at": "2026-08-14T09:33:37+00:00", "repo": "BehaviorTree/BehaviorTree.CPP", "stars": 4174, "tags": ["behavior-trees", "state-machine", "ros2", "async-actions", "xml-trees", "groot2", "game-development", "linux", "macos"], "topics": ["behaviortree", "ai", "robotics", "games", "coordination", "ros", "state-machine"], "urls": [], "use_cases": ["build behavior trees for robot control in C++", "create AI for games instead of finite state machines", "replace finite state machines with more modular behavior logic", "define reactive robot behaviors with non-blocking async actions", "load behavior tree structures from XML at runtime", "record and replay behavior tree execution for debugging", "integrate behavior trees with ROS2 like Nav2 or MoveIt"], "what_it_is": "BehaviorTree.CPP is a C++17 framework for building Behavior Trees, designed to be flexible, reactive, and fast, with asynchronous actions as first-class citizens. Trees are defined in an XML-based scripting language loaded at runtime, with runtime-loadable node plugins, type-safe dataflow between nodes, and built-in logging/profiling for recording and replaying state transitions.", "when_to_avoid": ["you need a Python or other non-C++ behavior tree library", "your logic is simple enough that a plain state machine suffices", "you require a free graphical editor with unlimited nodes (Groot2 PRO is paid)", "you target platforms without C++17 compiler support"], "when_to_choose": ["you need production-ready behavior trees for robotics, especially with ROS2", "you want XML-defined trees decoupled from C++ node implementations", "you need reactive, concurrent execution of multiple actions", "you want built-in logging, profiling, and replay of state transitions", "you prefer behavior trees over finite state machines for complex agent logic"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/behaviortreecpp", "repo": "BehaviorTree/BehaviorTree.CPP", "role": "main", "score": 84}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:38.138968+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:22:42.872316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed6eed9c9d5e31f0044f36e251dfe5a5be05139e1588863ff4ce1cefe0b87cca", "fetched_at": "2026-08-28T04:08:38.138968+00:00", "kind": "readme", "missing": false, "url": "https://github.com/BehaviorTree/BehaviorTree.CPP"}, {"content_hash": "642d41d80932bc3fc312552d28f8ce21270eb514fda500053bd174a41c76177a", "fetched_at": "2026-08-29T09:13:17.877480+00:00", "kind": "homepage", "missing": false, "url": "https://behaviortree.dev"}, {"content_hash": "b02b9e7c659f3be9a4bfaf3d6c707205f2c26a28557dfb1320e80bd936c701b1", "fetched_at": "2026-08-29T09:13:17.887467+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/intro"}, {"content_hash": "daa43b38f6dcd3f05a8bde6d7f1b0fa835cce7917cc3792b1d75af60bf568f6e", "fetched_at": "2026-08-29T09:13:17.889976+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/3.8/intro"}, {"content_hash": "e558f956db01f64816199421c39fd8cc0add4f8a0f97e4eff375c03d46309782", "fetched_at": "2026-08-29T09:13:17.892442+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/groot"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:38.138968+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:22:42.872316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed6eed9c9d5e31f0044f36e251dfe5a5be05139e1588863ff4ce1cefe0b87cca", "fetched_at": "2026-08-28T04:08:38.138968+00:00", "kind": "readme", "missing": false, "url": "https://github.com/BehaviorTree/BehaviorTree.CPP"}, {"content_hash": "642d41d80932bc3fc312552d28f8ce21270eb514fda500053bd174a41c76177a", "fetched_at": "2026-08-29T09:13:17.877480+00:00", "kind": "homepage", "missing": false, "url": "https://behaviortree.dev"}, {"content_hash": "b02b9e7c659f3be9a4bfaf3d6c707205f2c26a28557dfb1320e80bd936c701b1", "fetched_at": "2026-08-29T09:13:17.887467+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/intro"}, {"content_hash": "daa43b38f6dcd3f05a8bde6d7f1b0fa835cce7917cc3792b1d75af60bf568f6e", "fetched_at": "2026-08-29T09:13:17.889976+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/3.8/intro"}, {"content_hash": "e558f956db01f64816199421c39fd8cc0add4f8a0f97e4eff375c03d46309782", "fetched_at": "2026-08-29T09:13:17.892442+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/groot"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:22:42.872316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed6eed9c9d5e31f0044f36e251dfe5a5be05139e1588863ff4ce1cefe0b87cca", "fetched_at": "2026-08-28T04:08:38.138968+00:00", "kind": "readme", "missing": false, "url": "https://github.com/BehaviorTree/BehaviorTree.CPP"}, {"content_hash": "642d41d80932bc3fc312552d28f8ce21270eb514fda500053bd174a41c76177a", "fetched_at": "2026-08-29T09:13:17.877480+00:00", "kind": "homepage", "missing": false, "url": "https://behaviortree.dev"}, {"content_hash": "b02b9e7c659f3be9a4bfaf3d6c707205f2c26a28557dfb1320e80bd936c701b1", "fetched_at": "2026-08-29T09:13:17.887467+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/intro"}, {"content_hash": "daa43b38f6dcd3f05a8bde6d7f1b0fa835cce7917cc3792b1d75af60bf568f6e", "fetched_at": "2026-08-29T09:13:17.889976+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/3.8/intro"}, {"content_hash": "e558f956db01f64816199421c39fd8cc0add4f8a0f97e4eff375c03d46309782", "fetched_at": "2026-08-29T09:13:17.892442+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/groot"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:38.138968+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:38.138968+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:38.138968+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:22:42.872316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed6eed9c9d5e31f0044f36e251dfe5a5be05139e1588863ff4ce1cefe0b87cca", "fetched_at": "2026-08-28T04:08:38.138968+00:00", "kind": "readme", "missing": false, "url": "https://github.com/BehaviorTree/BehaviorTree.CPP"}, {"content_hash": "642d41d80932bc3fc312552d28f8ce21270eb514fda500053bd174a41c76177a", "fetched_at": "2026-08-29T09:13:17.877480+00:00", "kind": "homepage", "missing": false, "url": "https://behaviortree.dev"}, {"content_hash": "b02b9e7c659f3be9a4bfaf3d6c707205f2c26a28557dfb1320e80bd936c701b1", "fetched_at": "2026-08-29T09:13:17.887467+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/intro"}, {"content_hash": "daa43b38f6dcd3f05a8bde6d7f1b0fa835cce7917cc3792b1d75af60bf568f6e", "fetched_at": "2026-08-29T09:13:17.889976+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/3.8/intro"}, {"content_hash": "e558f956db01f64816199421c39fd8cc0add4f8a0f97e4eff375c03d46309782", "fetched_at": "2026-08-29T09:13:17.892442+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/groot"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:38.138968+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:38.138968+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:22:42.872316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed6eed9c9d5e31f0044f36e251dfe5a5be05139e1588863ff4ce1cefe0b87cca", "fetched_at": "2026-08-28T04:08:38.138968+00:00", "kind": "readme", "missing": false, "url": "https://github.com/BehaviorTree/BehaviorTree.CPP"}, {"content_hash": "642d41d80932bc3fc312552d28f8ce21270eb514fda500053bd174a41c76177a", "fetched_at": "2026-08-29T09:13:17.877480+00:00", "kind": "homepage", "missing": false, "url": "https://behaviortree.dev"}, {"content_hash": "b02b9e7c659f3be9a4bfaf3d6c707205f2c26a28557dfb1320e80bd936c701b1", "fetched_at": "2026-08-29T09:13:17.887467+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/intro"}, {"content_hash": "daa43b38f6dcd3f05a8bde6d7f1b0fa835cce7917cc3792b1d75af60bf568f6e", "fetched_at": "2026-08-29T09:13:17.889976+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/3.8/intro"}, {"content_hash": "e558f956db01f64816199421c39fd8cc0add4f8a0f97e4eff375c03d46309782", "fetched_at": "2026-08-29T09:13:17.892442+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/groot"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:38.138968+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:38.138968+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:38.138968+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:22:42.872316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed6eed9c9d5e31f0044f36e251dfe5a5be05139e1588863ff4ce1cefe0b87cca", "fetched_at": "2026-08-28T04:08:38.138968+00:00", "kind": "readme", "missing": false, "url": "https://github.com/BehaviorTree/BehaviorTree.CPP"}, {"content_hash": "642d41d80932bc3fc312552d28f8ce21270eb514fda500053bd174a41c76177a", "fetched_at": "2026-08-29T09:13:17.877480+00:00", "kind": "homepage", "missing": false, "url": "https://behaviortree.dev"}, {"content_hash": "b02b9e7c659f3be9a4bfaf3d6c707205f2c26a28557dfb1320e80bd936c701b1", "fetched_at": "2026-08-29T09:13:17.887467+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/intro"}, {"content_hash": "daa43b38f6dcd3f05a8bde6d7f1b0fa835cce7917cc3792b1d75af60bf568f6e", "fetched_at": "2026-08-29T09:13:17.889976+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/3.8/intro"}, {"content_hash": "e558f956db01f64816199421c39fd8cc0add4f8a0f97e4eff375c03d46309782", "fetched_at": "2026-08-29T09:13:17.892442+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/groot"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:38.138968+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:38.138968+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:22:42.872316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed6eed9c9d5e31f0044f36e251dfe5a5be05139e1588863ff4ce1cefe0b87cca", "fetched_at": "2026-08-28T04:08:38.138968+00:00", "kind": "readme", "missing": false, "url": "https://github.com/BehaviorTree/BehaviorTree.CPP"}, {"content_hash": "642d41d80932bc3fc312552d28f8ce21270eb514fda500053bd174a41c76177a", "fetched_at": "2026-08-29T09:13:17.877480+00:00", "kind": "homepage", "missing": false, "url": "https://behaviortree.dev"}, {"content_hash": "b02b9e7c659f3be9a4bfaf3d6c707205f2c26a28557dfb1320e80bd936c701b1", "fetched_at": "2026-08-29T09:13:17.887467+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/intro"}, {"content_hash": "daa43b38f6dcd3f05a8bde6d7f1b0fa835cce7917cc3792b1d75af60bf568f6e", "fetched_at": "2026-08-29T09:13:17.889976+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/3.8/intro"}, {"content_hash": "e558f956db01f64816199421c39fd8cc0add4f8a0f97e4eff375c03d46309782", "fetched_at": "2026-08-29T09:13:17.892442+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/groot"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:22:42.872316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed6eed9c9d5e31f0044f36e251dfe5a5be05139e1588863ff4ce1cefe0b87cca", "fetched_at": "2026-08-28T04:08:38.138968+00:00", "kind": "readme", "missing": false, "url": "https://github.com/BehaviorTree/BehaviorTree.CPP"}, {"content_hash": "642d41d80932bc3fc312552d28f8ce21270eb514fda500053bd174a41c76177a", "fetched_at": "2026-08-29T09:13:17.877480+00:00", "kind": "homepage", "missing": false, "url": "https://behaviortree.dev"}, {"content_hash": "b02b9e7c659f3be9a4bfaf3d6c707205f2c26a28557dfb1320e80bd936c701b1", "fetched_at": "2026-08-29T09:13:17.887467+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/intro"}, {"content_hash": "daa43b38f6dcd3f05a8bde6d7f1b0fa835cce7917cc3792b1d75af60bf568f6e", "fetched_at": "2026-08-29T09:13:17.889976+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/3.8/intro"}, {"content_hash": "e558f956db01f64816199421c39fd8cc0add4f8a0f97e4eff375c03d46309782", "fetched_at": "2026-08-29T09:13:17.892442+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/groot"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:22:42.872316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed6eed9c9d5e31f0044f36e251dfe5a5be05139e1588863ff4ce1cefe0b87cca", "fetched_at": "2026-08-28T04:08:38.138968+00:00", "kind": "readme", "missing": false, "url": "https://github.com/BehaviorTree/BehaviorTree.CPP"}, {"content_hash": "642d41d80932bc3fc312552d28f8ce21270eb514fda500053bd174a41c76177a", "fetched_at": "2026-08-29T09:13:17.877480+00:00", "kind": "homepage", "missing": false, "url": "https://behaviortree.dev"}, {"content_hash": "b02b9e7c659f3be9a4bfaf3d6c707205f2c26a28557dfb1320e80bd936c701b1", "fetched_at": "2026-08-29T09:13:17.887467+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/intro"}, {"content_hash": "daa43b38f6dcd3f05a8bde6d7f1b0fa835cce7917cc3792b1d75af60bf568f6e", "fetched_at": "2026-08-29T09:13:17.889976+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/3.8/intro"}, {"content_hash": "e558f956db01f64816199421c39fd8cc0add4f8a0f97e4eff375c03d46309782", "fetched_at": "2026-08-29T09:13:17.892442+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/groot"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:22:42.872316+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ed6eed9c9d5e31f0044f36e251dfe5a5be05139e1588863ff4ce1cefe0b87cca", "fetched_at": "2026-08-28T04:08:38.138968+00:00", "kind": "readme", "missing": false, "url": "https://github.com/BehaviorTree/BehaviorTree.CPP"}, {"content_hash": "642d41d80932bc3fc312552d28f8ce21270eb514fda500053bd174a41c76177a", "fetched_at": "2026-08-29T09:13:17.877480+00:00", "kind": "homepage", "missing": false, "url": "https://behaviortree.dev"}, {"content_hash": "b02b9e7c659f3be9a4bfaf3d6c707205f2c26a28557dfb1320e80bd936c701b1", "fetched_at": "2026-08-29T09:13:17.887467+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/intro"}, {"content_hash": "daa43b38f6dcd3f05a8bde6d7f1b0fa835cce7917cc3792b1d75af60bf568f6e", "fetched_at": "2026-08-29T09:13:17.889976+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/docs/3.8/intro"}, {"content_hash": "e558f956db01f64816199421c39fd8cc0add4f8a0f97e4eff375c03d46309782", "fetched_at": "2026-08-29T09:13:17.892442+00:00", "kind": "site_page", "missing": false, "url": "https://behaviortree.dev/groot"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 100, "rhythm": 58}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2878, "days_push": 19, "days_rel": 203, "gap_med": 32, "n_releases_24m": 6}, "score": 84, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}