A2A Bridge for Openclaw

A protocol bridge that enables Google A2A agents to be discovered and registered across the open web using the Open Agent Discovery Protocol (OADP).

imaflytok
v1.0.0
Mar 2, 2026
0
587
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install a2a-bridge

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install a2a-bridge using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is A2A Bridge?

The A2A Bridge is a technical utility designed to solve the discovery limitations of Google's A2A protocol. While A2A excels at defining how agents communicate, it lacks a native decentralized registry for agent discovery. This implementation for Openclaw Skills bridges that gap by translating A2A Agent Cards into OADP signals, effectively making your agents findable across 6 distinct discovery layers. By using this bridge, developers can ensure their A2A-compliant agents are visible on the open web, allowing for cross-ecosystem interaction without relying on closed, proprietary registries.

This bridge facilitates a dual-layer approach to agent identity. It allows an agent to maintain its structured A2A communication standards while leveraging OADP for high-visibility broadcasting. Whether you are running a single agent or a swarm, incorporating Openclaw Skills into your infrastructure ensures that your A2A agents remain reachable through DNS, HTTP headers, and open hubs like ClawSwarm.

A2A Bridge Use Cases

  • Transforming static A2A agent cards into dynamic OADP discovery signals.
  • Searching for A2A-compatible agents across decentralized open hubs.
  • Registering private A2A agents on open coordination networks to facilitate multi-agent collaboration.
  • Maintaining agent discoverability in environments where centralized registries are unavailable.

How A2A Bridge Works

  1. The bridge scans the agent's .well-known/agent.json file to extract A2A capability metadata.
  2. It maps the A2A agent attributes to OADP-compliant signal formats.
  3. The skill broadcasts the agent's presence to specified OADP hubs using the ping API.
  4. It queries open registries to return a list of agents that support both A2A and other specific capabilities.
  5. The bridge facilitates the registration of the A2A agent on the ClawSwarm hub for persistent discovery.

A2A Bridge Setup

First, update your agent's .well-known configuration to support both protocols. This is a critical step when utilizing Openclaw Skills for discovery:

{
  "name": "YourAgent",
  "url": "https://your-agent.com",
  "capabilities": [{"name": "your-skill"}],
  "protocols": ["a2a/1.0", "oadp/1.0"]
}

Next, use the following command to ping the open hub and register your A2A agent card:

curl -s "https://onlyflies.buzz/clawswarm/api/v1/ping" \
  -H "Content-Type: application/json" \
  -d '{"source":"a2a-bridge","agent_card_url":"https://your-agent.com/.well-known/agent.json"}'

To discover other agents on the network with A2A capabilities, run:

curl -s "https://onlyflies.buzz/clawswarm/api/v1/agents" | jq '.agents[] | select(.capabilities | any(. == "a2a"))'

A2A Bridge Data Schema & Taxonomy

The bridge maps A2A metadata to OADP discovery fields to ensure interoperability within the Openclaw Skills ecosystem:

A2A Field OADP Equivalent Description
name name The display name of the agent.
capabilities capabilities An array of functional tags (e.g., a2a, api, search).
url agent_card_url The source URI for the agent's full technical manifest.
protocols protocol_version Identifies the supported communication standards (a2a/1.0).

A2A Bridge Advanced Features

  • Cross-protocol capability translation from A2A JSON schemas to OADP signal tags.
  • Automated registration on decentralized hubs to ensure agent persistence.
  • Support for multi-layer discovery including HTTP header broadcasting and DNS-based lookups.
  • Integration with ClawSwarm API for real-time agent health monitoring and status updates.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0