beads
Original:🇺🇸 English
Translated
1 scriptsChecked / no sensitive code detected
Beads (bd) distributed git-backed issue tracker for AI agents: hash-based IDs, dependency graphs, worktrees, molecules, sync, GitLab/Linear/Jira. Keywords: bd, beads, issue tracker, git-backed, dependencies, molecules, worktree, sync, AI agents.
2installs
Sourceitechmeat/llm-code
Added on
NPX Install
npx skill4agent add itechmeat/llm-code beadsTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Beads (bd)
Distributed, git-backed graph issue tracker for AI coding agents. Persistent memory with dependency-aware task tracking.
Quick Start
bash
# Install
brew install steveyegge/beads/bd
# or
curl -fsSL https://raw.githubusercontent.com/steveyegge/beads/main/scripts/install.sh | bash
# Initialize in repo (humans run once)
bd init
# Tell your agent
echo "Use 'bd' for task tracking" >> AGENTS.mdWhen to Use
- AI agent needs persistent task memory across sessions
- Tracking dependencies between tasks (,
blocks:)depends_on: - Multi-agent/multi-branch workflows (hash-based IDs prevent conflicts)
- Incremental delivery with molecules/gates
- Sync issues with GitLab, Linear, Jira, GitHub
Essential Commands
| Command | Action |
|---|---|
| List tasks with no open blockers |
| Tasks waiting at gate checkpoints |
| Create P0 task |
| View task details and audit trail |
| Update status (open/in_progress/done) |
| Close task |
| Link tasks (blocks, related, parent) |
| List issues (default: 50, non-closed) |
| Sync with git/remote |
| Store key-value pair |
| Retrieve stored value |
| Show/configure storage backend |
| Sync with GitLab |
Hash-Based IDs
Issues use hash-based IDs like to prevent merge conflicts:
bd-a1b2bash
bd create "Fix login bug" -p 1
# Created: bd-x7k3
bd show bd-x7k3Hierarchical IDs
bd-a3f8 (Epic)
bd-a3f8.1 (Task)
bd-a3f8.1.1 (Sub-task)Use to view hierarchy.
bd children <id>References
| File | Purpose |
|---|---|
| workflow.md | Daily operations, status flow, sync |
| authoring.md | Writing quality issues, EARS patterns |
| molecules.md | Molecules, gates, formulas, compounds |
| sync.md | Git sync, sync-branch, Linear/Jira import |
Key Concepts
Git as Database
Issues stored as JSONL in . Versioned, branched, merged like code.
.beads/Dependency Graph
bash
bd dep add bd-child bd-parent --blocks # child blocks parent
bd dep add bd-a bd-b --related # related items
bd ready # only shows unblocked workMolecules (Advanced)
Molecules group related issues with gates for incremental delivery:
bash
bd mol create "Feature X" --steps=3 # Create 3-step molecule
bd mol progress bd-xyz # Check progress
bd mol burn bd-xyz # Complete moleculeStealth Mode
Use Beads locally without committing to repo:
bash
bd init --stealthContributor vs Maintainer
bash
# Contributor (forked repos) — separate planning repo
bd init --contributor
# Maintainer auto-detected via SSH/HTTPS credentialsConfiguration
Config stored in :
.beads/config.yamlyaml
sync:
branch: beads-sync # Sync to separate branch
remote: origin
daemon:
auto_start: true
auto_sync: true
types:
custom:
- name: spike
statuses: [open, in_progress, done]Storage Backend (Dolt Default)
Beads now defaults to the embedded Dolt backend. Server mode is opt-in for multi-client access. Use to inspect or configure backend settings, and see the sync reference for server-mode notes.
bd backendAgent Integration
Tell Agent About Beads
Add to :
AGENTS.mdmarkdown
## Task Tracking
Use `bd` for task tracking. Run `bd ready` to find work.Agent-Optimized Output
bash
BD_AGENT_MODE=1 bd list --json # Ultra-compact JSON output
bd list --json # Standard JSON outputMCP Plugin
Beads includes Claude Code MCP plugin for direct integration.
Critical Commands
bash
# What to work on
bd ready # Unblocked tasks
bd ready --pretty # Formatted output
# Create with dependencies
bd create "Task B" --blocks bd-a1b2
# Doctor (fix issues)
bd doctor # Check health
bd doctor --fix # Auto-fix problems
# Sync
bd sync # Full sync
bd sync --import-only # Import onlyAnti-patterns
| ❌ Wrong | ✅ Correct |
|---|---|
| |
| Manual JSON editing | Use |
Ignoring | Always check blockers first |
Skipping | Sync regularly |
| Creating without deps | Declare |