Token导航 LogoToken导航

Agent Skill · 研究检索

parallel-agents(平行 Agent)

parallel-agents 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

parallel-agents 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为执行命令;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 3,114。

总安装 48,632周安装 2,089GitHub Stars 公开资料未说明下载 17,046核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
3.2.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:parallel-agents(平行 Agent)
来源仓库:https://github.com/jdalbright/parallel-agents
安装命令:
openclaw skills install parallel-agents
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install parallel-agents

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

产生真正的人工智能驱动的 OpenClaw 子会话,以同时运行多个专门代理来处理内容、开发、质量保证、文档和自主工作流程。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install parallel-agents;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

parallel-agents 怎么安装?

在终端执行 openclaw skills install parallel-agents。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

parallel-agents 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

parallel-agents 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 openclaw skills install parallel-agents 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

parallel-agents 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

parallel-agents 用的人多吗?

公开数据是累计安装 48,632 次,近一周安装 2,089 次,下载 17,046 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

parallel-agents 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
parallel-agents

平行 Agent · 本页

48,632—执行命令MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Parallel Agents Skill - REAL AI Edition

🚀 Execute tasks with ACTUAL AI-powered parallel agents using OpenClaw's sessions_spawn.

⚠️ HONEST STATUS: This skill has been rewritten to use REAL AI via sessions_spawn. Previously it simulated agents with templates. Now it ACTUALLY spawns AI sub-sessions.

🚨 CRITICAL USAGE NOTE

The orchestrator MUST be called from within an OpenClaw agent session, NOT as a standalone script.

Why? The tools module (which provides sessions_spawn) is only available in the agent's runtime context, not in subprocess/exec calls.

✅ CORRECT: Call sessions_spawn directly from agent code (see USAGE-GUIDE.md) ❌ INCORRECT: Run orchestrator as standalone Python script via exec/subprocess

📖 SEE: USAGE-GUIDE.md for tested working examples and patterns


🎯 Capabilities

This skill provides 4 levels of agent automation:

LevelFeatureWhat It Does
1Task Agents (16 types)Specialized agents for content, dev, QA, docs
2Meta Agents (4 types)Agents that create, review, refine, and orchestrate other agents
3Iterative RefinementAutomatic quality improvement loop (Creator → Reviewer → Refiner)
4Agent OrchestratorFully autonomous workflow management - just ask and it handles everything

Proven Capabilities:

  • ✅ 20 concurrent agents spawned simultaneously
  • ✅ Smart model hierarchy - Haiku → Kimi → Opus (cost optimization)
  • ✅ Auto-escalation - Agents automatically use better models if needed
  • ✅ 100% success rate on mass creation tests with hierarchy
  • ✅ 3/3 agents refined to 8.5+ quality in single iteration
  • ✅ 4-agent hierarchy for complete autonomy

What This Actually Does

This skill creates real AI sub-sessions using OpenClaw's sessions_spawn tool. Each "agent" is:

  • A spawned OpenClaw session (not a subprocess)
  • Running real AI (same model as the host)
  • Completely isolated from other agents
  • Able to use all the same tools as the host

Previous version: Subprocess workers with templates ❌ Current version: Real spawned AI sessions ✅


Requirements

  • Must be run inside an OpenClaw session (for sessions_spawn access)
  • OpenClaw gateway must be running
  • The sessions tool must be available in your environment

Quick Start

✅ Correct Usage: Direct sessions_spawn Calls

From within an OpenClaw agent (like Scout):

# Spawn multiple agents in parallel using sessions_spawn tool directly
from tools import sessions_spawn

# Agent 1: Research task
result1 = sessions_spawn(
    task="Research and provide: Top 3 gay-friendly bars in Savannah. Return as JSON.",
    runTimeoutSeconds=90,
    cleanup="delete"
)

# Agent 2: Different research task  
result2 = sessions_spawn(
    task="Research and provide: Best restaurants for birthday dinner. Return as JSON.",
    runTimeoutSeconds=90,
    cleanup="delete"
)

