How-To Series · 7: Power Tools

Hermes · A2A

The open Agent-to-Agent protocol. Call other agents as tools, and let other agents send tasks to Hermes.

After this videoYou can connect Hermes to other A2A agents in both directions, across machines and frameworks.

A2A is the open Agent-to-Agent protocol (v1.0, Linux Foundation) for communication between independent AI agents. The Hermes A2A plugin works both ways: your agent can call other A2A agents as tools, and other agents can send tasks to your Hermes over HTTP. Enable it with hermes gateway setup, then enable the a2a toolset per platform. Configure known peers in config.yaml under a2a_agents. With the platform enabled, Hermes serves an Agent Card and a JSON-RPC endpoint, and inbound tasks are injected into a live gateway session.

About these resources. Every command in this video comes from the A2A doc.

New words here · Plain English

one sentence each · full glossary
A2AThe open Agent-to-Agent protocol (v1.0, Linux Foundation) for communication between independent AI agents.
Agent CardA machine-readable description of an A2A agent, advertising its name, skills, and auth requirements.
JSON-RPCA lightweight remote procedure call protocol over HTTP that A2A agents use to send each other tasks.
PeerAnother A2A-compliant agent your Hermes can call, or that can call your Hermes.

Sources · What this video distills

1 docs page · every command below traces to it
Primary guide
A2A (Agent-to-Agent)
Read ↗

Commands shown · Copy and paste

each shows the source doc it came from
Enable the A2A platformfrom source ↗
hermes gateway setup
Enable the outbound toolsetfrom source ↗
hermes tools enable a2a --platform cli
Discover a peer's Agent Cardfrom source ↗
a2a_discover(url)
Send a task to a peerfrom source ↗
a2a_call(agent, message)
Fan a task out to every peerfrom source ↗
a2a_orchestrate(capability, message)

Going deeper · Related Hermes docs

further reading · not sources of facts shown above

Next in the series · Episodes that build on this