Fast Rust port of Steve Yegge's beads: local-first, non-invasive issue tracker storing tasks in SQLite with JSONL export for git collaboration
Fast Rust port of Steve Yegge's beads: local-first, non-invasive issue tracker storing tasks in SQLite with JSONL export for git collaboration
A Rust port of Steve Yegge's beads, frozen at the "classic" SQLite + JSONL architecture I built my Agent Flywheel tooling around.
Quick Start | Commands | Configuration | VCS Integration | FAQ
I (Jeffrey Emanuel) LOVE Steve Yegge's Beads project. Discovering it and seeing how well it worked together with my MCP Agent Mail was a truly transformative moment in my development workflows and professional life. This quickly also led to beads_viewer (bv), which added another layer of analysis to beads that gives swarms of agents the insight into what beads they should work on next to de-bottleneck the development process and increase velocity. I'm very grateful for finding beads when I did and to Steve for making it.
At this point, my Agent Flywheel System is built around beads operating in a specific way. As Steve continues evolving beads toward GasTown and beyond, our use cases have naturally diverged. The hybrid SQLite + JSONL-git architecture that I built my tooling around (and independently mirrored in MCP Agent Mail) is being replaced with approaches better suited to Steve's vision.
Rather than ask Steve to maintain a legacy mode for my niche use case, I created this Rust port that freezes the "classic beads" architecture I depend on. The command is br to distinguish it from the original bd.
This isn't a criticism of beads; Steve's taking it in exciting directions. It's simply that my tooling needs a stable snapshot of the architecture I built around, and maintaining my own fork is the right solution for that. Steve has given his full endorsement of this project.
You need to track issues for your project, but:
br is a local-first issue tracker that stores issues in SQLite with JSONL export for git-friendly collaboration. It provides dependency-aware issue tracking, machine-readable output, sync/recovery tooling, and agent-friendly workflows without leaving your repository.
br init # Initialize in your repo
br create "Fix login timeout" -p 1 # Create high-priority issue
br ready # See what's actionable
br coordination status --json # Inspect hidden in-progress claims
br close br-abc123 # Close when done; JSONL auto-flushes by default
br sync --flush-only # Optional final export check before git commit| Feature | br | GitHub Issues | Jira | TODO comments |
|---|---|---|---|---|
| Works offline | Yes | No | No | Yes |
| Lives in repo | Yes | No | No | Yes |
| Tracks dependencies | Yes | Limited | Yes | No |
| Zero cost | Yes | Free tier | No | Yes |
| No account required | Yes | No | No | Yes |
| Machine-readable | Yes (--json) |
API only | API only | No |
| Git-friendly sync | Yes (JSONL) | N/A | N/A | N/A |
| Non-invasive | Yes | N/A | N/A | Yes |
| AI agent integration | Yes | Limited | Limited | No |
…For normal issue tracking and sync, br keeps its state in .beads/ and leaves
git handoff to you. It never commits, pushes, pulls, installs hooks, or runs as a
background service.
Some explicit commands intentionally step outside that default storage boundary:
br agents edits requested agent-instruction files, br doctor --repair can fix
the project .gitignore, br config edit/set updates config files,
br completions -o writes shell completion files, br upgrade updates the
installed binary, and git-reporting commands such as br changelog, br orphans, commit-activity br stats, and the explicitly requested bounded
br vcs-status diagnostic inspect git state/history.
# Normal issue state lives under .beads/
ls -la .beads/
# beads.db # SQLite database
# issues.jsonl # Git-friendly export
# config.yaml # Optional configSQLite for fast local queries. JSONL for git-friendly collaboration.
# Local: Fast queries via SQLite
br list --priority 0-1 --status open --assignee alice
# Collaboration: JSONL merges cleanly in git
git diff .beads/issues.jsonl
# +{"id":"br-abc123","title":"New feature",...}Successful mutating commands update SQLite and auto-flush JSONL by default.
Normal issue commands also check for changed local JSONL and import it before
running, unless --no-auto-import or sync.auto_import: false disables that
check. This includes JSONL changed by your own git pull or merge; br never
fetches those changes, commits, pushes, or pulls for you. Git inspection is
limited to explicitly requested reporting commands.
…Every command supports --json for AI coding agents:
br list --json | jq '.issues[] | select(.priority **Note:** `cargo install` places binaries in `~/.cargo/bin/`, while the install script uses `~/.local/bin/`. If you have both in PATH, ensure the desired location has higher priority to avoid running an outdated version. Run `which br` to verify which binary is active.
### Claude Code Plugin (agent instructions)
The official `br` skill ships as a Claude Code plugin, so agents get the
workflow rules without you copying `SKILL.md` around:
```bash
/plugin marketplace add Dicklesworthstone/beads_rust
/plugin install beads@beads-rustThe plugin installs agent instructions only — it does not install the br
binary, so pair it with one of the install methods above. The optional
bd-to-br-migration skill stays opt-in and is not part of the plugin; install
it with install.sh --with-migration-skill if you are still migrating from
bd. Codex users keep using install.sh, which writes the same skill into
${CODEX_HOME:-~/.codex}/skills.
# Build without self-update feature
cargo build --release --no-default-features
# Or install without it
cargo +nightly-2026-08-31 install --git https://github.com/Dicklesworthstone/beads_rust.git beads_rust --locked --no-default-featuresbr serve is optional and is not built by the default feature set. Build with
the mcp feature when you want an AI agent to talk to br over the Model
Context Protocol instead of shelling out to CLI commands.
cargo build --release --features mcp
# Or install globally with MCP support
cargo +nightly-2026-08-31 install --git https://github.com/Dicklesworthstone/beads_rust.git beads_rust --locked --features mcpRun it from an initialized beads workspace:
RUST_LOG=error br serve --actor codex
…
bash
br --version
# br 0.6.0Release archives from v0.4.1 onward ship a .minisig sidecar signed with
the current br release key (minisign key ID 36B847D11BA5A0D0):
minisign -Vm br--.tar.gz \
-P 'RWTQoKUb0Ue4NsqTpPWnABCrIU0+m25zsMlbv6UcRClQ7jmRP3A7NmTB'
…
bash
cd my-project
br init
# Initialized beads workspace in .beads/For automation, br init --json returns an initialization receipt with the
resolved workspace and database paths, the stored prefix, and each file's
outcome (created, updated, or existing). br schema all --format json
includes its InitResult schema.
br create "Fix login timeout bug" \
--type bug \
--priority 1 \
--description "Users report login times out after 30 seconds"
# Created: br-a1b2c3br label add br-a1b2c3 backend authbr ready
# Shows issues that are open, not blocked, not deferredbr update br-a1b2c3 --status in_progress --assignee "$(git config user.email)"br close br-a1b2c3 --reason "Increased timeout to 60s, added retry logic"br sync --flush-only # Idempotent final JSONL export check
git add .beads/ # Stage changes
git commit -m "Fix: login timeout (br-a1b2c3)"
…
yaml
# .beads/config.yaml — the keys br reads; `br config schema` prints the live list
# with types and defaults, and `br config set` warns about keys br does not read.
# Prefix for newly created issue ids (existing ids keep theirs)
issue_prefix: "proj"
# Defaults for `br create` when --priority / --type are not given
default_priority: 2 # 0-4 or P0-P4
default_type: "task"
# Force colored (true) or plain (false) output; unset means auto-detect
# display:
# color: true
# Sync behavior (these are the defaults; set to false to opt out)
sync:
auto_flush: true # export issues.jsonl after each successful mutation
auto_import: true # import a newer issues.jsonl before commands run
history_enabled: true # keep bounded JSONL snapshots under .beads/.br_history
# Optional
# actor: "alice" # audit actor when --actor is not given
# claim_exclusive: true # refuse `br update --claim` on an issue another actor holds
# lock_timeout: 5000 # write-lock wait in milliseconds# Show all config
br config list
# Every key br honors, with aliases, types, defaults, and descriptions
br config schema
# Get a specific value
br config get issue_prefix
# Set a value (key=value or key value); unknown keys are written but warned about
br config set default_priority=1
# Remove a key, print the config file path, or open it in $EDITOR
br config delete default_priority
br config path
br config edit.beads/policy.yaml)Workflow behavior is configured separately in .beads/policy.yaml. One use is
defining a configurable ready status group: which statuses br ready treats
as actionable work. By default only open is ready, but projects with a review
workflow can widen it so review-returned work (e.g. rework) resurfaces through
the same br ready --json entrypoint:
# .beads/policy.yaml
workflow:
status_groups:
ready:
- open
- rework
…
yaml
workflow:
statuses: [open, in_progress, in_review, rework, closed]
capacity:
statuses:
in_progress:
hard: 3
groups:
active_work:
statuses: [in_progress, in_review, rework]
hard: 5
admission:
- name: drain_review_before_starting
transitions:
from: [open]
to: [in_progress]
require_below:
statuses:
in_review: 2Individual status and named multi-status group limits allow the configured count and reject only transitions that would exceed it. Admission thresholds are exclusive (`count in_review": - acceptance_criteria - transition_comment
Pass the request-scoped comment with `br update --transition-comment`,
`br close --transition-comment`, `br defer --transition-comment`, or
`br undefer --transition-comment`; `br reopen --reason` is its transition
comment, and `br epic close-eligible --transition-comment` applies one comment
to every epic in its atomic batch. A historical comment never satisfies the
rule. The prospective acceptance-criteria value must be non-empty and contain
no unchecked markdown boxes. AnyNo open issues yet, or sync has not completed.