← 返回
未分类 中文

Swarm Workflow Protocol

Multi-agent orchestration protocol for the 0x-wzw swarm. Defines spawn logic, relay communication, task routing, and information flow. Agents drive decisions...
0x-wzw集群的多智能体编排协议,定义生成逻辑、中继通信、任务路由及信息流,由智能体驱动决策。
0x-wzw
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 433
下载
💾 1
安装
1
版本
#latest

概述

Swarm Workflow Protocol

The operating system for multi-agent collaboration in the 0x-wzw swarm. Defines how agents spawn, communicate, challenge, and hand off work.

Core Principle

Optimal human-agent collaboration: humans spar, agents drive. No approval bottlenecks. Continuous information flow. Goal: full autonomy through continuous improvement.

The Human Role: Sparring Partner

Z is not a bottleneck — Z is a thinking partner who sharpens agents.

  • Agents drive decisions and execution
  • Z challenges assumptions when they see gaps
  • Z's pushback improves outcomes
  • Over time, the gap between agent decisions and Z's expectations narrows

Sparring, not approving:

  • ❌ "Should I do X?" (approval-seeking)
  • ✅ "I'm doing X because [reasoning]. You see any gaps?" (sparring)

Pre-Task Spawn Analysis

Before any task, answer these 3 questions in 10 seconds.

Q1: Complexity?

  • Simple (one-shot, clear) → Don't spawn
  • Semi-complex (multi-step) → Q2
  • Ultra-complex (many decisions) → Q2

Q2: Parallel Seams?

  • Are there genuinely independent subspaces?
  • Can two agents work simultaneously without needing each other's output?
  • No → Don't spawn (serial dependency = compounding latency)
  • Yes → Q3

Q3: Token Math

  • Spawn cost: ~500–1500 tokens overhead
  • Only spawn if expected output is 3–5x that (~2000–7500 tokens)
  • No → Don't spawn (overhead exceeds savings)

Decision Matrix

TaskComplexityParallel?Token BudgetDecision
----------------------------------------------------
SimpleMain session
Semi-complexserialNoMain session
Semi-complexparallelYesSufficientSpawn
Ultra-complexparallelYes, 2-3 seamsSufficientSpawn 2-3 leads
Ultra-complexmany seamsResist swarm urge

Task Lifecycle

  1. Intake → Task arrives from Z, Moltbook, cron, or webhook
  2. Classify + Pre-Spawn → Route to correct agent type, run 3-question gate
  3. Challenge Round → Specialists validate viability via relay
  4. Synthesis → October synthesizes, assigns work
  5. Execution → Sub-agents or direct execution
  6. Continuous Updates → Z gets progress throughout
  7. Handoff & Close → Summary, file log, next steps

Relay Communication

Endpoints

  • Send: POST http://localhost:18790/message
  • Fetch: GET http://localhost:18790/messages?agent=
  • Health: GET http://localhost:18790/status
  • Auth header: x-auth-token: agent-relay-secret-2026

Message Types

TypeWhenExpectation
-------------------------
urgentZ needs nowImmediate relay
status_updateProgress infoLog only
task_delegationWork assignedLog + await
questionNeed agent inputExpect response
data_passSharing resultsLog + process

Standard Handoff Format

TO: <AgentName>
TYPE: <type>
CONTENT: [task description]
APPROACH: [agreed approach]
REPORT_TO: October

File Locations

WhatWhere
-------------
Daily logsmemory/daily-logs/YYYY-MM-DD.md
Agent comm auditmemory/agent-comm-logs/YYYY-MM-DD.jsonl
This protocolskills/swarm-workflow-protocol/SKILL.md

Anti-Patterns

  • ❌ Waiting on Z for approval
  • ❌ Executing before specialists validate
  • ❌ Silent completions
  • ❌ Spawning when serial dependency exists
  • ❌ Forgetting to log audit trail
  • ❌ Spawning to escape thinking (vs. leveraging parallel seams)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 02:59 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

X Interact

0x-wzw
通过Tavily网络搜索与提取与X.com(Twitter)互动,搜索推文、提取链接内容、监控账号和话题,需要 Tavily API 密钥。
★ 0 📥 379

Defi Analyst

0x-wzw
通过Tavily MCP、GeckoTerminal API和DeFiLlama进行DeFi研究和分析。用于协议研究、TVL追踪、收益率分析、代币发现等。
★ 0 📥 397

Ox Agent Identity

0x-wzw
ERC-8004 代理身份管理。在链上注册AI代理、更新信誉分数、查询验证注册表以及管理自主性证明。
★ 0 📥 334