본문으로 건너뛰기
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 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크