Advanced multi-issue workflow management with mol commands
Molecules are Beads’ advanced workflow feature for managing complex, multi-issue work. They allow you to group related issues, track progress, and create reusable workflow templates.
# Verify default patrol formulabd mol seed# Verify specific formulabd mol seed .beads/formulas/feature.yaml# Verify custom formula from any pathbd mol seed ~/my-workflows/release.yaml
Example output
✓ Formula found: .beads/formulas/patrol.yaml✓ Syntax valid✓ All steps resolvable✓ Formula can be cookedFormula summary: Name: patrol-workflow Steps: 5 Dependencies: 3 blocking relationships
# Bond types:- formula + formula # Compose workflows- proto + mol # Extend molecule- mol + mol # Merge molecules- issue + issue # Link issues (same as bd dep add)
# Limit output to 20 stepsbd mol current --limit 20# Show specific rangebd mol current --range 10-30# Show only current sectionbd mol current --context 5 # Show 5 steps before/after current
# Issues with similar titles get variablesbd create "Add auth to API" -p 0bd create "Add auth to UI" -p 0bd create "Add auth to CLI" -p 0# Distill creates:# "Add {{component}} to {{feature}}"
# You've done this workflow 5 times manually# Distill the last instance to create a templatebd mol distill bd-mol-last --output .beads/formulas/onboarding.yaml
Organization standards:
# Senior engineer creates canonical workflowbd mol distill bd-mol-canonical --output .beads/formulas/release-process.yaml# Junior engineers pour from templatebd mol pour .beads/formulas/release-process.yaml
Emergency response templates:
# Document incident response workflowbd mol distill bd-mol-incident-42 --output incident-response.yaml# Next incident: pour instantlybd mol pour incident-response.yaml
# Create molecule with custom IDbd mol pour feature.yaml --id feat-auth-2026q1# Bond to existing workbd mol bond bd-epic-123 feat-auth-2026q1# Later: distill and re-pourbd mol distill feat-auth-2026q1 | bd mol pour - --id feat-oauth-2026q2