Claude Skill
win4r/openclaw-a2a-gateway
OpenClaw A2A Gateway is a TypeScript plugin implementing the Agent-to-Agent (A2A) protocol v0.3.0 for bidirectional agent communication within the OpenClaw ecosystem.
Overview
Repository
Install this Skill
git clone https://github.com/win4r/openclaw-a2a-gateway.git a2a-gatewayRegistry
git clone https://github.com/win4r/openclaw-a2a-gateway.git a2a-gatewaynpm install --production
Summary
OpenClaw A2A Gateway is a plugin that implements the Agent-to-Agent (A2A) protocol v0.3.0, enabling bidirectional communication between intelligent agents within the OpenClaw ecosystem.
实现A2A(Agent-to-Agent)协议v0.3.0的OpenClaw插件——双向智能体通信网关
Key features
- Implements A2A protocol v0.3.0 for agent interoperability
- Bidirectional agent communication gateway
- Built as an OpenClaw plugin/extension
- Written in TypeScript for type safety
- Supports OpenClaw agent ecosystem integration
Use cases
- Connecting multiple OpenClaw agents for collaborative tasks
- Building multi-agent systems with standardized communication
- Enabling agent-to-agent data exchange and coordination
- Extending OpenClaw with interoperable agent networks
README excerpt
# 🦞 OpenClaw A2A Gateway Plugin [](LICENSE) [](https://github.com/google/A2A) []() []() [English](README.md) | [简体中文](README_CN.md) | [繁體中文](README_TW.md) | [日本語](README_JA.md) | [한국어](README_KO.md) | [Français](README_FR.md) | [Español](README_ES.md) | [Deutsch](README_DE.md) | [Italiano](README_IT.md) | [Русский](README_RU.md) | [Português (Brasil)](README_PT-BR.md) A production-ready [OpenClaw](https://github.com/openclaw/openclaw) plugin that implements the [A2A (Agent-to-Agent) v0.3.0 protocol](https://github.com/google/A2A), enabling OpenClaw agents to discover and communicate with each other across servers — with zero-config install and automatic peer discovery. **The only A2A gateway with adaptive, bio-inspired routing, discovery, and resilience — designed for multi-agent ecosystems at scale.** ## Key Features ### Transport & Protocol - **Three transports**: JSON-RPC, REST, and gRPC — with automatic fallback (tries JSON-RPC → REST → gRPC) - **SSE streaming** with heartbeat keep-alive for real-time task status - **Full Part type support**: TextPart, FilePart (URI + base64), DataPart (structured JSON) - **Auto URL extraction**: file URLs in agent text responses are promoted to outbound FileParts ### Intelligent Routing - **Rule-based routing**: auto-select peer by message pattern, tags, or peer skills - **Hill equation affinity scoring**: multi-dimensional routing with sigmoid scoring — skills, tags, pattern, and success rate weighted via `score = affinity^n / (Kd^n + affinity^n)` ([Hill, 1910](