Skip to main content

Beadhive CLI

Project description

Beadhive (bh)

beadhive — Agentic Git Flow, driven by beads.

bh is a single CLI for managing beads issue tracking across many repositories. Each repo is its own beads database (a hive) with a short, stable prefix; bh onboards them, keeps their labels consistent, runs bd/git across one or all of them, and aggregates every hive into one cross-repo view — even hives whose code isn't checked out.

It's a thin orchestrator over bd, git, git-workspace, dolt, and docker: bh encodes the conventions, the registry, validation, and routing. Config and runtime state live under ~/.beadhive/; no issue data lives there — each hive's issues live in its own Dolt DB under refs/dolt/data on that repo's own git remote.

bh is the Beadhive umbrella's workspace CLI — the integration-plane driver for AGF (Agentic Git Flow), the abstract, tracker-independent process. Beadflow is that process implemented on beads: this repo's concrete implementation, unchanged behavior under a naming layer. See docs/AGF.md for the process and docs/design/limn-naming-strategy-adr.md for the naming decision record.

This repo is the CLI's source (Python package beadhive on PyPI, command bh).

Install

Agents: point your agent at INSTALL.md — the preferred install path. It carries a structured install: frontmatter block (the agent reads it, discloses the plan, and asks before each command) plus a prose fallback any agent or human can follow.

Manual (pick one):

uv tool install 'beadhive[otel]'     # PyPI (recommended — prebuilt wheels, seconds)
pipx install 'beadhive[otel]'        # PyPI alternative
brew install beadhive/tap/beadhive   # Homebrew (slower — builds native deps from source)

Then scaffold the config home:

bh config init      # writes config.yaml + templates into ~/.beadhive/

Optional (Claude Code): the bh claude-plugin vends the AGF seat agent defs and role skills; bh mcp install wires the MCP server at user scope:

claude plugin marketplace add beadhive/claude-plugin
claude plugin install bh@beadhive
bh mcp install

Docs

New to bh? Start at **docs/ONBOARDING.md** — the end-to-end guide from fresh Mac to a configured AGF workspace with registered hives.

Everything else — the design and reasoning, configuration, the full command surface, and each component — starts at **docs/OVERVIEW.md**.

Develop

just bootstrap   # brew bundle + mise install + uv sync   (once per machine)
just install     # uv tool install --force '.[otel]' → ~/.local/bin/bh
just lint        # ruff check
just fmt         # ruff format
just test        # pytest
just build       # uv build

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

beadhive-0.4.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

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

beadhive-0.4.0-py3-none-any.whl (411.4 kB view details)

Uploaded Python 3

File details

Details for the file beadhive-0.4.0.tar.gz.

File metadata

  • Download URL: beadhive-0.4.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for beadhive-0.4.0.tar.gz
Algorithm Hash digest
SHA256 b0b6168bb63e1fbaba7d4e9a38985ad50b298eb7865d6e5f691aa13732380443
MD5 3f5d1d1bd7b63a63ce66bb07f134211c
BLAKE2b-256 1345e4663911dd822681ec01898e0151752266125d68f6f0b585b1bfa7e0d3b1

See more details on using hashes here.

File details

Details for the file beadhive-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: beadhive-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 411.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for beadhive-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23dbd630e6d9ba0c63364e197b723ea49298e388527066256c682fba4dfe84c7
MD5 83f0a539f7b8ace121613b3f5613ff50
BLAKE2b-256 f979c47180329ea28c455689318402346614948bd8d434a93ac962dc186a1bf1

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