Our goal is to build the most advanced open-source agent harness with a fast Rust runtime. Run it from your terminal, serve it over HTTP, or embed it with the SDK. Choose the models and tools you need, and keep your sessions on your machine.
When a task spans several sessions, keeping up with each one takes time. Give Supervisor the goal. It assigns work, tracks progress, and gathers results. You can see what each session did and handle approvals and acceptance when needed.
Quickstart · Integration · Benchmarks · Architecture · Contribute · 简体中文
Download the executable for your platform from the latest GitHub release.
| Platform | Prebuilt executable |
|---|---|
| macOS | Apple Silicon |
| Linux | x64 · ARM64 |
| Windows | x64 · ARM64 |
Rename the executable to bamboo (bamboo.exe on Windows) and put it on your PATH. On macOS and Linux, make it executable with chmod +x bamboo.
If you already use Rust, install the published crate with Cargo.
cargo install bamboo-agent --lockedOn first use, choose a provider and enter its API key in the setup wizard. To specify a model available to your account, run bamboo init --model YOUR_MODEL_ID.
bamboo initChange to the directory of a project whose README.md documents its test command and ask Bamboo to find it.
cd "/path/to/sample-project"
bamboo -p "Read the file at $PWD/README.md and tell me the exact command to run this project's tests. Do not edit any files."Read README.md
Run the tests using the following command: `python3 -m unittest discover -s tests`
Excerpt from a Bamboo CLI run.
For browser chat, run bamboo serve with the frontend and open localhost:9562. CLI guide · Custom model setup
flowchart TD
Client["CLI · HTTP · Rust SDK"] <-->|Prompt / reply and events| Bamboo["Bamboo agent loop · local sessions"]
Bamboo <-->|Context, text and tool requests| Router["Provider and model selection"]
Router <-->|Request and reply| Provider["LLM APIs · OpenAI-compatible (incl. local) · Anthropic · Gemini"]
Bamboo <-->|Permission checks / tool results| Tools["Project tools and MCP"]
HTTP example · API reference · Rust SDK example · Python, JavaScript, TypeScript, Go and Java SDKs · Model setup
flowchart TD
User["User"] <-->|Task / results| Supervisor["Supervisor"]
Supervisor <-->|Dispatch / evidence| Work["Work · goal and acceptance"]
Work <-->|Assignment / submission| Session["Execution session · isolated worktree · own permissions"]
Supervisor <-->|Planning and review| Child["Sub-agents"]
Supervisor · Work controls · Sub-agent settings
Bodhi prepares and runs Bamboo for you from a desktop window. The terminal installer supports Apple Silicon Macs running macOS 13.5 or later and Linux x64 distributions that use APT.
curl -q --proto '=https' --proto-redir '=https' --tlsv1.2 -fsSL https://bigduu.github.io/Pavilion/install.sh | shflowchart LR
Task["Terminal-Bench 2.1 · local subset"] --> Pass["60 of 78 passed · 76.92%"]
Pass --> Detail["51 normal exits · 9 passed after timeout"]
Task --> Fail["18 did not pass"]
Grep["Literal Grep P95 · 1,854 Rust files"] --> Before["Before · 2.07–2.35 s"]
Before --> After["After · 135–140 ms"]
Terminal-Bench results and method · Grep measurements
flowchart LR
Bodhi["Bodhi desktop"] -->|Opens| Lotus["Lotus Next UI"]
Bodhi -->|Manages| Bamboo["Bamboo runtime"]
Lotus <-->|HTTP and WebSocket| Bamboo
Bamboo <-->|Local memory| Jiandu["Jiandu"]
Bamboo -.->|Optional MCP| Nova["Nova desktop tools"]
Magpie["Magpie messaging"] -.->|Optional connector| Bamboo
Build from source · Configuration · Deployment
We’d like to hear how you use Bamboo and where you get stuck. Report a bug, propose a design change, or contribute code, docs, examples, or benchmark results.