Hermes Agent
AI-generatedSummary
Send each input item’s prompt to a Hermes API Server using the Responses API or Chat Completions endpoint, then return the assistant text and available response metadata.
Inputs
- Prompt (required) — Prompt sent to Hermes. Defaults to the first truthy value among
$json.prompt,$json.chatInput, and$json.text; the value must be non-empty after trimming. - System / Instructions — Optional instructions included as the Responses API
instructionsfield or as a system message for Chat Completions. - Endpoint Mode — Select Responses API (
/responses, default) or Chat Completions (/chat/completions). - Model — Model name sent in the request; defaults to
hermes-agent. - Session Mode — Stateless by default. Stateful mode sends
X-Hermes-Session-Key; for Responses API it also setsstore: trueand can chain from a previous response ID. - Session Key — Required in stateful mode. Sent as the
X-Hermes-Session-Keyheader. - Previous Response ID — For stateful Responses API requests, optionally supplies
previous_response_idto continue a response chain. Defaults to$json.responseIdwhen present. - Include Raw Response — When enabled, adds the unmodified API response as
rawin the output. - Include Intermediate Steps — For Responses API only, adds
function_callandfunction_call_outputentries asintermediateSteps. - Max Retries — Retry count for HTTP 429, 500, 502, or 503 responses; defaults to 2 and is limited to 0–3.
Output shape
One output item per input item, each containing a JSON object.
Successful output includes
text,responseIdwhen supplied by the server,sessionKeyin stateful mode, andusagewhen available. Optional fields arerawand, for Responses API,intermediateSteps. If continue-on-fail is enabled, a failed item instead contains its original JSON plus anerrormessage; otherwise the node raises an item-scoped error.