← 返回 Skills 市场
huaibuer

A2a

作者 HuaiBuer · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ✓ 安全检测通过
348
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install a2a-waai
功能描述
Agent Interconnect - Discover and invoke other AI Agents. Use when: need cross-platform collaboration, delegate tasks to specialized agents, or build multi-a...
使用说明 (SKILL.md)

🔗 A2A - Agent Interconnect / Agent 互联互通

Enable OpenClaw to collaborate with other AI Agents through standard protocol.

When to Use / 使用场景

EN CN
Need to call other AI agents 需要调用其他AI Agent
Build multi-agent system 构建多Agent系统
Delegate complex tasks 委托复杂任务给专业Agent
Cross-platform collaboration 跨平台协作

Design / 设计原则

EN CN
Concise: 6 fields only 简洁: 仅6字段
Elegant: Decorator registration 优雅: 装饰器注册
High-performance: Connection pool 高性能: 连接池复用

Message Types / 消息类型

Type EN CN Scenario
call Synchronous call 同步调用 Need result immediately
cast Notification 通知 No response needed
task Async task 异步任务 Time-consuming operations

Core API / 核心API

from a2a import Server, Client, Registry

# Server / 服务端
s = Server('my_agent')
@s.action('echo')
async def echo(p): return p

# Client / 客户端  
c = Client('caller')
r = await c.call('ws://host:8766', 'action', {})

# Registry / 注册中心
r = Registry()
r.reg(Agent('id','name','ws://ep',{'cap':'rw'}))
agents = r.find('cap')

Examples / 示例

# Discover agents that can draw
发现能画图的Agent

# Delegate task
Ask Coze to draw a panda / 让Coze帮我画一只熊猫

Installation / 安装

npx clawhub install a2a-waai

Author / 作者

  • WaaiOn
安全使用建议
This skill appears to do what it claims: it provides a small WebSocket-based client/server/registry for calling other agents and does not request secrets. Before installing: - Understand that it will open outbound WebSocket connections to endpoints you supply; do not point it at untrusted servers because messages could include sensitive data. - Ensure the Python 'websockets' package is available in the runtime environment (SKILL.md does not declare this dependency). Without it, the client will fail. - Note minor code issues (e.g., a likely typo/bug in Server.__init__) — the implementation is lightweight but not hardened. If you plan to use it in production, review/patch for input validation, errors, use secure wss:// endpoints, and add authentication/authorization between agents. - If you need guarantees about data handling or access controls, require those features (TLS, auth tokens, allowed endpoint list) before using this skill in sensitive contexts.
功能分析
Type: OpenClaw Skill Name: a2a-waai Version: 1.2.0 The a2a-waai skill bundle provides a legitimate framework for inter-agent communication using WebSockets. The Python implementation in a2a.py defines standard message structures and provides a Client/Server architecture for agent discovery and task delegation. No evidence of data exfiltration, malicious execution, or prompt injection was found; the network functionality is entirely consistent with the stated purpose of the skill.
能力评估
Purpose & Capability
Name/description (agent interconnect, discover/invoke agents) align with the code and SKILL.md. The code provides Registry, Server, and Client for calling agents over WebSockets, which is expected for this purpose. Requiring python3 only is reasonable.
Instruction Scope
SKILL.md only documents how to register actions, call agents, and discover capabilities. It does not ask the agent to read unrelated files or credentials. The runtime behavior (opening WebSocket connections and sending messages) is consistent with the described function.
Install Mechanism
No install spec (instruction-only) — low risk. However, the Python code imports the third-party 'websockets' package inside Client methods but the SKILL.md and manifest do not declare this dependency; runtime will fail unless 'websockets' is available. No external downloads or unusual installers are used.
Credentials
The skill requests no environment variables, credentials, or config paths. This is proportionate to a networked inter-agent library. There are no hidden env accesses in the code or SKILL.md.
Persistence & Privilege
always is false and the skill does not request special privileges or modify other skills. It does initiate outbound network connections (WebSockets), which is normal for inter-agent communication but increases operational exposure and should be controlled by policy.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install a2a-waai
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /a2a-waai 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.0
**Changelog for a2a-waai v1.2.0** - Expanded use case guidance in description and added "When to Use" section. - Clarified message types and design principles for better usability. - Improved formatting and example clarity; added code block formatting for usage examples. - Added installation instructions. - Added explicit author attribution section. - Minor refinements and clarifications throughout documentation.
v1.1.0
- Added full English translations and bilingual sections to documentation for broader accessibility. - Updated description and headers to provide both English and Chinese explanations. - Improved table formats to display EN/CN terms side by side. - Clarified and expanded documentation examples in both languages.
v1.0.0
Initial release of a2a-waai v1.0.0: - Enables discovery and interaction with other AI Agents. - Supports agent discovery, delegated tasks, and cross-platform collaboration. - Features a simple 6-field messaging structure for efficiency. - Server and client APIs provided for seamless integration. - Includes a registry for agent capability management and lookup.
元数据
Slug a2a-waai
版本 1.2.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

A2a 是什么?

Agent Interconnect - Discover and invoke other AI Agents. Use when: need cross-platform collaboration, delegate tasks to specialized agents, or build multi-a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 348 次。

如何安装 A2a?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install a2a-waai」即可一键安装,无需额外配置。

A2a 是免费的吗?

是的,A2a 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

A2a 支持哪些平台?

A2a 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 A2a?

由 HuaiBuer(@huaibuer)开发并维护,当前版本 v1.2.0。

💬 留言讨论