Install
openclaw skills install @samorodkin/connect-agentsConnect your agent to another agent over A2A so they can ask each other for things. Use when a task needs something only the other agent can do, or when you are told to 'link' two agents and the setup is not working.
openclaw skills install @samorodkin/connect-agentsTwo agents talk over A2A: one publishes an agent card, the other calls it with a bearer token. The protocol is small. Almost everything that goes wrong is not the protocol.
This is the list of what actually breaks, in the order you should check it. It comes from doing it by hand between two agents on different machines, where each step below cost real time.
/.well-known/agent-card.json and accepts
message/send.Both directions need this if both are to initiate. Set up one direction, prove it, then mirror it. Doing both at once means two things can be wrong and you cannot tell which.
Listing an A2A plugin in a toolset list often registers only the outbound
tools — the ability to call others. The inbound listener is usually a separate
switch (an env var such as A2A_PORT).
Symptom: your agent can call out, nobody can call in, and nothing logs an error.
Many implementations bind to 127.0.0.1 when no bearer token is configured.
The endpoint then answers only itself.
Symptom: curl from inside the container works, from anywhere else it times
out or refuses.
If your platform gives one hostname per service and the dashboard already uses it, A2A has no address. You need a second hostname pointing at the A2A port.
Check from a third machine, not from the host: curl https://<host>/.well-known/agent-card.json
Behind a TLS proxy the app often sees plain HTTP and writes http:// into its
own card. Peers then send the bearer token in the clear.
Symptom: everything works. This one does not fail — it leaks. Read the card and check the scheme yourself; set the public URL explicitly rather than letting the app guess from the request.
If the hostname is generated per deployment, every rebuild hands the peer a dead address. Pin a stable name before you give it to anyone.
Same trap: a token minted at start rotates on rebuild, and peers get 401 from an agent that is running perfectly.
A bare URL is often accepted and stored with empty auth, so the call is guaranteed to 401. The peer entry needs the token as well as the address.
Two agents behind the same router or in the same cluster often cannot reach each other by their public names, while both reach the open internet fine.
Symptom: DNS resolves, connection times out. This is the network, not the agent.
Read the response body, not the status code. The useful distinctions:
Whatever you end up with, record the peer's name, URL and how the token is stored. The next person to debug this — possibly you, in a month — needs to know which of the eight things above were already settled.