The Hermes (Nous Research) connector. Unlike Claude Code / Codex — where the harness is the
process and an MCP server rides inside it — Hermes runs as a long-lived gateway daemon that
spins up a fresh AIAgent per inbound message. So the mesh endpoint can't live inside a
per-turn MCP server; it must outlive every turn. The connector's command is therefore a small
launcher/supervisor (launch.ts) that owns the MeshAgent for the gateway's whole
life, bridges to an in-gateway Python plugin (platform adapter + hooks + tools) over two local
sockets, and spawns hermes gateway run as its child. Self-registers on import; the manager
resolves it by agent type "hermes".
The Hermes (Nous Research) connector. Unlike Claude Code / Codex — where the harness is the process and an MCP server rides inside it — Hermes runs as a long-lived gateway daemon that spins up a fresh
AIAgentper inbound message. So the mesh endpoint can't live inside a per-turn MCP server; it must outlive every turn. The connector's command is therefore a small launcher/supervisor (launch.ts) that owns the MeshAgent for the gateway's whole life, bridges to an in-gateway Python plugin (platform adapter + hooks + tools) over two local sockets, and spawnshermes gateway runas its child. Self-registers on import; the manager resolves it by agent type "hermes".