Releases

bonsai-bt v0.12.0 adds live browser visualization for behavior trees

Bonsai-bt v0.12.0 lets you watch behavior trees execute live in the browser, turning a usually opaque control flow into something you can inspect and tune on the fly.

Sam Ortega··2 min read
Published
Listen to this article0:00 min
bonsai-bt v0.12.0 adds live browser visualization for behavior trees
Source: preview.redd.it

The best part of bonsai-bt v0.12.0 is not that it adds another feature. It is that it finally gives behavior trees a usable face while they are running. By flipping the visualize feature flag, Rust developers can open a live browser view of the tree as it executes, which makes it much easier to see which nodes are active, which branches are selected, and where control flow is actually spending time.

That matters because behavior trees have always been strong on structure and weak on day-to-day debuggability. Bonsai’s docs describe it as a Rust implementation of behavior trees, and the crate leans into the usual BT pitch: modular logic that stays reactive as conditions change. It also supports serialization with Serde, RON, and graphviz, so the new visualization lands in a crate that already cared about inspection and persistence. The execution model even includes a blackboard shared between all nodes, which makes live visualization especially useful when you need to understand why one branch won and another stayed idle.

AI-generated illustration
AI-generated illustration

The project’s latest commit line says the feature arrived in “Add live visualization for behavior trees (#58),” and it landed last week in the main development line. That timing gives the release a practical edge: it is not a speculative roadmap item, but a concrete tool upgrade that changes how you work with the crate right now. For game AI, robotics, and other control-heavy systems, the difference between reading logs and watching the tree run is the difference between guessing and seeing.

That visual layer also fits the history of the pattern itself. Behavior trees were conceived in the computer games industry, then drew serious interest in robotics as teams looked for an alternative to finite state machines that stayed modular as complexity grew. A 2024 comparison paper makes that same point, and Bonsai’s new browser view pushes in the same direction: make the reactive logic easier to reason about before the state space turns into a mess. In that sense, v0.12.0 is less about flashy polish than about making BTs usable at speed.

The ecosystem numbers back up that the crate already has an audience. Are We Game Yet? lists bonsai-bt version 0.12.0 in its AI directory, with about 61,091 total downloads, 11,739 recent downloads, and 493 stars. GitHub shows 496 stars and 27 forks, with last activity on 2026-05-17. For a pattern that can be powerful but opaque, Bonsai just made the hard part visible.

This article was produced by Prism’s automated news system from verified source data, official records, and press releases, then run through automated quality and moderation checks before publishing. The system is built and supervised by the people who set the standards it runs under. Read our full AI policy.

Know something we missed? Have a correction or additional information?

Submit a Tip

Never miss a story.

Get Rust Programming updates weekly. The top stories delivered to your inbox.

Free forever · Unsubscribe anytime

Discussion

More Rust Programming News