Git-native work management for AI coding agents.
AI coding agents lose context constantly — compaction, session boundaries, crashes. Plans they build in-context die silently. The agent picks up where it left off with no memory of what it decided or why.
Beadwork gives agents durable state in git. Plans, progress, and decisions persist as files on a git branch. Nothing touches your working tree. Two agents working on the same repo never touch the same file. Sync is just git push.
You talk to your agent normally. Beadwork works behind the scenes.
- "Plan the auth module refactor"
- "What's next?"
- "Continue where we left off"
- "Use a team to do bw-xyz and bw-abc"
Join the Beadwork Discord for discussion, support, and updates.
curl -fsSL https://raw.githubusercontent.com/jallum/beadwork/main/install.sh | shOr download a binary from releases. To update an existing install: bw upgrade.
Coming from beads? see docs/migration.md.
bw init # initialize in any git repo
bw onboard # print bootstrap snippet for CLAUDE.md / GEMINI.md
bw create "Fix auth bug" --type bug -p 1 # create an issue
bw ready # list unblocked work
bw comment bw-a1b2 "Fixed in latest deploy" # add a comment
bw close bw-a1b2 # close it
bw sync # push to remoteManaging Work
bw create <title> [flags] Create an issue (--parent, --type, -p, --silent)
bw show <id>... [--only <sections>] [--json] Show issue details with deps (aliases: view)
bw list [filters] [--json] List issues (--grep, --all, --deferred)
bw update <id> [flags] Update an issue (--parent to set/clear)
bw close <id> [--reason <r>] Close an issue
bw reopen <id> Reopen a closed issue
bw delete <id> [--force] Delete an issue (preview by default)
bw comment <id> <text> Add a comment (--author; use bw show to view)
bw label <id> +lab [-lab] ... Add/remove labels
bw defer <id> <date> Defer until a date
bw undefer <id> Restore a deferred issue
bw history <id> [--limit N] Show commit history for an issue
Finding Work
bw ready [--json] List unblocked issues
bw blocked [--json] List issues waiting on dependencies
Dependencies
bw dep add <id> blocks <id> Add a dependency
bw dep remove <id> blocks <id> Remove a dependency
Sync & Data
bw sync Fetch, rebase/replay, push
bw export [--status <s>] Export issues as JSONL
bw import <file> [--dry-run] Import issues from JSONL (use - for stdin)
Setup & Config
bw init [--prefix] [--force] Initialize beadwork
bw config get|set|list View/set config options
bw upgrade [--check] [--yes] Check for / install binary updates
bw upgrade repo Upgrade repo schema to latest version
bw onboard Print agent instructions snippet
bw prime Print workflow context for agents
bw onboard prints a snippet for your project's agent instructions file (CLAUDE.md, GEMINI.md, etc.). Once installed, agents automatically load workflow context via bw prime at the start of each session.
All data lives on a git orphan branch, manipulated directly in the object database via go-git. Every operation is an atomic commit. Sync uses fetch-rebase-push with intent replay on conflict.
For storage layout and sync mechanics, see docs/design.md.
See CONTRIBUTING.md for the local dev loop and make targets that mirror CI.
MIT