Hermes A2A Bridge - Setup Guide¶
Status: archived upstream, superseded by built-in A2A (verified 2026-11-13).
asimons81/hermes-a2a-bridgeis read-only on GitHub, last pushed 2026-08-16, and its README opens with a retirement notice pointing at native A2A in Hermes Agent. Start with Native A2A in Hermes Agent below. The rest of this page stays as the working record for bridges already installed.
Overview¶
The Hermes A2A Bridge gives Hermes Agent the ability to communicate with other AI agents using the Agent-to-Agent (A2A) Protocol. While MCP lets agents use tools, A2A lets agents call other agents. This bridge is a local-first implementation of the A2A HTTP+JSON subset. It was retired once A2A landed in Hermes Agent itself.
Key Facts:
- Status: archived upstream (read-only), no fixes or support
- Bridge version: v0.5.0
- Protocol: A2A HTTP+JSON, protocol version 1.0 observed on supportedInterfaces; not full conformance
- Python: 3.11+
- Transport: Local HTTP server (default: 127.0.0.1:8765)
- Auth: Bearer token for task endpoints
- Storage: SQLite3 task database
Native A2A in Hermes Agent (recommended)¶
A2A ships in Hermes Agent as a gateway platform plus the a2a toolset, so the standalone bridge is no longer needed. The official documentation is at hermes-agent.nousresearch.com/docs/user-guide/messaging/a2a. Verified against that page on 2026-11-13:
- Protocol: A2A v1.0, stewarded by the Linux Foundation. Interoperates with the official
a2a-sdk, LangChain, CrewAI and Google ADK peers. - Inbound: enable A2A as a gateway platform with
hermes gateway setup, or in~/.hermes/config.yamlsetgateway.platforms.a2a.enabled: truewithgateway.platforms.a2a.extra.port(the documented example uses port 9900). - Outbound: the
a2atoolset, off by default. Turn it on per platform:hermes tools enable a2a --platform cli, or--platform telegram, or--platform a2ato let inbound tasks call peers. - Tools:
a2a_discover,a2a_call,a2a_list,a2a_history,a2a_orchestrate. - Inbound surface: Agent Card at
GET /.well-known/agent-card.json, JSON-RPC 2.0 atPOST /, SSE streaming forSendStreamingMessage, HMAC-SHA256 signed push notifications. - Peers: declared under
a2a_agentsinconfig.yaml, each withurl, optionalauth,timeoutandcapabilities.
Current Hermes releases ship this without a pip install or a plugin enable step. Check your own build with hermes tools list before assuming the a2a toolset exists.
Prerequisites¶
- Python 3.11 or newer
- Hermes Agent v0.20.0+
- Git
Installation¶
The steps below install the archived bridge. They were last confirmed against the repository as it stood before 2026-08-16. For new setups use native A2A instead.
1. Clone and Install¶
git clone https://github.com/asimons81/hermes-a2a-bridge.git
cd hermes-a2a-bridge
python -m pip install -e .
2. Enable the Plugin¶
hermes plugins enable a2a-bridge
Note: If
hermes plugins listdoesn't show the plugin due to a host-side UI gap in v0.20.0, manually adda2a-bridgetoplugins.enabledin~/.hermes/config.yaml:
plugins:
enabled:
- a2a-bridge
3. Initialize¶
hermes a2a init
This creates:
- ~/.hermes/a2a/config.yaml - bridge configuration
- ~/.hermes/a2a/tasks.sqlite3 - task persistence
4. Start the Server¶
hermes a2a serve
Configuration¶
Default config at ~/.hermes/a2a/config.yaml:
server:
host: 127.0.0.1
port: 8765
public_url: http://127.0.0.1:8765
executor:
command: hermes chat -q {prompt}
auth:
bearer_token: auto-generated
Key Settings¶
| Setting | Default | Description |
|---|---|---|
server.host |
127.0.0.1 |
Bind address (use 0.0.0.0 for network access) |
server.port |
8765 |
HTTP server port |
server.public_url |
http://127.0.0.1:8765 |
Public-facing URL for agent card |
executor.command |
hermes chat -q {prompt} |
Hermes invocation command |
auth.bearer_token |
auto-generated | Token for task endpoint auth |
Usage¶
Verify Agent Card¶
hermes a2a card --json
curl http://127.0.0.1:8765/.well-known/agent-card.json
Send a Task to Another Agent¶
# From another A2A-compatible agent:
curl -X POST http://127.0.0.1:8765/tasks \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Analyze the Q2 growth metrics and suggest 3 optimizations",
"context": {"company": "CorpusIQ", "domain": "growth"}
}'
Discover Remote Agents¶
hermes a2a discover
hermes a2a agents
Capabilities¶
- Agent Card: Self-describing metadata endpoint (
.well-known/agent-card.json) - Task Submission: HTTP POST tasks with text + structured JSON data parts
- Task Polling: Check task status and retrieve results
- Bearer Auth: Token-protected task endpoints
- SQLite Persistence: Tasks survive restarts
- File ID References: Gated file references for secure data sharing
- Multi-Agent Discovery: Find and catalog other A2A agents on the network
Use Cases for CorpusIQ¶
1. Multi-Agent Growth Pipeline¶
Run specialized agents in parallel - one for social monitoring, one for lead research, one for content - coordinated via A2A:
hermes a2a serve &
hermes a2a discover
hermes a2a task --agent social-agent "Monitor Reddit for SaaS growth discussions"
hermes a2a task --agent research-agent "Research lead from @acmecorp"
2. Cross-Team Agent Collaboration¶
Enable the CorpusIQ growth agent to delegate specialized tasks to other Hermes instances:
Growth Agent → A2A → Content Agent (drafts posts)
Growth Agent → A2A → Research Agent (competitor analysis)
Growth Agent → A2A → Data Agent (pipeline metrics)
3. Distributed Agent Architecture¶
Deploy agents on separate machines (Mac Mini, cloud VM, Raspberry Pi) and coordinate via A2A:
# On cloud VM: research agent
server:
host: 0.0.0.0
port: 8765
public_url: https://research.corpusiq.io
# On Mac Mini: growth agent discovers and tasks cloud agent
hermes a2a discover --network
hermes a2a task --agent research.corpusiq.io "..."
Troubleshooting¶
| Issue | Solution |
|---|---|
Plugin not visible in hermes plugins list |
Manually add to config.yaml (see Installation step 2) |
No Hermes executor command configured |
Set executor.command in ~/.hermes/a2a/config.yaml |
| Connection refused | Ensure server is running: hermes a2a serve |
| Auth errors on task endpoints | Check bearer token in ~/.hermes/a2a/config.yaml |
| Port already in use | Change server.port in config |
Verification¶
# 1. Check plugin is loaded
hermes plugins list | grep a2a
# 2. Verify initialization
ls ~/.hermes/a2a/config.yaml ~/.hermes/a2a/tasks.sqlite3
# 3. Start and test
hermes a2a serve &
sleep 2
curl http://127.0.0.1:8765/.well-known/agent-card.json | python3 -m json.tool
# 4. Check agent card
hermes a2a card --json
Integration with CorpusIQ¶
CorpusIQ is the connector layer that lets AI assistants read the systems a business already runs on - accounting, payments, CRM, email, files and analytics - and answer with the source named. It is read-only by design: it retrieves data and never writes to, or acts in, a connected system, which is what makes it safe to point at live accounts.
This page is part of the CorpusIQ directory, the reference we maintain for the MCP server and agent-skill ecosystem. Run alongside CorpusIQ, a third-party server like this one can be combined with a company's own business data in a single answer.
Limitations¶
- Archived upstream: no releases, fixes or support. The repository is read-only.
- Not full A2A compliance: This implements the HTTP+JSON subset only
- Local-first: Default bind is
127.0.0.1- network access requires explicit config - v0.20.0 UI gap: Plugin discovery in
hermes plugins listmay require manual config.yaml edit - No streaming tasks: Tasks are submitted and polled, not streamed
← Skills Catalog | A2A Bridge on GitHub (archived) | Native A2A docs →
Curated by CorpusIQ - one MCP endpoint, all your business tools.