agent-swarm-workflow
Jeffrey Emanuel's multi-agent implementation workflow using NTM, Agent Mail, Beads, and BV. The execution phase that follows planning and bead creation. Includes exact prompts used.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/clawdnw/agent-swarm-workflowWhat This Skill Does
The agent-swarm-workflow skill facilitates the execution phase of multi-agent development by coordinating distributed, fungible AI agents. It leverages Jeffrey Emanuel's swarm implementation, utilizing NTM (Named Tmux Manager) for session control, Agent Mail for inter-agent communication, and Beads for task tracking and dependency management. This skill bridges the gap between planning and implementation, enabling a robust, self-organizing developer swarm capable of executing complex engineering tasks in parallel.
Installation
To integrate this workflow into your OpenClaw setup, run the following command in your terminal:
clawhub install openclaw/skills/skills/clawdnw/agent-swarm-workflow
Ensure you have configured your AGENTS.md, initialized the Agent Mail server, and prepared your task beads before invoking the swarm.
Use Cases
- Large-Scale Refactoring: Deploy a swarm to handle massive codebase migrations where different modules can be refactored in parallel.
- Feature Implementation: Assign specialized task beads to different agents, allowing them to collaborate via Agent Mail to build interconnected components.
- System Architecture Debugging: Use multiple agents to trace complex code flows across disparate files simultaneously, sharing insights through the messaging layer.
Example Prompts
- "Initialize the swarm with 3 Claude Code agents and 2 Coding agents; propagate the initial marching orders for the current bead project."
- "Monitor Agent Mail and check the status of active Beads; reassign incomplete tasks to available agents if an idle state is detected."
- "Broadcast a high-priority system architecture update to all agents in the swarm via Agent Mail to ensure all current work aligns with the new structural guidelines."
Tips & Limitations
- Fungibility: Remember that agents are generalists. Do not rely on specific 'roles' to define quality; rely on the clarity of your Beads and the documentation in AGENTS.md.
- Performance: Monitor your system resources, as each NTM pane consumes compute. Start with smaller swarms to gauge your hardware capacity.
- Communication: Ensure the Agent Mail server is consistently reachable; otherwise, the swarm's self-organizing behavior will collapse.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-clawdnw-agent-swarm-workflow": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution