| name | allbeads |
| description | Multi-repo orchestration for AI agent workflows. Aggregate beads across repositories, manage contexts, and coordinate distributed work across microservices and polyrepo architectures.
|
| allowed-tools | Read,Bash(allbeads:*) |
| version | 0.2.1 |
| author | Paul Thrasher <https://github.com/thrashr888> |
| license | MIT |
AllBeads - Multi-Repo Agent Orchestration
AllBeads implements the "Boss Repository" pattern - a control plane that federates issue tracking (beads) across multiple git repositories, enabling AI agents to coordinate work across distributed microservices.
AllBeads vs bd (beads)
| allbeads (multi-repo) | bd (single-repo) |
|---|
| Aggregates across repos | Single repository |
| Context-based filtering | Local .beads only |
| Cross-repo dependencies | Local dependencies |
| Federated dashboard | Single project view |
Decision test: "Does my work span multiple repositories?" → YES = allbeads
When to use allbeads:
- Work spans multiple microservices/repos
- Need unified view across polyrepo architecture
- Cross-repository dependencies exist
- Managing work across team contexts (@work, @personal)
- Enterprise integration (JIRA, GitHub Issues)
When to use bd:
- Single repository work
- Local issue tracking
- No cross-repo dependencies needed
Prerequisites
allbeads --version
- allbeads CLI installed (
brew install thrashr888/allbeads/allbeads)
- bd CLI installed for underlying beads operations
- Contexts configured:
allbeads context add .
Session Start Checklist
When starting a work session, check for handoffs from other agents:
ab mail inbox
ab ready
bd ready
Why check mail? Other agents may have completed work and handed off follow-up tasks. The mail often contains context about what was done and what's expected next.
Core Commands
Viewing Aggregated Work
allbeads stats
allbeads list
allbeads list --status open
allbeads ready
allbeads blocked
allbeads search "query"
Context Management
allbeads context add .
allbeads context add /path/to/repo --name myproject
allbeads context list
allbeads context remove myproject
Synchronization
allbeads sync --all
allbeads sync --status
allbeads sync mycontext
Interactive Dashboard
allbeads tui
Key Concepts
Contexts
A context is a git repository that AllBeads tracks. Each context has its own .beads/ directory and can be filtered independently or viewed in aggregate.
Shadow Beads
When working with cross-repo Epics, AllBeads creates "Shadow Beads" in the Boss repository that point to native beads in member repositories, enabling dependency tracking across repo boundaries.
Federated Graph
AllBeads maintains a unified dependency graph across all contexts, allowing you to see how work in one repository blocks or enables work in another.
Cross-Repo Task Handoff
AllBeads enables seamless task handoff between repositories using beads (persistent tasks) and mail (real-time notifications).
Beads + Mail: The Complete Handoff
ab create --context=AllBeadsWeb --title="Add /api/beads/import endpoint" --type=feature
ab mail send --to AllBeadsWeb "New task: Add /api/beads/import endpoint. See bd ready."
ab mail inbox
bd ready
When to Use Each
| Use Beads | Use Mail |
|---|
| Trackable tasks | Real-time alerts |
| Work spanning sessions | Immediate attention needed |
| Dependencies | Status updates |
| Persistent record | Coordination messages |
Best practice: Create a bead AND send mail for important handoffs.
Common Handoff Targets
| Context | Purpose |
|---|
AllBeadsWeb | Web UI, API endpoints, dashboard |
AllBeadsApp | macOS native app, menu bar |
AllBeads | CLI, core Rust library |
Agent Mail
Agent Mail enables real-time communication between agents across repositories.
ab mail send --to AllBeadsWeb "Feature ready for review"
ab mail send --to AllBeadsWeb --message-type request "Approve deployment?"
ab mail inbox
ab mail unread
ab mail test "Build completed for ab-123. Ready for review."
Mail in the Dashboard
View mail in multiple ways:
Message Types
| Type | Use For |
|---|
| NOTIFY | Status updates, completions, FYIs |
| REQUEST | Approval needed, input required |
| BROADCAST | Announcements to all agents |
| LOCK/UNLOCK | File coordination |
| HEARTBEAT | Agent liveness signals |
Managing Your Inbox
ab mail read <message-id>
ab mail read --all
ab mail archive <message-id>
ab mail archive --all
ab mail delete <message-id>
Workflow: Check inbox → Process messages → Mark read → Archive when done.
Mail Best Practices
- Reference bead IDs in messages for context
- Check inbox when starting work sessions
- Send completion notices after finishing handed-off work
- Use mail for urgency, beads for tracking
- Clean up regularly with
ab mail read --all && ab mail archive --all
Common Workflows
Starting cross-repo work:
allbeads ready
allbeads show <id>
bd update <id> --status=in_progress
Checking project health:
allbeads stats
allbeads blocked
allbeads sync --status
Adding a new repository:
cd /path/to/new-repo
allbeads context add . --name new-project
allbeads sync new-project
Creating a brand new project:
ab context new myproject --private --gitignore Go --license MIT
This creates GitHub repo, clones locally, initializes beads, and adds to AllBeads.
Planning a project (no code yet):
ab context new myproject --private
bd create --title="[Phase 1] ..." --type=epic
bd comments add <id> "<spec details>"
Golden Workflow: Onboard → Handoff → Complete
The recommended workflow for managing work across repositories:
1. Onboard Repositories
ab onboard /path/to/repo
2. Find Ready Work
ab ready
ab show <bead-id>
3. Hand Off to Agent
ab handoff <bead-id>
ab handoff <bead-id> --agent codex
ab handoff <bead-id> --agent gemini
ab handoff <bead-id> --queue
ab handoff <bead-id> --queue --agent claude
4. Agent Completes Work
The agent:
- Creates branch (or uses pre-created for sandboxed agents)
- Does the work
- Closes the bead:
bd close <bead-id>
5. Commit and Push (if sandboxed agent)
For sandboxed agents like Codex that can't do git operations:
git add -A
git commit -m "feat(<bead-id>): <description>"
bd sync
git push -u origin bead/<bead-id>
6. Repeat
ab ready
ab handoff <bead-id>
Key Learnings
Onboarding
- Safety checks: Clean git workspace, main/master branch required
- Dependency direction: Epic depends on tasks (tasks ready, epic blocked)
- Plugins: Only beads + allbeads auto-enabled
Handoff
- Sandboxed agents: Codex can't write to
.git/ - branch pre-created
- Codex command: Uses
codex exec --full-auto for non-interactive mode
- After sandboxed agent: User commits and pushes the work
- Queue mode (
--queue): Sends work via Agent Mail to a running agent instead of spawning new process
Agents
AllBeads provides specialized agents:
| Agent | Purpose |
|---|
| task-agent | Autonomous task completion across contexts |
| governance-agent | Policy enforcement and compliance |
| planning-agent | Project planning without implementation |
| onboarding-agent | Repository onboarding assistance |
Commands Reference
| Command | Purpose |
|---|
/create | Create bead in any context (cross-repo handoff) |
/mail | Agent mail for real-time coordination |
/ready | Show unblocked work |
/list | List all beads |
/show | Show bead details |
/stats | Aggregated statistics |
/sync | Sync with remotes |
/context | Manage contexts |
/context-new | Create new GitHub repo |
/project-new | Plan new project (no code) |
/handoff | Hand off to implementation |
/workflow | Workflow guide |
/prime | Prime agent context |
/scan | Scan GitHub for repos |
/governance | Check policies |
/agents | Manage AI agents |
/onboard-repo | Onboard repository |
/blocked | Show blocked work |
/tui | Launch dashboard |
Quick Reference
ab scan github <user>
ab onboard <url>
ab context new <name>
ab ready
ab update <id> --status=...
ab close <id>
ab create --context=AllBeadsWeb --title="..." --type=feature
ab mail send --to AllBeadsWeb "New task: see bd ready"
ab mail send --to <context> "message"
ab mail inbox
ab mail unread
ab sync --all
bd sync
ab governance check
ab agents list
See Also
AGENTS.md - Quick reference for agents
CLAUDE.md - Full project guide
specs/PRD-00.md - Architecture specification