← 返回
未分类 中文

Agent Collab Protocol

Standardized agent collaboration protocol for multi-agent systems. Defines L0/L1/L2 hierarchy, task contracts, error handling, agent templates, and a new-age...
用于多智能体系统的标准化协作协议,定义L0/L1/L2层级、任务契约、错误处理、代理模板以及新一代...
congjianfei
未分类 clawhub v1.0.0 1 版本 99038.5 Key: 无需
★ 0
Stars
📥 103
下载
💾 0
安装
1
版本
#latest

概述

Agent Collaboration Protocol

A complete protocol layer for building structured, multi-agent systems.

Provides the rules, templates, and operational procedures to ensure agents work together consistently.

What's Included

ComponentDescription
------------------------
AGENT_COLLAB_PROTOCOL.mdCore protocol: L0/L1/L2 hierarchy, JSON task contracts, format, error handling, spawn vs send patterns
OPERATIONS.mdOperational guide: how to add/remove domains, file ownership matrix, protocol change propagation
NEW_AGENT_CHECKLIST.md8-step mandatory checklist for creating new sub-agents (no skip, no placeholder)
TEMPLATE_AGENTS.mdStandard AGENTS.md template with protocol implementation table
TEMPLATE_IDENTITY.mdIdentity card template (Agent ID, layer, upstream/downstream, model)
TEMPLATE_SOUL.mdValues and red lines template (core belief, values, anti-patterns)
TEMPLATE_USER.mdService object template (upstream, downstream consumers, service standards)
scaffold-domain.shShell script to auto-generate a new domain workspace from templates

Quick Start

Install from ClawHub

npx clawhub install agent-collab-protocol

Or use locally

# Protocol files are in: skill/agent-collab-protocol/references/
# Copy to your protocol directory:
cp -r skill/agent-collab-protocol/references/ ~/.openclaw/protocol/

Create a new business domain

cd ~/.openclaw/protocol
bash scaffold-domain.sh fintech 金融产品经理 "fintech-analyzer:金融分析师"

Architecture Overview

Layer 0 (Orchestrator)          Identify domain → dispatch to Manager → verify
    ↓ (natural language)
Layer 1 (Manager)               Understand → decompose → dispatch → aggregate
    ↓ (JSON Task Package)
Layer 2 (Specialist)            Execute → deliver via <agent-response>

Key Protocol Rules

  • L0 dispatches to L1 Managers via natural language
  • L1 decomposes tasks into JSON Task packages for L2 Specialists
  • L2 executes and returns blocks
  • Tasks that fail: retry 1 time → downgrade → report as partial/failed
  • 3-layer maximum depth (L0 → L1 → L2)

Usage

For Framework Authors

Reference AGENT_COLLAB_PROTOCOL.md to implement protocol compliance in your agent runtime.

For Agent Developers

  1. Copy the relevant TEMPLATE_*.md files
  2. Fill in your agent's business-specific content
  3. Register in your domain configuration
  4. Follow NEW_AGENT_CHECKLIST.md for new agents

For Team Leads

Use NEW_AGENT_CHECKLIST.md as a mandatory gating process — each team member must check off all 8 steps before a new agent is considered complete.

Files

agent-collab-protocol/
├── SKILL.md                       ← This file
├── _meta.json                     ← Package metadata
└── references/
    ├── AGENT_COLLAB_PROTOCOL.md   ← Core protocol (413 lines)
    ├── OPERATIONS.md              ← Operational guide
    ├── NEW_AGENT_CHECKLIST.md     ← Mandatory checklist (156 lines, 64 checks)
    ├── TEMPLATE_AGENTS.md         ← AGENTS.md template
    ├── TEMPLATE_IDENTITY.md       ← Identity card template
    ├── TEMPLATE_SOUL.md           ← Values & red lines template
    ├── TEMPLATE_USER.md           ← Service object template
    └── scaffold-domain.sh         ← Domain scaffolding script

Changelog

VersionDateChanges
------------------------
1.0.02026-06-04Initial public release

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-06-04 15:00 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,215 📥 266,591
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,511
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 712 📥 243,903