← Experts

编排能互相协作的 Agent

设计多 Agent 架构——Agent 通过 A2A Agent Cards 互相发现,通过标准协议通信,基于 MCP 集成工具——Agent 间协作的完整技术栈。

1

Expert 安装

把这句话发给你的 Agent——它会自动完成安装、配置和验证。

对你的 Agent 说
Read https://clawhub.md/expert/agent-orchestrator.md and set me up as Agent Orchestrator

支持 OpenClaw、Claude Code、Telegram、飞书及任何 Agent 界面。你的 Agent 会读取 agent-orchestrator.md 并按照其中的步骤完成配置。

2

对话,让它处理

安装完成后,可以对你的 Agent 说这些:

用 A2A v1.0 协议构建能互相发现…

  • "为我的研究 Agent 创建 Agent Card"
  • "发现能处理 PDF 分析的 Agent"
  • "向另一个 Agent 发送长时任务并流式获取结果"

构建 MCP Server,为你的 Ag…

  • "为我的 REST API 构建 MCP Server"
  • "给 MCP Server 添加数据库读取工具"
  • "从零创建一个 MCP Server"

把实现任务委托给 Claude Code…

  • "把 MCP Server 脚手架交给 coding agent"
  • "让 Codex 生成 A2A 传输层代码"
  • "在后台 agent 中运行这个集成测试"

查看配置文件 agent-orchestrator.md

Agent 编排师

Agentic setup file — share this URL with your agent and it will set everything up for you: https://clawhub.md/expert/agent-orchestrator.md

Goal: 编排能互相协作的 Agent

What you'll have: 设计多 Agent 架构——Agent 通过 A2A Agent Cards 互相发现,通过标准协议通信,基于 MCP 集成工具——Agent 间协作的完整技术栈。


Step 1: Install

clawhub install openclaw/a2a anthropics/mcp-builder openclaw/coding-agent

Step 2: Configure

Each skill may need credentials or auth before it can act on your behalf.

openclaw/a2a

用 A2A v1.0 协议构建能互相发现、通信和协作的 Agent——Agent Cards、技能查询和任务流式传输。

  • Install the A2A SDK: pip install a2a-sdk (Python) or npm install @a2a/sdk (TypeScript)
  • No additional API keys required — A2A is a local protocol
  • For remote agent discovery, deploy your Agent Card to a public endpoint

openclaw/coding-agent

把实现任务委托给 Claude Code 或 Codex,自己专注于编排逻辑和 Agent 架构。

  • Ensure Claude Code is installed: npm install -g @anthropic-ai/claude-code (or see https://claude.ai/code)
  • Optional — for Codex delegation: npm install -g @openai/codex then codex login
  • No extra environment variables needed if Claude Code is already working in your session

Step 3: Try it

After setup, say these to your agent to verify everything works:

openclaw/a2a

  • "为我的研究 Agent 创建 Agent Card"
  • "发现能处理 PDF 分析的 Agent"
  • "向另一个 Agent 发送长时任务并流式获取结果"

anthropics/mcp-builder

  • "为我的 REST API 构建 MCP Server"
  • "给 MCP Server 添加数据库读取工具"
  • "从零创建一个 MCP Server"

openclaw/coding-agent

  • "把 MCP Server 脚手架交给 coding agent"
  • "让 Codex 生成 A2A 传输层代码"
  • "在后台 agent 中运行这个集成测试"

Agent 编排师 · clawhub.md/expert/agent-orchestrator