Skip to content

Hermes Agent

Hermes Agent is Nous Research's open-source terminal AI agent with tool use, file I/O, and code execution. Its built-in Custom Endpoint lets you plug into any OpenAI-compatible API — WRouter included — with zero code.

Prerequisites

ItemRequirement
OSmacOS / Linux / WSL2 (Windows users: install WSL2 first)
Hermes Agentlatest
WRouterA working sk- token

Hermes requires a model with at least 64K token context. Pick accordingly.

Install

macOS / Linux / WSL2

bash
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash

# Reload your shell
source ~/.zshrc   # or ~/.bashrc

Configure

bash
hermes model

Pick Custom Endpoint in the interactive menu and fill:

PromptValue
Provider typeOpenAI-compatible
Base URLhttps://wrouter.ai/v1
API keysk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Model IDe.g. claude-sonnet-4-6

No file editing needed — Hermes persists the choice.

Verify

bash
hermes

Send any prompt; the response and any tool calls should work end-to-end.

Switch models

/model gpt-5.5
/model gemini-2.5-pro
ModelContextUse
claude-sonnet-4-6200KDaily driver
gemini-2.5-pro1MLong-context analysis
gpt-5.5128KReasoning

Advanced: gateway and channels

Hermes can run as a persistent gateway with channel integrations (Telegram, Discord, Slack, WhatsApp):

bash
hermes gateway

Refer to Nous's docs for channel-specific setup. The model layer remains WRouter regardless of channel.

Known limitations

  • Channel integrations (Telegram, Discord, etc.) are Hermes features, not WRouter — their availability depends on Nous's gateway service.
  • Windows native is not supported; use WSL2.