Skip to content

Beads Integration for Workflows Server

Integration between the workflows server and beads distributed issue tracker for enhanced AI agent task management.

Overview

Prerequisites: bd CLI must be installed and available in PATH.

Backends:

  • Markdown: Checkbox tasks in plan files
  • Beads: Rich task management with dependencies, priorities, and git integration

Configuration

Beads is auto-detected: if the bd command is available, it is used automatically. No configuration needed.

To explicitly override auto-detection:

bash
export TASK_BACKEND=markdown  # Force markdown even if bd is available
export TASK_BACKEND=beads     # Force beads (errors if bd unavailable)

Quick Setup

  1. Install beads CLI (bd command must be in PATH)
  2. Use start_development() as normal — beads is detected automatically

Usage

Development Workflow

When beads is active:

  1. Project epic: Created automatically for all development tasks
  2. Phase tasks: One task per workflow phase with sequential dependencies
  3. Plan file: Modified to include beads task IDs in comments

Task Hierarchy (automatic):

Project Epic: "responsible-vibe Development: My Project" (bd-a1b2)
├── Explore Phase (bd-a1b2.1) → Plan Phase (bd-a1b2.2) →
├── Code Phase (bd-a1b2.3) → Commit Phase (bd-a1b2.4)

Sequential dependencies: Each phase blocks the next, ensuring proper workflow order.

Essential Commands

bash
# Task creation with context
bd create "Task title" --parent bd-a1b2.1 --description "what, why, how" --priority 2

# Task management
bd list --parent bd-a1b2.1 --status open  # List phase tasks
bd show <task-id>                          # Show details
bd update <task-id> --status in_progress   # Update status
bd close <task-id>                         # Mark complete

# Project overview
bd show bd-a1b2                            # Show epic
bd list --parent bd-a1b2 --recursive       # All project tasks

Troubleshooting

bd command not found: Install beads CLI and ensure it's in PATH
Beads setup failed: Ensure git repo, run bd init if needed
Phase task IDs missing: Re-run start_development() to regenerate beads integration

Switch backends: Set TASK_BACKEND=markdown to disable beads, or unset it to re-enable auto-detection.

Technical Notes

  • Backwards compatible: Existing markdown projects unaffected
  • Per-project choice: Each project chooses its backend independently
  • Graceful fallback: Falls back to markdown if beads unavailable
  • Plan file modifications: Phase task IDs stored in comments for reference

Limitations: No real-time sync between beads and plan files; manual task creation required.

Resources