Overview
- Skill Key
- gl813788-byte/agent-weave
- Author
- gl813788-byte
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/gl813788-byte/agent-weave
- Latest Commit SHA
- 88210acd12781e230980585bdc0ac77a9e8434c9
Master-Worker Agent Cluster for parallel task execution. Use when building distributed agent systems with parallel processing needs, task orchestration, or MapReduce-style workflows.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 agent-weave 技能。 若已安装,则直接安装 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
```bash
npm install agent-weave
```
### Basic Usage
```javascript
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
```bash
# 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
```
## 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
# Agent-Weave
Master-Worker Agent Cluster with parallel task execution.
## Quick Start
```bash
npm install -g agent-weave
```
```javascript
const { Loom } = require('agent-weave');
const loom = new Loom();
const master = loom.createMaster('cluster');
const workers = loom.spawnWorkers(master.id, 5, taskFn);
```
## CLI
```bash
weave loom create-master --name my-cluster
weave loom spawn --parent <id> --count 5
```
## License
MIT
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.