कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

agent-weave

gl813788-byte द्वारा

Productivity & Tasks
478clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Master-Worker Agent Cluster for parallel task execution.

विवरण

यह स्किल क्या करती है

agent-weave is a Node.js library for building master-worker agent clusters with parallel task execution. It provides a Loom factory, Master orchestrator, and Worker nodes that communicate through a secure parent-child channel. Supports MapReduce-style workflows via a built-in Tapestry engine.

Handles the boilerplate of inter-agent communication and worker lifecycle so you don't have to wire up message passing and task dispatch manually.

इसे कब इस्तेमाल करें

  • Splitting a large dataset across 10 parallel worker agents
  • Running concurrent web scraping jobs with a single coordinator
  • Distributing image processing tasks to dynamically scaled workers
  • Implementing a map-reduce pipeline for log aggregation
  • Orchestrating multi-step agent workflows with dependency ordering

उदाहरण वर्कफ़्लो

इनपुट

User asks: process an array of 1000 numbers in parallel using 5 workers

एजेंट
  1. 1

    Import Loom from agent-weave and instantiate it

  2. 2

    Call loom.createMaster('my-cluster') to create a master node

  3. 3

    Call loom.spawnWorkers(master.id, 5, handler) to create 5 workers with a processing function

  4. 4

    Call master.dispatch(dataArray) to distribute tasks across workers

  5. 5

    Collect and return the aggregated results array

आउटपुट

Array of 1000 processed results, each handled by one of the 5 parallel workers

इंस्टॉलेशन

clawhub install gl813788-byte/agent-weave

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक