hermes-agent

n8n community node for using Hermes Agent API Server as an agentic workflow node

Package Information

Released: 3 mo ago
Downloads: 328 weekly / 328 monthly
Latest Version: 0.1.1
Author: Jacox98

Documentation

n8n-nodes-hermes-agent

n8n community node for using an existing Hermes Agent API Server as an agentic workflow node.

Requirements

Hermes must already be running with API Server enabled. This node does not start Hermes.

In ~/.hermes/.env:

API_SERVER_ENABLED=true
API_SERVER_KEY=change-me-local-dev

Start Hermes gateway:

hermes gateway

Hermes should log:

[API Server] API server listening on http://127.0.0.1:8642

Node

Root node: Hermes Agent

Default settings:

  • Base URL: http://localhost:8642/v1
  • Model: hermes-agent
  • Endpoint mode: Responses API
  • Session mode: Stateless

Output

Simple output:

{
  "text": "Hermes response text",
  "responseId": "resp_abc123",
  "sessionKey": "user-123",
  "usage": {
    "promptTokens": 10,
    "completionTokens": 20,
    "totalTokens": 30
  }
}

sessionKey is only populated when you run the node in stateful mode with a session key.

Enable Include Raw Response and Include Intermediate Steps for debugging or advanced workflow routing.

Stateful sessions

Set Session Mode to Stateful With Session Key and provide a stable key, for example:

={{ $json.userId }}

For /v1/responses, pass the previous responseId into Previous Response ID to continue a response chain.

Discussion