Skip to content
Back to skills

Agent Weave

ASecurity

Master-Worker Agent Cluster for parallel task execution. Use when building distributed agent systems with parallel processing needs, task orchestration, or MapReduce-style workflows.

  • 14 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
businessjavascriptjavabashapi

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 19 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill agent-weave --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Weave?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Weave
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-agent-weave/badge)](https://www.skillsdirectory.com/skills/modbender-agent-weave)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-weave
description: Master-Worker Agent Cluster for parallel task execution. Use when building distributed agent systems with parallel processing needs, task orchestration, or MapReduce-style workflows.
---

# 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

Files in this skill

  • AGENT_SYSTEM.md1.6 KB
  • CHANGELOG.md534 B
  • README.md467 B
  • RELEASE.md4.1 KB
  • SKILL.md2 KB
  • TEST_REPORT.md7 KB
  • agent-demo.js8.2 KB
  • agent-system-demo.js9.2 KB
  • agent-system.js10.7 KB
  • bin/weave-cli-safe.js1.4 KB
  • examples/task-demo.js1.9 KB
  • lib/index.js141 B
  • lib/loom-simple.js6 KB
  • lib/loom.js6.5 KB
  • lib/tapestry.js5.7 KB
  • lib/thread.js5.8 KB
  • package-lock.json14.2 KB
  • package.json763 B
  • tests/test.js2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…