# Agent 3: Another parallel task
result3 = sessions_spawn(
    task="Research and provide: Top photo spots in Savannah. Return as JSON.",
    runTimeoutSeconds=90,
    cleanup="delete"
)

# All 3 agents now running in parallel!
# Check results with sessions_list() and sessions_history()

❌ Incorrect Usage: Standalone Script

# This WON'T work - tools module not available in subprocess
python3 ~/.openclaw/skills/parallel-agents/ai_orchestrator.py

Basic Usage

from ai_orchestrator import RealAIParallelOrchestrator, AgentTask

# Create orchestrator
orch = RealAIParallelOrchestrator(max_concurrent=5)

# Define tasks
tasks = [
    AgentTask(
        agent_type='content_writer_funny',
        task_description='Write a caption about gym life',
        input_data={'tone': 'motivational'}
    ),
    AgentTask(
        agent_type='content_writer_creative',
        task_description='Write a caption about gym life',
        input_data={'tone': 'inspirational'}
    ),
]

# Execute in parallel (ACTUALLY spawns AI sessions)
results = orch.run_parallel(tasks)

How It Works

┌─────────────────────────────────────────────────────────┐
│                    Main Session                         │
│              (Your OpenClaw Instance)                   │
│                      🧠 Host AI                         │
└─────────────────────┬───────────────────────────────────┘
                      │ sessions_spawn (REAL)
                      │
        ┌─────────────┼─────────────┬─────────────┐
        │             │             │             │
   ┌────▼────┐   ┌────▼────┐   ┌────▼────┐   ┌────▼────┐
   │ Agent 1 │   │ Agent 2 │   │ Agent 3 │   │ Agent N │
   │   📝    │   │   💻    │   │   🔍    │   │   🎨    │
   │ REAL AI │   │ REAL AI │   │ REAL AI │   │ REAL AI │
   │ Session │   │ Session │   │ Session │   │ Session │
   └─────────┘   └─────────┘   └─────────┘   └─────────┘

The sessions_spawn Integration

Each agent is spawned with:

from tools import sessions_spawn

result = sessions_spawn(
    task=agent_prompt,           # Full task description
    agent_id=f"agent_{type}_{id}",  # Unique identifier
    model="kimi-coding/k2p5",     # AI model
    runTimeoutSeconds=120,        # Max execution time
    cleanup="delete"              # Auto-cleanup
)

Available Agent Types

Content Writers

Agent TypePurposeSystem Prompt
content_writer_creativeImaginative, artisticRich metaphors, emotional resonance
content_writer_funnyHumorous, wittyJokes, wordplay, relatable humor
content_writer_educationalTeaching contentClear explanations, actionable takeaways
content_writer_trendyViral contentTrend-aware, culturally relevant
content_writer_controversialDebate-sparkingHot takes, respectful discourse

Development Agents

Agent TypePurposeOutput
frontend_developerReact/Vue/AngularComponent structure, state management
backend_developerFastAPI/Flask/DjangoAPI endpoints, auth, models
database_architectSchema designTables, indexes, migrations
api_designerREST/GraphQLOpenAPI specs, rate limits
devops_engineerCI/CDDocker, K8s, pipelines

QA Agents

Agent TypePurposeFocus
code_reviewerQuality reviewBest practices, maintainability
security_reviewerSecurity scanVulnerabilities, threats
performance_reviewerOptimizationBottlenecks, complexity
accessibility_reviewerWCAG complianceA11y, screen readers
test_engineerTest coverageUnit/integration tests

Documentation

Agent TypePurpose
documentation_writerREADMEs, API docs, guides

