hermes-peer-agents
Hermes peer agents
When to use
Use whenever a task should be executed by another registered Hermes agent (peer) rather than locally: relaying a request to the Plex agent, collecting its findings, or verifying its claims before acting on them.
Registered peers (e.g. plex, Jason's Plex agent on a remote VPS) are full Hermes agents reachable via the hermes peer CLI. The key for each peer lives in ~/.hermes/.env as HERMES_PEER_<NAME>_KEY.
Registering a new peer
To register a remote Hermes agent (e.g. a VPS agent): have the REMOTE agent enable its api_server platform (platforms.api_server.enabled: true, extra.host: 0.0.0.0, a port) and set a strong API_SERVER_KEY in its .env (openssl rand -hex 32), open the port in its firewall, then locally: hermes peer add <name> --url http://<ip>:<port> --key <key> — the key is stored as HERMES_PEER_<NAME>_KEY automatically. Give the remote agent a self-contained onboarding prompt (it has no context); a bare-metal agent behind YunoHost etc. may not know its own deployment details, so keep the ask to enabling api_server only.