Assign and claim beads, hand off work, and serialize conflict-prone work with merge slots across multiple agents
Patterns for coordinating work between multiple AI agents.
Work Assignment
Assigning and Claiming Work
Assign work to a specific agent, or claim it atomically for yourself:
# Assign issue to an agentbd assign bd-42 agent-1# Atomically claim an issue (sets assignee to you, status to in_progress)bd update bd-42 --claim# Claim the first ready issue matching your filtersbd ready --claim --json# Release a claimed issuebd assign bd-42 "" # clear the assigneebd update bd-42 --status open # make it claimable again
Checking Assigned Work
# What is agent-1 working on?bd list --assignee agent-1 --status in_progress# What is ready for agent-1?bd ready --assignee agent-1# JSON outputbd list --assignee agent-1 --json
Handoff Patterns
Sequential Handoff
Agent A completes work, hands off to Agent B:
# Agent Abd comment bd-42 "API complete, ready for review"bd assign bd-42 agent-b# Agent B picks upbd list --assignee agent-b # Sees bd-42bd update bd-42 --claim
Parallel Work
Multiple agents work on different issues:
# Coordinatorbd assign bd-42 agent-abd assign bd-43 agent-bbd assign bd-44 agent-c# Each agent claims its issue and works independentlybd update bd-42 --claim# Coordinator monitors progressbd list --status in_progress --json
Fan-Out / Fan-In
Split work, then merge:
# Fan-outbd create "Part A" --parent bd-epicbd create "Part B" --parent bd-epicbd create "Part C" --parent bd-epicbd assign bd-epic.1 agent-abd assign bd-epic.2 agent-bbd assign bd-epic.3 agent-c# Fan-in: wait for all parts (one dependency per call)bd dep add bd-merge bd-epic.1bd dep add bd-merge bd-epic.2bd dep add bd-merge bd-epic.3
If bd-epic carries a size/effort label, see Labels for keeping it off the parts.
For structured epic fan-out, bd swarm creates and tracks a swarm molecule
from an epic (bd swarm create, bd swarm status).
Agent Discovery
Beads has no agent registry — assignees are plain strings. To see which
agents are active, group in-progress work by assignee:
bd list --status in_progress --json
Conflict Prevention
Atomic Claims
--claim is atomic: when multiple agents pull from the same ready queue,
the first claim wins, and repeating a claim you already hold is idempotent.
Prefer claiming over assigning when agents self-select work:
bd ready --claim --json
Merge Slots
Serialize conflict-prone work (such as merge-queue conflict resolution) with
a merge slot — an exclusive-access primitive only one agent can hold at a
time. Each project has one merge slot bead, named from the issue prefix
(e.g. bd-merge-slot):
# Create the merge slot for this projectbd merge-slot create# Check availabilitybd merge-slot check# Acquire before starting; release when donebd merge-slot acquirebd merge-slot release
Communication Patterns
Via Comments
# Agent A leaves notebd comment bd-42 "Completed API, needs frontend integration"# Agent B readsbd comments bd-42
Via Labels
# Mark for reviewbd update bd-42 --add-label "needs-review"# Agent B filtersbd list --label-any needs-review
Coordinating Across Repositories
Agents can coordinate work that spans repositories:
# Depend on a capability delivered by another projectbd dep add bd-42 external:backend:api-ready
Multi-repo routing, aggregated views, and contributor/team workflows are
covered in Routing and
Multi-Repo Migration.
Best Practices
Clear ownership - Assign or claim work so every issue has one owner
Document handoffs - Use comments to explain context
Use labels for status - needs-review, blocked, ready
Avoid conflicts - Claim atomically; use merge slots to serialize
conflict-prone work
Monitor progress - Regular status checks
Sync at session end - Run bd dolt push so other agents see your
updates
⌘I
{"docsConfig":{"theme":"linden","$schema":"https://mintlify.com/docs.json","name":"Beads Documentation","colors":{"primary":"#2e8555","light":"#3cad6e","dark":"#29784c"},"logo":{"light":"https://mintcdn.com/beads/YXx_fI6ZwwnOb98c/images/logo.svg?fit=max\u0026auto=format\u0026n=YXx_fI6ZwwnOb98c\u0026q=85\u0026s=30d41ea3e997e8f84bd1cb7ade9eaa07","dark":"https://mintcdn.com/beads/YXx_fI6ZwwnOb98c/images/logo.svg?fit=max\u0026auto=format\u0026n=YXx_fI6ZwwnOb98c\u0026q=85\u0026s=30d41ea3e997e8f84bd1cb7ade9eaa07"},"favicon":"https://mintcdn.com/beads/YXx_fI6ZwwnOb98c/images/favicon.svg?fit=max\u0026auto=format\u0026n=YXx_fI6ZwwnOb98c\u0026q=85\u0026s=b6df642d15e33f80a74ec5f1d5689961","navbar":{"links":[{"icon":"github","href":"https://github.com/gastownhall/beads","label":"GitHub"},{"href":"https://www.npmjs.com/package/@beads/bd","label":"npm"}]},"styling":{"latex":false},"background":{"color":{"light":"#f9fbfa","dark":"#0b0e0e"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"beads","hasAudioNarration":false,"actualSubdomain":"beads","customDomains":["beads.gascity.com"],"gitSource":{"type":"github","owner":"gastownhall","repo":"beads","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b00b171964ab5c3f5ff2f18","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"default","tag":"Reference","count":131},{"language":"default","tag":"CLI Reference","count":119},{"language":"default","tag":"Integrations","count":19},{"language":"default","tag":"Recovery","count":11},{"language":"default","tag":"Core Concepts","count":9},{"language":"default","tag":"Getting Started","count":6},{"language":"default","tag":"Multi-Agent","count":6},{"language":"default","tag":"Workflows","count":6},{"language":"default","tag":"Architecture","count":2},{"language":"default","tag":"Community","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"multi-agent/coordination","slug":"/multi-agent/coordination","pageMetadata":{"title":"Agent Coordination","description":"Assign and claim beads, hand off work, and serialize conflict-prone work with merge slots across multiple agents","href":"/multi-agent/coordination"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Assign and claim beads, hand off work, and serialize conflict-prone work with merge slots across multiple agents\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Patterns for coordinating work between multiple AI agents.`}),`\n`,_jsx(Heading,{level:`2`,id:`work-assignment`,children:`Work Assignment`}),`\n`,_jsx(Heading,{level:`3`,id:`assigning-and-claiming-work`,children:`Assigning and Claiming Work`}),`\n`,_jsx(_components.p,{children:`Assign work to a specific agent, or claim it atomically for yourself:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Assign issue to an agent`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd assign bd-42 agent-1`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Atomically claim an issue (sets assignee to you, status to in_progress)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd update bd-42 --claim`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Claim the first ready issue matching your filters`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd ready --claim --json`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Release a claimed issue`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd assign bd-42 `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # clear the assignee`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd update bd-42 --status open `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# make it claimable again`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`checking-assigned-work`,children:`Checking Assigned Work`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# What is agent-1 working on?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd list --assignee agent-1 --status in_progress`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# What is ready for agent-1?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd ready --assignee agent-1`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# JSON output`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd list --assignee agent-1 --json`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`handoff-patterns`,children:`Handoff Patterns`}),`\n`,_jsx(Heading,{level:`3`,id:`sequential-handoff`,children:`Sequential Handoff`}),`\n`,_jsx(_components.p,{children:`Agent A completes work, hands off to Agent B:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Agent A`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd comment bd-42 `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"API complete, ready for review\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd assign bd-42 agent-b`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Agent B picks up`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd list --assignee agent-b `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Sees bd-42`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd update bd-42 --claim`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`parallel-work`,children:`Parallel Work`}),`\n`,_jsx(_components.p,{children:`Multiple agents work on different issues:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Coordinator`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd assign bd-42 agent-a`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd assign bd-43 agent-b`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd assign bd-44 agent-c`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Each agent claims its issue and works independently`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd update bd-42 --claim`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Coordinator monitors progress`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd list --status in_progress --json`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`fan-out-/-fan-in`,children:`Fan-Out / Fan-In`}),`\n`,_jsx(_components.p,{children:`Split work, then merge:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Fan-out`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd create `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Part A\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --parent bd-epic`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd create `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Part B\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --parent bd-epic`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd create `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Part C\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` --parent bd-epic`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd assign bd-epic.1 agent-a`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd assign bd-epic.2 agent-b`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd assign bd-epic.3 agent-c`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Fan-in: wait for all parts (one dependency per call)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd dep add bd-merge bd-epic.1`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd dep add bd-merge bd-epic.2`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd dep add bd-merge bd-epic.3`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`If `,_jsx(_components.code,{children:`bd-epic`}),` carries a size/effort label, see `,_jsx(_components.a,{href:`/core-concepts/labels`,children:`Labels`}),` for keeping it off the parts.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`For structured epic fan-out, `,_jsx(_components.code,{children:`bd swarm`}),` creates and tracks a swarm molecule\nfrom an epic (`,_jsx(_components.code,{children:`bd swarm create`}),`, `,_jsx(_components.code,{children:`bd swarm status`}),`).`]})}),`\n`,_jsx(Heading,{level:`2`,id:`agent-discovery`,children:`Agent Discovery`}),`\n`,_jsx(_components.p,{children:`Beads has no agent registry — assignees are plain strings. To see which\nagents are active, group in-progress work by assignee:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd list --status in_progress --json`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`conflict-prevention`,children:`Conflict Prevention`}),`\n`,_jsx(Heading,{level:`3`,id:`atomic-claims`,children:`Atomic Claims`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--claim`}),` is atomic: when multiple agents pull from the same ready queue,\nthe first claim wins, and repeating a claim you already hold is idempotent.\nPrefer claiming over assigning when agents self-select work:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd ready --claim --json`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`merge-slots`,children:`Merge Slots`}),`\n`,_jsxs(_components.p,{children:[`Serialize conflict-prone work (such as merge-queue conflict resolution) with\na merge slot — an exclusive-access primitive only one agent can hold at a\ntime. Each project has one merge slot bead, named from the issue prefix\n(e.g. `,_jsx(_components.code,{children:`bd-merge-slot`}),`):`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Create the merge slot for this project`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd merge-slot create`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Check availability`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd merge-slot check`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Acquire before starting; release when done`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd merge-slot acquire`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd merge-slot release`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`communication-patterns`,children:`Communication Patterns`}),`\n`,_jsx(Heading,{level:`3`,id:`via-comments`,children:`Via Comments`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Agent A leaves note`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd comment bd-42 `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Completed API, needs frontend integration\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Agent B reads`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd comments bd-42`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`via-labels`,children:`Via Labels`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Mark for review`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd update bd-42 --add-label `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"needs-review\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Agent B filters`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd list --label-any needs-review`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`coordinating-across-repositories`,children:`Coordinating Across Repositories`}),`\n`,_jsx(_components.p,{children:`Agents can coordinate work that spans repositories:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Depend on a capability delivered by another project`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`bd dep add bd-42 external:backend:api-ready`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Multi-repo routing, aggregated views, and contributor/team workflows are\ncovered in `,_jsx(_components.a,{href:`/multi-agent/routing`,children:`Routing`}),` and\n`,_jsx(_components.a,{href:`/multi-agent/multi-repo-migration`,children:`Multi-Repo Migration`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Clear ownership`}),` - Assign or claim work so every issue has one owner`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Document handoffs`}),` - Use comments to explain context`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Use labels for status`}),` - `,_jsx(_components.code,{children:`needs-review`}),`, `,_jsx(_components.code,{children:`blocked`}),`, `,_jsx(_components.code,{children:`ready`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Avoid conflicts`}),` - Claim atomically; use merge slots to serialize\nconflict-prone work`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Monitor progress`}),` - Regular status checks`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Sync at session end`}),` - Run `,_jsx(_components.code,{children:`bd dolt push`}),` so other agents see your\nupdates`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Agent Coordination","description":"Assign and claim beads, hand off work, and serialize conflict-prone work with merge slots across multiple agents","href":"/multi-agent/coordination"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Work Assignment","slug":"work-assignment","depth":2,"children":[{"title":"Assigning and Claiming Work","slug":"assigning-and-claiming-work","depth":3,"children":[]},{"title":"Checking Assigned Work","slug":"checking-assigned-work","depth":3,"children":[]}]},{"title":"Handoff Patterns","slug":"handoff-patterns","depth":2,"children":[{"title":"Sequential Handoff","slug":"sequential-handoff","depth":3,"children":[]},{"title":"Parallel Work","slug":"parallel-work","depth":3,"children":[]},{"title":"Fan-Out / Fan-In","slug":"fan-out-/-fan-in","depth":3,"children":[]}]},{"title":"Agent Discovery","slug":"agent-discovery","depth":2,"children":[]},{"title":"Conflict Prevention","slug":"conflict-prevention","depth":2,"children":[{"title":"Atomic Claims","slug":"atomic-claims","depth":3,"children":[]},{"title":"Merge Slots","slug":"merge-slots","depth":3,"children":[]}]},{"title":"Communication Patterns","slug":"communication-patterns","depth":2,"children":[{"title":"Via Comments","slug":"via-comments","depth":3,"children":[]},{"title":"Via Labels","slug":"via-labels","depth":3,"children":[]}]},{"title":"Coordinating Across Repositories","slug":"coordinating-across-repositories","depth":2,"children":[]},{"title":"Best Practices","slug":"best-practices","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"beads","siteName":"Beads Documentation","title":"Agent Coordination - Beads Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-31T08:45:10.915Z","originalFileLocation":"multi-agent/coordination.md"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Assign and claim beads, hand off work, and serialize conflict-prone work with merge slots across multiple agents\">\u003cmeta data-mint-head name=\"application-name\" content=\"Beads Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/beads/cJ_miYdT2liAG70b/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/beads/cJ_miYdT2liAG70b/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/beads/cJ_miYdT2liAG70b/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/beads/cJ_miYdT2liAG70b/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/beads/cJ_miYdT2liAG70b/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/beads/cJ_miYdT2liAG70b/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/beads/cJ_miYdT2liAG70b/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/beads/cJ_miYdT2liAG70b/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/beads/cJ_miYdT2liAG70b/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Agent Coordination - Beads Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Assign and claim beads, hand off work, and serialize conflict-prone work with merge slots across multiple agents\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Beads Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://beads.gascity.com/multi-agent/coordination\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://beads.mintlify.site/_mintlify/api/og/v2?division=Multi-Agent\u0026amp;title=Agent+Coordination\u0026amp;description=Assign+and+claim+beads%2C+hand+off+work%2C+and+serialize+conflict-prone+work+with+merge+slots+across+multiple+agents\u0026amp;theme=6834af2a4bd690d76b0e1ab8\u0026amp;signature=04fb222935adcebad2992bba2a47c8b75d51be5a70d0a47b30d331049d06ed40\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Agent Coordination - Beads Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Assign and claim beads, hand off work, and serialize conflict-prone work with merge slots across multiple agents\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://beads.mintlify.site/_mintlify/api/og/v2?division=Multi-Agent\u0026amp;title=Agent+Coordination\u0026amp;description=Assign+and+claim+beads%2C+hand+off+work%2C+and+serialize+conflict-prone+work+with+merge+slots+across+multiple+agents\u0026amp;theme=6834af2a4bd690d76b0e1ab8\u0026amp;signature=04fb222935adcebad2992bba2a47c8b75d51be5a70d0a47b30d331049d06ed40\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/beads/cJ_miYdT2liAG70b/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Beads Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2e8555\">\u003clink data-mint-head rel=\"canonical\" href=\"https://beads.gascity.com/multi-agent/coordination\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/multi-agent/coordination.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://beads.gascity.com/#organization\",\"name\":\"Beads Documentation\",\"url\":\"https://beads.gascity.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/beads/YXx_fI6ZwwnOb98c/images/logo.svg?fit=max\u0026auto=format\u0026n=YXx_fI6ZwwnOb98c\u0026q=85\u0026s=30d41ea3e997e8f84bd1cb7ade9eaa07\"}},{\"@type\":\"WebSite\",\"@id\":\"https://beads.gascity.com#website\",\"name\":\"Beads Documentation\",\"url\":\"https://beads.gascity.com\",\"publisher\":{\"@id\":\"https://beads.gascity.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://beads.gascity.com/multi-agent/coordination#webpage\",\"url\":\"https://beads.gascity.com/multi-agent/coordination\",\"name\":\"Agent Coordination\",\"description\":\"Assign and claim beads, hand off work, and serialize conflict-prone work with merge slots across multiple agents\",\"dateModified\":\"2026-07-31T08:45:10.915Z\",\"isPartOf\":{\"@id\":\"https://beads.gascity.com#website\"},\"breadcrumb\":{\"@id\":\"https://beads.gascity.com/multi-agent/coordination#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://beads.gascity.com/multi-agent/coordination#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Multi-Agent\",\"item\":\"https://beads.gascity.com/multi-agent\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agent Coordination\",\"item\":\"https://beads.gascity.com/multi-agent/coordination\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://beads.gascity.com/multi-agent/coordination#article\",\"headline\":\"Agent Coordination\",\"name\":\"Agent Coordination\",\"description\":\"Assign and claim beads, hand off work, and serialize conflict-prone work with merge slots across multiple agents\",\"url\":\"https://beads.gascity.com/multi-agent/coordination\",\"mainEntityOfPage\":{\"@id\":\"https://beads.gascity.com/multi-agent/coordination#webpage\"},\"dateModified\":\"2026-07-31T08:45:10.915Z\",\"publisher\":{\"@id\":\"https://beads.gascity.com/#organization\"},\"isPartOf\":{\"@id\":\"https://beads.gascity.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Beads Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Beads Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/multi-agent/coordination.md","siteName":"Beads Documentation","nav":{"global":null,"groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/index"},{"title":"Installation","href":"/getting-started/installation"},{"title":"Quick Start","href":"/getting-started/quickstart"},{"title":"IDE Setup","href":"/getting-started/ide-setup"},{"title":"Sync Setup Guide","href":"/getting-started/sync-setup"},{"title":"Upgrading","href":"/getting-started/upgrading"}]},{"group":"Core Concepts","pages":[{"title":"How Beads Works","href":"/core-concepts/index"},{"title":"Issues \u0026 Dependencies","href":"/core-concepts/issues"},{"title":"Dependencies and Gates","href":"/core-concepts/dependencies"},{"title":"Hash-based IDs","href":"/core-concepts/hash-ids"},{"title":"Adaptive ID Length","href":"/core-concepts/adaptive-ids"},{"title":"Graph Links in Beads","href":"/core-concepts/graph-links"},{"title":"Sync Concepts","href":"/core-concepts/sync-concepts"},{"title":"Labels","href":"/core-concepts/labels"},{"title":"Issue Metadata","href":"/core-concepts/metadata"}]},{"group":"Architecture","pages":[{"title":"Architecture Overview","href":"/architecture/index"},{"title":"Dolt Backend for Beads","href":"/architecture/dolt"}]},{"group":"Workflows","pages":[{"title":"Workflows","href":"/workflows/index"},{"title":"Molecules","href":"/workflows/molecules"},{"title":"Formulas","href":"/workflows/formulas"},{"title":"Gates","href":"/workflows/gates"},{"title":"Wisps","href":"/workflows/wisps"},{"title":"TODO Command","href":"/workflows/todo"}]},{"group":"Recovery","pages":[{"title":"Recovery Overview","href":"/recovery/index"},{"title":"Accidental v1.2.1 Release","href":"/recovery/accidental-1-2-1-release"},{"title":"Recovery Playbooks","href":"/recovery/init-safety"},{"title":"Database Corruption","href":"/recovery/database-corruption"},{"title":"Schema-Encoding Drift","href":"/recovery/schema-encoding-drift"},{"title":"Merge Conflicts","href":"/recovery/merge-conflicts"},{"title":"Circular Dependencies","href":"/recovery/circular-dependencies"},{"title":"Sync Failures","href":"/recovery/sync-failures"},{"title":"History Bloat","href":"/recovery/history-squash"},{"title":"Un-migrate from Schema v65","href":"/recovery/unmigrate-schema-v65"},{"title":"Uninstalling","href":"/recovery/uninstalling"}]},{"group":"Multi-Agent","pages":[{"title":"Multi-Agent","href":"/multi-agent/index"},{"title":"Multi-Repo Routing","description":"How bd create decides which repository each new bead lands in, with role detection and multi-repo hydration","href":"/multi-agent/routing"},{"title":"Agent Coordination","href":"/multi-agent/coordination"},{"title":"Federation Setup Guide","description":"Configure peer-to-peer sync of beads databases across workspaces with Dolt remotes, sovereignty tiers, and topologies","href":"/multi-agent/federation"},{"title":"Bucket Federation Quickstart","href":"/multi-agent/bucket-federation"},{"title":"Multi-Repo Migration Guide","href":"/multi-agent/multi-repo-migration"}]},{"group":"Integrations","pages":[{"title":"Integrations","href":"/integrations/index"},{"title":"Aider","href":"/integrations/aider"},{"title":"Claude Code","href":"/integrations/claude-code"},{"title":"Beads Claude Code Plugin","href":"/integrations/claude-code-plugin"},{"title":"Codex","href":"/integrations/codex"},{"title":"Sourcegraph Cody","href":"/integrations/cody"},{"title":"Cursor","href":"/integrations/cursor"},{"title":"Factory.ai Droid","href":"/integrations/factory"},{"title":"Gemini CLI","href":"/integrations/gemini"},{"title":"Junie","href":"/integrations/junie"},{"title":"Kilo Code","href":"/integrations/kilocode"},{"title":"Kiro CLI","href":"/integrations/kiro"},{"title":"Mux","href":"/integrations/mux"},{"title":"OpenCode","href":"/integrations/opencode"},{"title":"Windsurf","href":"/integrations/windsurf"},{"title":"MCP Server","href":"/integrations/mcp-server"},{"title":"GitHub Copilot","href":"/integrations/github-copilot"},{"title":"GitHub Copilot CLI Integration Design","href":"/integrations/copilot-cli"},{"title":"Azure DevOps (ADO) Integration Configuration","href":"/integrations/azure-devops"}]},{"group":"Community","pages":[{"title":"Community Tools","href":"/community-tools"},{"title":"Related Projects","href":"/related-projects"}]},{"group":"Reference","pages":[{"title":"Reference","href":"/reference/index"},{"title":"Configuration","href":"/reference/configuration"},{"title":"Git Integration","href":"/reference/git-integration"},{"title":"Git Worktrees Guide","href":"/reference/worktrees"},{"title":"Protected Branches","href":"/reference/protected-branches"},{"title":"Advanced Features","href":"/reference/advanced"},{"title":"JSON Output Schema Contract","href":"/reference/json-schema"},{"title":"Events Journal","href":"/reference/events-journal"},{"title":"Observability (OpenTelemetry)","href":"/reference/observability"},{"title":"Troubleshooting","href":"/reference/troubleshooting"},{"title":"Antivirus False Positives","href":"/reference/antivirus"},{"title":"FAQ","href":"/reference/faq"},{"group":"CLI Reference","pages":[{"title":"CLI Reference","href":"/cli-reference/index"},{"title":"bd admin","href":"/cli-reference/admin"},{"title":"bd ado","href":"/cli-reference/ado"},{"title":"bd assign","href":"/cli-reference/assign"},{"title":"bd audit","href":"/cli-reference/audit"},{"title":"bd backup","href":"/cli-reference/backup"},{"title":"bd batch","href":"/cli-reference/batch"},{"title":"bd blocked","href":"/cli-reference/blocked"},{"title":"bd bootstrap","href":"/cli-reference/bootstrap"},{"title":"bd branch","href":"/cli-reference/branch"},{"title":"bd children","href":"/cli-reference/children"},{"title":"bd close","href":"/cli-reference/close"},{"title":"bd comment","href":"/cli-reference/comment"},{"title":"bd comments","href":"/cli-reference/comments"},{"title":"bd compact","href":"/cli-reference/compact"},{"title":"bd completion","href":"/cli-reference/completion"},{"title":"bd config","href":"/cli-reference/config"},{"title":"bd conflicts","href":"/cli-reference/conflicts"},{"title":"bd context","href":"/cli-reference/context"},{"title":"bd cook","href":"/cli-reference/cook"},{"title":"bd count","href":"/cli-reference/count"},{"title":"bd create-form","href":"/cli-reference/create-form"},{"title":"bd create","href":"/cli-reference/create"},{"title":"bd defer","href":"/cli-reference/defer"},{"title":"bd delete","href":"/cli-reference/delete"},{"title":"bd dep","href":"/cli-reference/dep"},{"title":"bd diff","href":"/cli-reference/diff"},{"title":"bd doctor","href":"/cli-reference/doctor"},{"title":"bd dolt","href":"/cli-reference/dolt"},{"title":"bd duplicate","href":"/cli-reference/duplicate"},{"title":"bd duplicates","href":"/cli-reference/duplicates"},{"title":"bd edit","href":"/cli-reference/edit"},{"title":"bd epic","href":"/cli-reference/epic"},{"title":"bd events","href":"/cli-reference/events"},{"title":"bd export","href":"/cli-reference/export"},{"title":"bd federation","href":"/cli-reference/federation"},{"title":"bd find-duplicates","href":"/cli-reference/find-duplicates"},{"title":"bd flatten","href":"/cli-reference/flatten"},{"title":"bd forget","href":"/cli-reference/forget"},{"title":"bd formula","href":"/cli-reference/formula"},{"title":"bd gate","href":"/cli-reference/gate"},{"title":"bd gc","href":"/cli-reference/gc"},{"title":"bd github","href":"/cli-reference/github"},{"title":"bd gitlab","href":"/cli-reference/gitlab"},{"title":"bd graph","href":"/cli-reference/graph"},{"title":"bd heartbeat","href":"/cli-reference/heartbeat"},{"title":"bd history","href":"/cli-reference/history"},{"title":"bd hooks","href":"/cli-reference/hooks"},{"title":"bd human","href":"/cli-reference/human"},{"title":"bd import","href":"/cli-reference/import"},{"title":"bd info","href":"/cli-reference/info"},{"title":"bd init-safety","href":"/cli-reference/init-safety"},{"title":"bd init","href":"/cli-reference/init"},{"title":"bd jira","href":"/cli-reference/jira"},{"title":"bd kv","href":"/cli-reference/kv"},{"title":"bd label","href":"/cli-reference/label"},{"title":"bd linear","href":"/cli-reference/linear"},{"title":"bd link","href":"/cli-reference/link"},{"title":"bd lint","href":"/cli-reference/lint"},{"title":"bd list","href":"/cli-reference/list"},{"title":"bd mail","href":"/cli-reference/mail"},{"title":"bd memories","href":"/cli-reference/memories"},{"title":"bd merge-slot","href":"/cli-reference/merge-slot"},{"title":"bd metrics","href":"/cli-reference/metrics"},{"title":"bd migrate-personal","href":"/cli-reference/migrate-personal"},{"title":"bd migrate","href":"/cli-reference/migrate"},{"title":"bd mol","href":"/cli-reference/mol"},{"title":"bd note","href":"/cli-reference/note"},{"title":"bd notion","href":"/cli-reference/notion"},{"title":"bd onboard","href":"/cli-reference/onboard"},{"title":"bd orphans","href":"/cli-reference/orphans"},{"title":"bd ping","href":"/cli-reference/ping"},{"title":"bd preflight","href":"/cli-reference/preflight"},{"title":"bd prime","href":"/cli-reference/prime"},{"title":"bd priority","href":"/cli-reference/priority"},{"title":"bd promote","href":"/cli-reference/promote"},{"title":"bd provenance","href":"/cli-reference/provenance"},{"title":"bd prune","href":"/cli-reference/prune"},{"title":"bd purge","href":"/cli-reference/purge"},{"title":"bd q","href":"/cli-reference/q"},{"title":"bd query","href":"/cli-reference/query"},{"title":"bd quickstart","href":"/cli-reference/quickstart"},{"title":"bd ready","href":"/cli-reference/ready"},{"title":"bd recall","href":"/cli-reference/recall"},{"title":"bd reclaim","href":"/cli-reference/reclaim"},{"title":"bd recompute-blocked","href":"/cli-reference/recompute-blocked"},{"title":"bd remember","href":"/cli-reference/remember"},{"title":"bd rename-prefix","href":"/cli-reference/rename-prefix"},{"title":"bd rename","href":"/cli-reference/rename"},{"title":"bd reopen","href":"/cli-reference/reopen"},{"title":"bd repo","href":"/cli-reference/repo"},{"title":"bd restore","href":"/cli-reference/restore"},{"title":"bd rules","href":"/cli-reference/rules"},{"title":"bd schema","href":"/cli-reference/schema"},{"title":"bd search","href":"/cli-reference/search"},{"title":"bd serve","href":"/cli-reference/serve"},{"title":"bd set-state","href":"/cli-reference/set-state"},{"title":"bd setup","href":"/cli-reference/setup"},{"title":"bd ship","href":"/cli-reference/ship"},{"title":"bd show","href":"/cli-reference/show"},{"title":"bd sql","href":"/cli-reference/sql"},{"title":"bd stale","href":"/cli-reference/stale"},{"title":"bd state","href":"/cli-reference/state"},{"title":"bd status","href":"/cli-reference/status"},{"title":"bd statuses","href":"/cli-reference/statuses"},{"title":"bd supersede","href":"/cli-reference/supersede"},{"title":"bd swarm","href":"/cli-reference/swarm"},{"title":"bd sync","href":"/cli-reference/sync"},{"title":"bd tag","href":"/cli-reference/tag"},{"title":"bd todo","href":"/cli-reference/todo"},{"title":"bd types","href":"/cli-reference/types"},{"title":"bd unclaim","href":"/cli-reference/unclaim"},{"title":"bd undefer","href":"/cli-reference/undefer"},{"title":"bd update","href":"/cli-reference/update"},{"title":"bd upgrade","href":"/cli-reference/upgrade"},{"title":"bd vc","href":"/cli-reference/vc"},{"title":"bd version","href":"/cli-reference/version"},{"title":"bd where","href":"/cli-reference/where"},{"title":"bd worktree","href":"/cli-reference/worktree"}]}]}]},"basePath":"","title":"Agent Coordination - Beads Documentation","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":[],"chunks":[]}