Personalized Agents (Jake's Suite) 🐾

Agents created specifically for Jake's needs via agent_orchestrator research:

Agent TypePurposeKey Features
travel_event_plannerTrip content coordinationSavannah/Atlanta/SD Pride planning, gear checklists, event schedules
donut_care_coordinatorPrincess Donut managementFeeding tracking, vet reminders, pet sitter coordination, daily updates
pup_community_engagerPup community managementBluesky/Twitter monitoring, DM triage, authentic pup voice engagement
print_project_manager3D printing workflowModel queue, filament tracking, vibecoding integration, print optimization
training_assistantAlmac work productivityTraining prep, onboarding, session checklists, material templates

Total Agent Types: 25

  • 5 Content Writers
  • 5 Development Agents
  • 5 QA Agents
  • 1 Documentation Agent
  • 5 Personalized Agents 🆕
  • 4 Meta Agents

Meta Agents 🔄 (Agent Creation System)

Agent TypePurposeWhat It Does
agent_creatorDesigns new AI agentsCreates complete agent definitions with prompts, schemas, examples
agent_design_reviewerValidates agent designsReviews quality, completeness, production readiness (scores 0-10)
agent_refinerImproves agent designsApplies fixes based on review feedback to reach target scores
agent_orchestratorMaster coordinatorPlans workflows, spawns agents, coordinates execution, compiles results

The 4-Agent Hierarchy:

Level 4: USER
    ↓ asks
Level 3: AGENT_ORCHESTRATOR
    ↓ plans, spawns, coordinates
Level 2: Meta Agents (creator, reviewer, refiner)
    ↓ designs, reviews, refines
Level 1: Task Agents (content writers, developers, QA)
    ↓ does work
Level 0: Actual Tasks

Total Agent Types: 20

  • 5 Content Writers
  • 5 Development Agents
  • 5 QA Agents
  • 1 Documentation Agent
  • 4 Meta Agents 🆕

Workflow 1: Simple Creation (2 agents)

from ai_orchestrator import (
    RealAIParallelOrchestrator,
    create_meta_agent_workflow
)

orch = RealAIParallelOrchestrator()

# Define agents to create
new_agents = [
    {'name': 'crypto_analyst', 'purpose': 'Analyze crypto trends'},
    {'name': 'content_strategist', 'purpose': 'Plan content calendars'}
]

# Creates: 2 creators + 2 reviewers (4 tasks)
tasks = create_meta_agent_workflow(new_agents)
results = orch.run_parallel(tasks)

Workflow 2: Iterative Refinement (3-agent loop)

# The full 3-agent refinement workflow:
# Creator → Reviewer (scores) → Refiner (fixes) → Reviewer (verifies)
# Repeats until score >= 8.5

agents_to_refine = [
    {'name': 'my_agent', 'current_score': 7.4, 'target': 8.5}
]

# This runs the full loop automatically
results = orch.run_iterative_refinement(agents_to_refine)
# Result: 7.4 → 8.5+ ✅

Workflow 3: Orchestrated Mass Creation (autonomous)

# Spawn the orchestrator to handle everything:
# - Plans workflow
# - Spawns all agents
# - Coordinates execution
# - Handles refinements
# - Compiles final report

result = sessions_spawn(
    task="Create 5 new agents and ensure all score 8.5+",
    agent_type='agent_orchestrator',
    timeout=600
)

# The orchestrator does everything autonomously!

This enables agent bootstrapping - the system creates and improves itself!


Data Structures

AgentTask

@dataclass
class AgentTask:
    agent_type: str           # Type from registry (required)
    task_description: str     # What to do (required)
    input_data: Dict          # Input parameters (optional)
    task_id: str             # Unique ID (auto-generated)
    timeout_seconds: int     # Max time (default: 120)
    output_format: str       # json|markdown|code|text

AgentResult

@dataclass
class AgentResult:
    task_id: str             # Matches AgentTask
    agent_type: str          # Agent that produced this
    status: str              # pending|running|completed|failed
    output: Any              # Generated content (agent-dependent format)
    execution_time: float    # Time taken
    error: str              # Error message if failed
    session_key: str        # Spawned session identifier

Examples

Example 1: Generate Multiple Content Styles

from ai_orchestrator import RealAIParallelOrchestrator, create_content_team

orch = RealAIParallelOrchestrator(max_concurrent=5)
tasks = create_content_team("Monday motivation", platform="bluesky")

# This spawns 5 REAL AI agents
results = orch.run_parallel(tasks)

print("Agents spawned! Each is generating content...")
print("Check sessions_list() to see running agents")

Example 2: Full-Stack Development Team

from ai_orchestrator import RealAIParallelOrchestrator, create_dev_team

orch = RealAIParallelOrchestrator(max_concurrent=5)
tasks = create_dev_team("TaskManager", ['auth', 'tasks', 'teams'])

# Spawns 5 dev agents in parallel
results = orch.run_parallel(tasks)

# Each agent designs their layer independently
# - Frontend agent designs React components
# - Backend agent designs FastAPI routes
# - Database agent designs schema
# - etc.

Example 3: Code Review Team

from ai_orchestrator import RealAIParallelOrchestrator, create_review_team

code = open('app.py').read()

orch = RealAIParallelOrchestrator(max_concurrent=5)
tasks = create_review_team(code)

# Spawns 5 reviewers simultaneously
results = orch.run_parallel(tasks)

# Each reviews from different angle:
# - Code quality
# - Security
# - Performance
# - Accessibility
# - Test coverage

Example 4: Meta-Agent System (Agents Creating Agents) 🔄

from ai_orchestrator import (
    RealAIParallelOrchestrator,
    create_meta_agent_workflow
)

orch = RealAIParallelOrchestrator(max_concurrent=6)

# Define new agents to create
new_agents = [
    {
        'name': 'social_media_analyst',
        'purpose': 'Analyze social media performance',
        'domain': 'social media analytics',
        'capabilities': ['engagement analysis', 'trend identification']
    },
    {
        'name': 'bug_hunter',
        'purpose': 'Find bugs in code',
        'domain': 'software QA',
        'capabilities': ['static analysis', 'edge case detection']
    },
    {
        'name': 'api_documenter',
        'purpose': 'Generate API docs',
        'domain': 'technical writing',
        'capabilities': ['endpoint extraction', 'example generation']
    }
]

# Creates 6 tasks: 3 creators + 3 reviewers
tasks = create_meta_agent_workflow(new_agents)
results = orch.run_parallel(tasks)

# Result: 3 complete agent definitions + 3 quality reviews
# All created entirely by AI in parallel!

This is agent bootstrapping - the system creates itself!

Example 5: Mass Agent Creation (10+ Agents at Once) 🔥

Proven Capability: The system has been tested with 20 concurrent agents (10 creators + 10 reviewers) all spawned simultaneously.

from ai_orchestrator import RealAIParallelOrchestrator, AgentTask

orch = RealAIParallelOrchestrator(max_concurrent=10)

# Define 10 new agents to create
new_agents = [
    {'name': 'engagement_optimizer', 'purpose': 'Analyze social media posts', 
     'domain': 'social media', 'capabilities': ['analytics', 'optimization']},
    {'name': 'workout_designer', 'purpose': 'Create gym/home workouts',
     'domain': 'fitness', 'capabilities': ['program design', 'adaptation']},
    {'name': 'email_drafter', 'purpose': 'Write professional/personal emails',
     'domain': 'communication', 'capabilities': ['tone adaptation', 'drafting']},
    # ... more agents
]

# Create all 10 agents + 10 reviewers = 20 parallel agents!
all_tasks = []
for agent in new_agents:
    # Add creator
    all_tasks.append(AgentTask(
        agent_type='agent_creator',
        task_description=f"Design agent: {agent['name']}",
        input_data=agent,
        timeout_seconds=180
    ))
    # Add reviewer
    all_tasks.append(AgentTask(
        agent_type='agent_design_reviewer',
        task_description=f"Review {agent['name']}",
        input_data={'agent_name': agent['name']},
        timeout_seconds=120
    ))

# SPAWN 20 AGENTS SIMULTANEOUSLY
results = orch.run_parallel(all_tasks)

Real-World Results (2026-02-08 Test):

  • ✅ 10 Agent Creators spawned successfully
  • ✅ 10 Design Reviewers spawned successfully
  • ✅ All 20 completed without errors
  • ✅ Average quality score: 8.1/10
  • ✅ Production-ready agent definitions created

Practical Limit: ~20-50 concurrent agents (depends on system resources)

See: examples/mass_agent_creation.py for full implementation.


Collecting Results

Agents return their output in their session transcript. To collect:

# After spawning, poll for results
from tools import sessions_list, sessions_history

# Check which agents have completed
sessions = sessions_list(agent_id_pattern="agent_*")

for session in sessions:
    if session['status'] == 'completed':
        history = sessions_history(session['sessionKey'])
        # Parse JSON from final assistant message
        output = json.loads(history[-1]['content'])

Note: Full result collection is implemented in the orchestrator. Results are available via results attribute after spawning.


Architecture Notes

Why sessions_spawn?

Previous implementations tried:

  1. Threading - Limited by Python GIL, not truly parallel
  2. Multiprocessing - macOS spawn issues, complex IPC
  3. Subprocess workers - Templates, not real AI

sessions_spawn is the solution:

  • True isolation (separate sessions)
  • Full AI capabilities (same model)
  • Built into OpenClaw
  • Automatic cleanup

Limitations

  1. OpenClaw dependency - Must run inside OpenClaw session
  2. Result collection - Requires polling sessions_list
  3. Cost - Each spawn = separate API call (but same model/credentials)
  4. Timeout - Agents limited to 120 seconds by default

File Structure

~/.openclaw/skills/parallel-agents/
├── README.md                          # Quick start guide
├── SKILL.md                           # Complete documentation
├── USAGE-GUIDE.md                     # Practical examples and patterns
├── ai_orchestrator.py                 # Core orchestrator code
├── helpers.py                         # Auto-retry helper functions
└── examples/                          # Working examples
    ├── README.md                      # Examples documentation
    └── simple_parallel_research.py    # Simple example

Version History

  • 3.2.0 (2026-02-08): SMART MODEL HIERARCHY

- ✅ Added intelligent model escalation (Haiku → Kimi → Opus) - ✅ Cost optimization: Try cheapest model first, escalate if needed - ✅ Updated helpers.py with spawn_with_model_hierarchy() - ✅ Auto-escalation in spawn_with_retry() and spawn_parallel_with_retry() - ✅ Comprehensive docs on model selection and cost savings - ✅ Tested: Haiku completes simple tasks successfully

  • 3.1.0 (2026-02-08): PRODUCTION READY

- ✅ Added auto-retry helpers (spawn_with_retry, spawn_parallel_with_retry) - ✅ Cleaned up development artifacts (removed 18 outdated files) - ✅ Added comprehensive documentation (README, USAGE-GUIDE) - ✅ Simplified examples (one clear working example) - ✅ Tested in production (Savannah trip research) - ✅ Published to ClawHub

  • 3.0.0 (2026-02-08): NUCLEAR OPTION - REAL AI AGENTS

- Complete rewrite to use sessions_spawn - Each agent is a real spawned AI session - No more simulation or templates - Requires OpenClaw environment


Troubleshooting

"sessions_spawn not available"

Cause: Not running inside OpenClaw session Fix: Run your script inside OpenClaw

"No module named 'tools'"

Cause: Outside OpenClaw environment Fix: The sessions tool is only available inside OpenClaw

Agents fail immediately

Cause: OpenClaw gateway not running Fix: Start gateway: openclaw gateway start


This Actually Spawns Real AI Now

No more simulation. No more templates. When you run this inside OpenClaw:

  1. Real sessions_spawn calls happen
  2. Real AI sub-sessions are created
  3. Real reasoning occurs in each agent
  4. Real JSON output is generated

The agents don't just execute code — they think, create, and analyze independently using genuine AI cognition.

Welcome to actual parallel AI. 🚀


*Built for OpenClaw using real sessions_spawn technology.* *Part of the OpenClaw skill ecosystem.* *Honest Edition: No simulation, just real AI.*

平台分布

OpenClaw

82.85%
按下载量换算14,123

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install parallel-agents 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills