Install
openclaw skills install agent-weaveMaster-Worker Agent Cluster for parallel task execution. Use when building distributed agent systems with parallel processing needs, task orchestration, or M...
openclaw skills install agent-weaveMaster-Worker Agent Cluster with parallel task execution and secure parent-child communication.
Use agent-weave when you need to:
npm install agent-weave
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);
# Create master
weave loom create-master --name my-cluster
# Spawn workers
weave loom spawn --parent <master-id> --count 5
# List agents
weave loom list --tree
Factory for creating and managing agents.
Manages a cluster of worker agents.
Executes tasks assigned by the master.
Secure communication layer between agents.
Task orchestration engine for MapReduce workflows.
MIT