# bonsai

> 权威词条地址：https://robotics.hellobike.com/sdks/sollimann-bonsai
> 所属分类：sdks | 最近核验日期：2026-09-22 | 技术层级：L3, L4

## 核心摘要

Sollimann 在 GitHub 开源的算法库，主要语言 Rust。 Rust implementation of behavior trees for deterministic AI (now with Python bindings)

## 结构化工程参数

| 参数项 | 数值 / 配置 |
| :--- | :--- |
| `layers` | ["L3", "L4"] |
| `links` | [{"title": "GitHub", "url": "https://github.com/Sollimann/bonsai"}] |
| `updated` | 2026-09-22 |
| `repo` | https://github.com/Sollimann/bonsai |
| `language` | ["rust"] |
| `pinned_versions` | [{"version_or_sha": "main / 最新稳定分支", "tested_env": "Ubuntu 22.04 LTS / Rust 1.65+ / Python 3.10+", "notes": "通过cargo add bonsai_bt引入Rust依赖，Python绑定可使用pip install bonsai-bt安装，核心入口为BehaviorTree结构体"}] |
| `incompatible_envs` | ["暂不支持Windows 32位系统，部分依赖编译会出现架构不兼容问题", "Python版本低于3.8时无法正常导入绑定模块，存在语法兼容差异"] |
| `repo_stats` | {"stars": 1085, "forks": 42, "as_of": "2026-10-13"} |
| `tool_type` | library |
| `overview_sources` | ["https://github.com/Sollimann/bonsai"] |

## 技术详解与生态说明

bonsai是由开发者Sollimann开源的行为树算法库，核心开发语言为Rust，同时提供Python绑定接口。其核心功能是实现面向确定性AI系统的行为树逻辑框架，支持开发者快速构建可解释、可调试的机器人决策逻辑。

该算法库适配机器人系统L3~L4层级的决策规划模块，不绑定特定机器人本体，开发者可通过Rust原生API或Python绑定集成至现有机器人技术栈，为移动机器人、工业机械臂等场景的行为调度、任务规划提供轻量化、高性能的行为树实现方案。

## 原始核验来源 (Sources)

- [GitHub Sollimann/bonsai](https://github.com/Sollimann/bonsai)