Skip to content

Hermes agent gateway ​

Hermes is the orchestration core of the platform. It is an agent gateway: it receives requests from several entry points, decides which memory, tools and models a task needs, and returns one coherent response. It holds the plan, not the data. Services own their state; Hermes owns the reasoning about what to call and in what order.

Role in the platform ​

  • Accepts input from Telegram, the Open WebUI browser interface, the Nextcloud interface and device events from the smartwatch integration.
  • Recalls relevant context from long-term memory before acting.
  • Calls tools exposed through MCP servers for files, notifications and tasks.
  • Requests model completions through the LiteLLM gateway rather than talking to providers directly.
  • Hands repeatable multi-step sequences to n8n workflows when a deterministic pipeline is a better fit than open-ended reasoning.

Operating model ​

ConcernApproach
Entry pointsSeveral channels share one gateway, so behaviour is consistent across surfaces
Tool accessCapabilities are exposed as bounded MCP tools, not raw shell or network access
MemoryRetrieval happens per request; storage is delegated to the memory service
ModelsSelected by the gateway from configuration, so the agent code does not change when a model does
DeploymentBuilt and rolled out through the same reviewed delivery path as the rest of the runtime

Agent evolution ​

Hermes is the production orchestrator today. A Google ADK based agent is in preparation as a future option for structured agent development. It is not part of the live stack yet, and the platform does not depend on it.

Design decisions ​

  • Gateway pattern. A single front door keeps policy, memory access and model routing in one place instead of duplicating them per channel.
  • Orchestrate, do not own state. Hermes keeps no authoritative data, so it can be redeployed or replaced without data migration.
  • Tools over prompts. Actions are modelled as typed tool calls with explicit contracts, which makes them testable and auditable.
  • Deterministic work goes to workflows. Where a sequence never varies, n8n is simpler and cheaper than an agent loop.
  • Model-agnostic core. Routing through a gateway lets the orchestrator benefit from new models without re-engineering.

Built for better workflows.