Set up native A2A agent collaboration in Hermes
When delegating work to an A2A-compliant peer, Hermes filters inbound peer text, blocks remote slash commands, redacts credential-shaped outbound strings, rate-limits callers, and records an audit trail at ~/.hermes/a2a_audit.jsonl.
Requirements
- The built-in A2A platform and toolset are required.
- Provide a reachable A2A-compliant peer or a second Hermes instance.
- Bearer or per-peer tokens are required for any exposure beyond localhost.
- A reverse proxy or Kubernetes Service with
a2ais optional.
How to use
Use A2A when work crosses a process, machine, or framework boundary; use native delegation or Kanban for workers inside one Hermes installation.
Without a token the server binds only to 127.0.0.1; remote exposure requires both authentication and an explicit host binding.
Without a token the server binds only to A2A_PUBLIC_URL; remote exposure requires authentication and an explicit host binding.
Per-context turn caps prevent two agents from exchanging messages indefinitely.
Set up the inbound platform.
Enable A2A through the guided gateway setup.
hermes gateway setup # choose A2A
Alternatively, configure the A2A platform and known peer in ~/.hermes/config.yaml using the supplied settings.
gateway:
platforms:
a2a:
enabled: true
extra:
port: 9900
a2a_agents:
researcher:
url: "${RESEARCHER_A2A_URL}"
auth: { type: bearer, token: "replace-me" }
timeout: 120
capabilities: [web_search, research]
Enable outbound A2A tools where needed, then start the gateway.
hermes tools enable a2a --platform cli
hermes tools enable a2a --platform a2a
hermes gateway run
Set RESEARCHER_A2A_URL to the peer's reachable A2A endpoint.
Use a prompt to delegate work to the configured peer.
The official example asks the researcher agent to summarize today's arXiv postings.
Ask the researcher agent to summarize today's arXiv postings.
Source: aliaihub/awesome-hermes-usecases and its contributors. License: CC-BY-4.0. Source license notice.
Translation and editorial adaptation by ClawCases.
>Resources
>Related Use Cases
AI-Powered Earnings Tracker
Stay on top of earnings season across dozens of tech companies without manually checking multiple sources and remembering report dates for every AI/tech earnings report.
AI Video Editing via Chat
Describe your edit to an agent to trim videos, add music, subtitles, or crops — no timeline or GUI. Install two skills, then editing is done by conversation.
Segment images zero-shot with the Segment Anything Model (SAM)
Use Meta AI's Segment Anything Model for zero-shot image segmentation, generating masks from point, box, or mask prompts without task-specific training.