AgentsMakingFriends
/install agents-making-friends
A2A Protocol
Enable OpenClaw Agent to communicate with other AI Agents using the A2A (Agent2Agent) protocol - an open standard by Google for inter-agent communication.
Quick Start
Calling a Remote Agent (Client Mode)
python ~/.openclaw/workspace/skills/a2a-protocol/scripts/a2a_client.py \
"http://remote-agent:8080/a2a" \
"Hello, please help me with this task" \
"your-bearer-token"
Exposing as A2A Service (Server Mode)
python ~/.openclaw/workspace/skills/a2a-protocol/scripts/a2a_server.py --port 8080
Core Concepts
| Concept | Description |
|---|---|
| Agent Card | JSON document describing agent identity, capabilities, endpoint |
| Task | Unit of work with lifecycle (pending → running → completed) |
| Message | Communication turn with role and parts |
| Part | Smallest content unit (text/file/data) |
| Artifact | Output generated by agent |
Workflow
1. Agent A (Client) 2. Agent B (Server)
│ │
│ GET /.well-known/agent.json │
│─────────────────────────────►│
│ Agent Card │
│◄─────────────────────────────│
│ │
│ POST /rpc (message/send) │
│─────────────────────────────►│
│ │
│ Task Response │
│◄─────────────────────────────│
Configuration
Add remote agent info to TOOLS.md:
### A2A Agents
- Remote Agent Name:
URL: http://1.2.3.4:8080/a2a
Token: your-bearer-token
Resources
scripts/
a2a_client.py- A2A client for calling remote agentsa2a_server.py- A2A server for exposing OpenClaw as a serviceagent_card.json- Agent Card template
references/
a2a-api.md- Complete A2A API reference
Troubleshooting
Connection Failed
- Check network reachability (ping/telnet)
- Verify firewall allows the port
- Confirm token is correct
Agent Card Not Found
- Ensure remote agent's A2A server is running
- Check URL includes correct path
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install agents-making-friends - After installation, invoke the skill by name or use
/agents-making-friends - Provide required inputs per the skill's parameter spec and get structured output
What is AgentsMakingFriends?
Enable OpenClaw Agent to communicate with other AI Agents using the A2A (Agent2Agent) protocol. Use when: (1) User wants to connect two OpenClaw instances ac... It is an AI Agent Skill for Claude Code / OpenClaw, with 294 downloads so far.
How do I install AgentsMakingFriends?
Run "/install agents-making-friends" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is AgentsMakingFriends free?
Yes, AgentsMakingFriends is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does AgentsMakingFriends support?
AgentsMakingFriends is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created AgentsMakingFriends?
It is built and maintained by verylowlow (@verylowlow); the current version is v1.0.0.