Multi-Agent Task Coordination with Beads

Business Value & Outcomes


The Problem

AI agents are stateless. Every session starts fresh โ€” no memory of what was decided, what’s in progress, or what’s blocked. When multiple agents work on related tasks:

  • Work gets duplicated โ€” two agents solve the same problem independently
  • Context is lost โ€” decisions made in one session vanish in the next
  • Handoffs fail โ€” Agent A finishes step 1, but Agent B doesn’t know step 2 is unblocked
  • No accountability โ€” nobody knows who’s working on what, or what’s stalled

This is the same coordination problem that killed productivity in distributed human teams before tools like Jira and Linear. For AI agents, it’s worse โ€” they literally forget everything between sessions.

The Solution

Beads is a distributed, git-backed task tracker purpose-built for AI agents. By integrating it across all #B4mad agents:

  1. Every task is tracked in a persistent, structured graph
  2. Every agent knows what’s ready, what’s blocked, and what’s assigned
  3. Dependencies are explicit โ€” Agent B automatically knows when Agent A’s work unblocks it
  4. History survives sessions โ€” decisions, progress, and context persist in git

Architecture: Hub + Spoke

beads-hub (shared)         Per-project .beads/
โ”œโ”€โ”€ Cross-cutting epics    โ”œโ”€โ”€ linkedin-brief tasks
โ”œโ”€โ”€ Agent assignments      โ”œโ”€โ”€ workspace tasks  
โ”œโ”€โ”€ Strategic goals        โ””โ”€โ”€ Future project tasks
โ””โ”€โ”€ Inter-agent messages
  • Hub: Strategic coordination โ€” “build OAuth for portal”, “migrate DNS”
  • Spokes: Tactical tasks โ€” “fix feed parser bug”, “update cookies”
  • Git-backed: Every change is versioned, mergeable, auditable

Measurable Outcomes

Metric Before After
Task persistence across sessions โŒ None โœ… 100% via git
Duplicate work between agents Frequent Near-zero (atomic claiming)
Handoff success rate Manual/ad-hoc Automatic (dependency graph)
Audit trail Chat logs only Structured graph + git history
Onboarding new agents Re-explain everything bd ready --json

Key Value Drivers

1. Continuity Without Context Windows Agents don’t need massive context windows to remember what happened. They pull the latest beads, see what’s ready, and continue. This directly reduces token costs โ€” less context = cheaper runs.

2. Parallel Execution Without Conflicts Hash-based IDs and atomic claiming mean multiple agents can work simultaneously without stepping on each other. CodeMonkey can code while LinkedIn Brief fetches feeds while Axiom orchestrates โ€” all aware of each other’s state.

3. Strategic Alignment Epics in beads-hub map directly to business goals. When Axiom creates an epic “Launch #B4mad portal v2” with sub-tasks assigned to different agents, the entire fleet moves toward the same objective. No drift.

4. Reduced Human Overhead Instead of manually tracking what each agent is doing, goern can:

bd list --status open --json   # What's in flight?
bd ready --json                # What's unblocked?
bd show bd-abc --json          # What happened with this?

5. Git-Native = No New Infrastructure No databases to host. No SaaS to pay for. No APIs to maintain. It’s git repos โ€” the same infrastructure already in use. Beads syncs via git push/pull, which every agent already knows how to do.

Cost Impact

Factor Impact
Token savings Lower context needed per session (tasks are external, not in-memory)
Time savings No re-explaining work between sessions
Error reduction Dependencies prevent premature work
Infrastructure cost $0 (git repos, CLI tool)

Strategic Fit

This aligns directly with #B4mad’s vision:

  • Agent-First Design: Beads is built for machines โ€” JSON output, atomic operations, no interactive UIs
  • Decentralized: Git-backed, no central server, works offline
  • Open Source: Beads is OSS, no vendor lock-in
  • Scalable: Works for 3 agents today, works for 300 tomorrow

What Success Looks Like

Week 1: All agents check beads-hub at session start. Tasks persist across sessions.

Month 1: Epics with cross-agent dependencies run smoothly. CodeMonkey picks up coding tasks created by Axiom without human intervention.

Month 3: The agent fleet operates as a coordinated unit. New agents onboard by reading beads-hub. Human oversight shifts from “tell agents what to do” to “review what agents did.”


“The best coordination is invisible. Agents should just know what to do next.”