Install Bub
Bub can be used as a CLI app or as a Python SDK, so pick the install path that fits your workflow.
Install the CLI app
Section titled “Install the CLI app”curl -fsSL https://bub.build/install.sh | bashpowershell -ExecutionPolicy ByPass -c "irm https://bub.build/install.ps1 | iex"uv tool install "bub[app]"uv tool update-shellThe install script sets up uv, Python 3.12, and bub[app] for you. The app extra bundles application-layer capabilities such as the CLI, channels, and plugins; you do not need it if you only use the core SDK.
When it finishes, run bub --help to verify the install, then run bub onboard to configure your model.
Install the SDK
Section titled “Install the SDK”From 0.6.0 on, the base bub package ships the core kernel only. Add it to your project with your package manager—here is uv:
uv add bubuv run python -c "from bub.core import Agent; print(Agent.__name__)"Run from source
Section titled “Run from source”Clone the repository and sync its dependencies:
git clone https://github.com/bubbuild/bub.gitcd bubuv syncThen run it with uv run bub.
With the installation done, continue to Quick start.