gastownhall /beads

Beads - A memory upgrade for your coding agent

★ 29,181⑂ 1,964👁 90⑃ 5,438● 3,023▤ 115
GoMITCreated 2025-10-12beads.gascity.com
TA的项目
下载:v1.3.4v1.3.4 ↓1.3.42026-11-04
+38
日增长
+301
周增长
29,181
stars
1,964
forks
90
watchers
5,438
prs
3,023
issues
115
releases

README

bd - Beads

Distributed graph issue tracker for AI agents, powered by Dolt.

Platforms: macOS, Linux, Windows, FreeBSD







Docs: https://beads.gascity.com/

Beads provides a persistent, structured memory for coding agents. It replaces messy markdown plans with a dependency-aware graph, allowing agents to handle long-horizon tasks without losing context.

mermaid
flowchart LR
    create["bd createnew bead"] -- depgraph["dependencygraph"]
    depgraph -- ready["bd readyclaimable work"]
    ready -- claim["bd update --claimagent takes it"]
    claim -- close["bd closework done"]
    close --|blockers released| ready
    depgraph |"bd dolt push / pull"| remote[("other machinesand agents")]


 ⚡ Quick Start

bash
 Install beads CLI (system-wide - don't clone this repo into your project)
curl -fsSL https://raw.githubusercontent.com/gastownhall/beads/main/scripts/install.sh | bash

 Initialize in YOUR project
cd your-project
bd init

 Optional: refresh or install richer instructions for your agent
bd setup codex     Codex CLI - installs skill, AGENTS.md guidance, and hooks
bd setup claude    Claude Code - installs hooks/settings
bd setup factory   Factory.ai Droid - creates/updates AGENTS.md


Note: Beads is a CLI tool you install once and use everywhere. You don't need to clone this repository into your project.

bd init creates or updates AGENTS.md by default so agents can discover the beads workflow, and also installs the project Claude Code, Codex, and Cursor integrations unless you pass --skip-agents or --stealth. Use bd setup --list to see supported integrations, including bd setup codex, bd setup factory, bd setup claude, bd setup mux, bd setup cursor, and more. See Agent and IDE setup.

Manual copy-paste is only for unsupported agents, existing projects where you cannot rerun bd init/bd setup, or custom instruction files. In those cases, run bd onboard and paste the printed snippet into the file your agent reads.

If your agent is not covered by bd setup, add this minimal AGENTS.md section:

markdown
This project uses bd (beads) for issue tracking.

- Run bd prime for workflow context and command guidance.
- Use bd ready, bd show , bd update  --claim, and bd close .
- Use bd remember "a project insight" for durable project facts; keep per-operator preferences in your harness's own memory.
- Do not use markdown TODO lists for task tracking.


 🛠 Features

 Dolt-Powered: Version-controlled SQL database with cell-level merge, native branching, and built-in sync via Dolt remotes.
 Agent-Optimized: JSON output, dependency tracking, and auto-ready task detection.
 Zero Conflict: Hash-based IDs (bd-a1b2) prevent merge collisions in multi-agent/multi-branch workflows.
 Compaction: Semantic "memory decay" summarizes old closed tasks to save context window.
 Messaging: Message issue type with threading (--thread), ephemeral lifecycle, and mail delegation.
 Graph Links: relates-to, duplicates, supersedes, and replies-to for knowledge graphs.

 📖 Essenti

Top issues

Discussions

Latest release

v1.3.4 v1.3.4 2026-11-04
beads v1.3.4

Pre-compiled binaries for Linux, macOS (Intel & Apple Silicon), Windows (AMD64 & ARM64), Android/Termux (ARM64), and FreeBSD.

 Release notes

1.3.4 is 1.3.3 plus one fix: bd reads GT_ROOT from a rig's .beads/.env again (8118, a backport of 8117). 1.3.3 ignored it and printed beads: ignoring GT_ROOT from .beads/.env on every bd command in a Gas City rig. That made released gc misreport failed bd commands there.

Read the full notes in CHANGELOG.md: the [1.3.4] and [1.3.4-rc.1] sections. Coming from 1.3.2 or earlier, also read the [1.3.3-rc.1] Upgrade notes and Known issues. They 

Snapshot: 2026-11-28T10:06:57Z · Data license Apache-2.0 · JSON