What problem does it solve?
Coordinated multi-agent decision-making is complex and error-prone when teams of autonomous agents must align on objectives, actions, and memory. This Skill provides a queen-led governance structure, consensus mechanisms, and a shared memory layer to streamline collaboration and maintain state across agents.
Core Features & Use Cases
- Queen-Led Coordination: A strategic queen directs high-level objectives while tactical executives handle execution.
- Worker Specialization: Distinct agent roles for research, coding, analysis, testing, architecture, and review.
- Collective Memory: Shared memory with LRU caching and persistent WAL-based storage to maintain context and learning across sessions.
- Consensus Mechanisms: Majority, weighted, and Byzantine options to ensure robust decisions in distributed settings.
- Use Cases: Complex project governance, multi-agent automation, and collaborative system design.
Quick Start
Use the hive mind CLI to initialize and spawn swarms for a coordinated task:
npx claude-flow hive-mind init
npx claude-flow hive-mind spawn "Coordinate distributed system design" --queen-type strategic --max-workers 8
npx claude-flow hive-mind status