Skip to main content

Bub it. Build it. A collaborative agent for shared delivery workflows.

Project description

Bub

Release Build status Commit activity License

Bub it. Build it.

Bub is a collaborative agent for shared delivery workflows, evolving into a framework that helps other agents operate with the same collaboration model. It is not a personal-assistant shell: it is designed for shared environments where work must be inspectable, handoff-friendly, and operationally reliable.

Documentation: https://bub.build

Built on Republic, Bub treats context as explicit assembly from verifiable interaction history, rather than opaque inherited state. This aligns with Socialized Evaluation: systems are judged by how well teams can inspect, review, and continue work together.

What Bub Provides

  • Multi-operator collaboration in shared delivery environments.
  • Explicit command boundaries for predictable execution.
  • Verifiable history (tape, anchor, handoff) for audit and continuity.
  • Channel-neutral behavior across CLI and message channels.
  • Extensible tools and skills with a unified operator-facing workflow.

Quick Start

git clone https://github.com/bubbuild/bub.git
cd bub
uv sync
cp env.example .env

Minimal .env:

BUB_MODEL=openrouter:qwen/qwen3-coder-next
LLM_API_KEY=your_key_here

Start interactive CLI:

uv run bub

Interaction Model

  • hello: natural language routed to model.
  • ,help: internal command.
  • ,git status: shell command.
  • , ls -la: shell command (space after comma is optional).

Common commands:

,help
,tools
,tool.describe name=fs.read
,skills.list
,skills.describe name=friendly-python
,handoff name=phase-1 summary="bootstrap done"
,anchors
,tape.info
,tape.search query=error
,tape.reset archive=true
,quit

Channel Runtime (Optional)

Telegram:

BUB_TELEGRAM_ENABLED=true
BUB_TELEGRAM_TOKEN=123456:token
BUB_TELEGRAM_ALLOW_FROM='["123456789","your_username"]'
uv run bub message

Discord:

BUB_DISCORD_ENABLED=true
BUB_DISCORD_TOKEN=discord_bot_token
BUB_DISCORD_ALLOW_FROM='["123456789012345678","your_discord_name"]'
BUB_DISCORD_ALLOW_CHANNELS='["123456789012345678"]'
uv run bub message

Development

uv run ruff check .
uv run mypy
uv run pytest -q
just docs-test

License

Apache 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bub-0.2.3.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bub-0.2.3-py3-none-any.whl (93.0 kB view details)

Uploaded Python 3

File details

Details for the file bub-0.2.3.tar.gz.

File metadata

  • Download URL: bub-0.2.3.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for bub-0.2.3.tar.gz
Algorithm Hash digest
SHA256 f742470c5cac18ee68d92bd0e19841b4b55110853619a7ffe9164879555571f8
MD5 42de6cf4cb5937fc7e49898a7dcd2a1a
BLAKE2b-256 21df53366163edbd139f79604665a60bdd4d82645382533436870d34ebc7b3a2

See more details on using hashes here.

File details

Details for the file bub-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: bub-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 93.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for bub-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6a5b78957a9bdaf2f305a8bb4d60b956e5dabd411c8fbb6d21927a4e0b341d1f
MD5 0db9ecbc511775138e73fb429d2b0550
BLAKE2b-256 4c65f69917c58cbbc109d576b6f61cc7014b17239aac4a9bfe137d6861c712c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page