Skip to content
Projects

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.

Developer Tools

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

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

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

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

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

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)

Explore related projects

Loading…