Skip to content

About

Bamboo — a local-first Rust agent harness and runtime with sessions, tools, skills, MCP, sub-agents, workflows, schedules, and context assembly over HTTP, SSE, and WebSocket.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

27 stars

Watchers

0 watching

Forks

Latest commit

 

History

6,862 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bamboo 🎋

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 · 简体中文

Try it

Install

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 --locked

Run your first task

On 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 init

Change 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

Build with Bamboo

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"]
Loading

HTTP example · API reference · Rust SDK example · Python, JavaScript, TypeScript, Go and Java SDKs · Model setup

Supervisor

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"]
Loading

Supervisor · Work controls · Sub-agent settings

Bodhi desktop app

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 | sh

Bodhi downloads

Benchmarks

flowchart 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"]
Loading

Terminal-Bench results and method · Grep measurements

Architecture

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
Loading

Architecture guide

Docs

Build from source · Configuration · Deployment

Contribute

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.

GitHub Issues · Contribution guide

License

MIT · Third-party notices · Skill Creator (Apache-2.0)

About

Bamboo — a local-first Rust agent harness and runtime with sessions, tools, skills, MCP, sub-agents, workflows, schedules, and context assembly over HTTP, SSE, and WebSocket.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

27 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages