Browser-based BehaviorTree.CPP editor with Nav2 import/export (free, open source)

I maintain behaviortrees.com, a free, open-source visual behavior tree editor that runs in the browser. It imports and exports BehaviorTree.CPP XML (v4 for Jazzy and Groot2, v3.8 for Humble), including Nav2’s navigate-to-pose trees. Changes to the BT.CPP support are checked in CI by loading the editor’s exports into the real BT.CPP v4 and v3.8 libraries via Docker.

It also comes with:

  • A CLI for CI pipelines: npx behaviortrees validate tree.xml catches dangling children, nodes with two parents, cycles and malformed decorators. npx behaviortrees convert converts between BT.CPP v3 and v4 XML and behavior3 JSON.
  • An MCP server (https://www.behaviortrees.com/mcp), so AI assistants like Claude can draft a tree, validate it, and hand you a link that opens it in the editor.

It’s meant to complement Groot2, not replace it: there’s nothing to install, and it’s quick for sketching, reviewing or sharing a tree. A link carries the whole tree, so you can drop one in an issue or PR comment.

I’d especially like feedback from Nav2 users: what’s missing, and which trees don’t round-trip cleanly?

Source: GitHub - behaviortrees/behaviortrees: Visual editor for behavior trees — behaviortrees.com · GitHub

1 Like