Agent Weave
/install agent-weave
Agent-Weave
Master-Worker Agent Cluster with parallel task execution and secure parent-child communication.
When to Use This Skill
Use agent-weave when you need to:
- Build distributed agent systems with parallel processing
- Orchestrate multiple agents working together
- Implement MapReduce-style workflows
- Scale task execution across worker agents
- Build master-worker architectures
Quick Start
Installation
npm install agent-weave
Basic Usage
const { Loom } = require('agent-weave');
// Create cluster
const loom = new Loom();
const master = loom.createMaster('my-cluster');
// Create workers
const workers = loom.spawnWorkers(master.id, 5, async (data) => {
// Process data
return { result: data * 2 };
});
// Execute tasks
const results = await master.dispatch([1, 2, 3, 4, 5]);
console.log(results);
CLI Commands
# Create master
weave loom create-master --name my-cluster
# Spawn workers
weave loom spawn --parent \x3Cmaster-id> --count 5
# List agents
weave loom list --tree
Features
- Master-Worker Architecture: Orchestrate multiple worker agents
- Parallel Execution: Distribute tasks across workers
- Secure Communication: Parent-child relationship enforcement
- MapReduce Support: Built-in map-reduce workflows
- Auto-scaling: Dynamic worker management
- Event-driven: EventEmitter-based communication
API Reference
Loom
Factory for creating and managing agents.
Master
Manages a cluster of worker agents.
Worker
Executes tasks assigned by the master.
Thread
Secure communication layer between agents.
Tapestry
Task orchestration engine for MapReduce workflows.
License
MIT
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install agent-weave - After installation, invoke the skill by name or use
/agent-weave - Provide required inputs per the skill's parameter spec and get structured output
What is Agent Weave?
Master-Worker Agent Cluster for parallel task execution. Use when building distributed agent systems with parallel processing needs, task orchestration, or M... It is an AI Agent Skill for Claude Code / OpenClaw, with 795 downloads so far.
How do I install Agent Weave?
Run "/install agent-weave" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Agent Weave free?
Yes, Agent Weave is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Agent Weave support?
Agent Weave is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Agent Weave?
It is built and maintained by gl813788-byte (@gl813788-byte); the current version is v1.0.0.