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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install agent-weave - 安装完成后,直接呼叫该 Skill 的名称或使用
/agent-weave触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Agent Weave 是什么?
Master-Worker Agent Cluster for parallel task execution. Use when building distributed agent systems with parallel processing needs, task orchestration, or M... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 795 次。
如何安装 Agent Weave?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-weave」即可一键安装,无需额外配置。
Agent Weave 是免费的吗?
是的,Agent Weave 完全免费(开源免费),可自由下载、安装和使用。
Agent Weave 支持哪些平台?
Agent Weave 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Agent Weave?
由 gl813788-byte(@gl813788-byte)开发并维护,当前版本 v1.0.0。