Bevyhub
docs > beet

Beet

Beet is a modular behavior library for the Bevy Engine, leveraging the ECS design pattern to provide performance and flexibility in behavior design.

hello_fallback.rs
world.spawn(FallbackFlow)
.with_children(|parent| {
parent.spawn((
LogOnRun::("Hello"),
EndOnRun::failure(),
));
parent.spawn((
LogOnRun::("World"),
EndOnRun::success(),
));
})
.trigger(OnRun)

Features

🌈 Multi-Paradigm

Interoperate between Behavior Trees, Utility AI, Reinforcement Learning, and other behavior paradigms, check out the roadmap for implementation status.

🌳 Modular

Entity trees are reusable and self-contained, enabling modularity and behavior composition.

🎯 Target Anything

Runs on servers, web, mobile and even tiny microcontrollers like the ESP32.

🐦 Very Bevy

Beet is regular components, systems and plugins all the way down. Behaviors can be visualized, serialized etc in the same way as bevy scenes.

🕯️ Machine Learning

100% Rust LLMs and reinforcement learning environments with Huggingface Candle integration, including rust ports of OpenAI Gym environments like Frozen Lake.