Swarm Coordination Protocols and patterns for consistent, conflict-free multi-agent development. Follow these guidelines when working alongside other Claude Code agents in the same codebase. Core Principles 1. Beads as Source of Truth : All work items tracked via commands 2. File Locking : Hooks automatically manage file locks - respect them 3. Session Isolation : Each agent has a unique session ID for tracking 4. Clean Handoffs : Always leave state that another agent can continue File-Based Output Workers write results to , not direct context. Only durable artifacts (ADRs, plans, PRDs) go to…