win4r/openclaw-a2a-gateway
OpenClaw plugin implementing the A2A (Agent-to-Agent) protocol v0.3.0 — bidirectional agent communication gateway
What it solves
This plugin allows different OpenClaw agents running on separate servers to discover, talk to, and share tasks with each other. It bridges the gap between isolated agent instances, enabling them to work together in a distributed ecosystem.
How it works
It implements the A2A (Agent-to-Agent) v0.3.0 protocol, acting as a gateway that handles communication via JSON-RPC, REST, or gRPC. It automatically discovers peers on your network using DNS-SD and mDNS. When sending messages, it uses intelligent, bio-inspired routing—calculating the best peer based on their specific skills, performance history, and message patterns. It also manages file transfers, security authentication, and task tracking across the network.
Who it’s for
Developers and power users running multiple OpenClaw instances who need to coordinate tasks between agents across different machines, LANs, or secure networks like Tailscale.
Highlights
- Multi-Protocol Support: Automatically switches between JSON-RPC, REST, and gRPC for reliable connectivity.
- Smart Routing: Uses affinity scoring to automatically route tasks to the most capable or available agent.
- Zero-Config Discovery: Automatically finds and connects to other agents on the local network.
- Resilient Design: Includes a four-state circuit breaker and adaptive polling to maintain stability under load.
- Secure Communication: Supports bearer token authentication, SSRF protection, and Ed25519 device identity.
- Task Management: Provides a durable on-disk store for tracking long-running tasks and asynchronous communication.
Related
- Project
- Project
- Project