Bamboo is a local-first Rust runtime for agent systems.
It provides the execution core behind products that need structured context, tool orchestration, memory, task tracking, scheduling, MCP extensibility, and HTTP/SSE integration.
Bamboo is not primarily the end-user product layer. It is the runtime and backend foundation behind products like Bodhi and other agent-enabled applications.
Use Bamboo when you need a system that is:
- backend-first rather than UI-first
- embeddable or serviceable rather than tied to one interface
- structured and governable rather than prompt-only
- capable of longer-running work with context, memory, and task state
- fit for integration into desktop, web, or internal tools
- multi-step agent loop
- built-in task list and execution state
- approval and clarification checkpoints
- final confirmation / handoff flow
- file, search, edit, shell, and workspace tools
- tool usage guidance injected into runtime context
- policy-aware and approval-aware execution paths
- safe parallel execution support where applicable
- prompt section layering
- session-scoped note memory
- Dream notebook and durable memory support
- long-session compaction and oversized-output handling
- HTTP APIs
- Server-Sent Events streaming
- standalone runtime mode
- embeddable Rust integration path
- MCP, skills, workflows, and schedules
Bamboo gives you an execution core you can understand, host, extend, and evolve.
Instead of relying on one growing transcript, Bamboo organizes context, tasks, tools, memory, and runtime state more explicitly.
Approvals, explicit questions, task state, and guided tool usage make the runtime more governable.
Bamboo can sit behind a desktop app, a web client, or an internal product surface without being tightly coupled to one UX.
| Common pattern | Bamboo approach |
|---|---|
| Product surface and runtime tightly coupled | Backend-first runtime boundary |
| Prompt-heavy orchestration | Runtime-level tools, tasks, memory, and scheduling |
| Hard to reuse across multiple clients | Embeddable / serviceable integration model |
| Long work collapses into transcript growth | More structured context and memory handling |
| Tool behavior is present but lightly governed | Guide + policy + approval-aware execution model |
cargo install bamboo-agentOr build from source:
git clone https://github.com/bigduu/Bamboo-agent.git
cd Bamboo-agent
cargo build --release
cargo install --path .bamboo serveDefault local paths:
- REST API:
http://localhost:9562/api/v1 - Config path:
${HOME}/.bamboo/config.json - Data dir:
${HOME}/.bamboo/
{
"provider": "anthropic",
"providers": {
"anthropic": {
"api_key": "sk-ant-...",
"model": "claude-sonnet-4-20250514"
}
}
}Use Bamboo behind a web app, desktop product, or internal agent platform.
Use Bamboo as a Rust-native runtime inside your own application.
Add skills, MCP integrations, workflows, and schedules on top of the runtime core.
Bamboo auto-publishes to crates.io when the version in Cargo.toml changes on main. To release:
- Update version in
Cargo.toml - Update
CHANGELOG.md - Commit and push β CI handles tagging, GitHub Release, and crates.io publish
Requires CARGO_REGISTRY_TOKEN secret in GitHub repo settings.
cd docker && docker compose up -d --build
curl http://localhost:9562/api/v1/healthKey env vars: BAMBOO_DATA_DIR, BAMBOO_PORT, BAMBOO_BIND, BAMBOO_WORKERS, BAMBOO_CORS_ALLOW_ORIGINS.
Choose Bamboo if you want a runtime that is:
- more structured than a single CLI loop
- more reusable than a one-off local workflow
- more governable than pure prompt orchestration
- better suited to power products behind the scenes
If Bodhi is the AI product surface, Bamboo is the execution engine underneath.
MIT