Hermes Agent Setup Guide

Hermes Agent is Nous Research's open-source terminal agent: it chats, runs commands, reads and writes files, uses web and media tools, and keeps long-term memory. This guide installs it and connects it to JZS Token.

What you need

FieldValueNotes
ProviderCustom endpoint / OpenAI compatibleThe wording differs between versions; pick the one that lets you type a URL.
Base URLhttps://jzstoken.com/api/v1If verification fails on an older version, try https://jzstoken.com.
API Keysk-…The terminal hides it while you paste. That is normal.
Modelgpt-5.6-terraOr any model from the catalog.
💡 Get terminal chat working first. Add Telegram, Discord or other messaging gateways only after that; it makes any problem much easier to pin down.

1. Install Hermes

SystemMethodCommand / notes
Windows / macOS (desktop users)Hermes DesktopDownload the desktop installer from the Hermes site. The easiest path.
Linux / macOS / WSL2 / TermuxInstall scriptcurl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
Windows PowerShellInstall scriptiex (irm https://hermes-agent.nousresearch.com/install.ps1)
Windows (most reliable)WSL2 + UbuntuUse this if the native Windows install gives you trouble. Steps below.

Windows: set up WSL2 first

Open PowerShell as administrator and run:

wsl --install

If it hangs at 0%, use the web download instead:

wsl --install --web-download -d Ubuntu

Restart when asked, open Ubuntu from the Start menu, and create a Linux username and password. Check it worked with wsl --version.

Install Git and Hermes (WSL2 / Ubuntu / Linux)

sudo apt update
sudo apt install git -y
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
source ~/.bashrc
hermes version
hermes doctor

The update command is hermes update.

2. Connect JZS Token with hermes setup

  1. Run hermes setup in the terminal where Hermes is installed.
  2. Choose quick setup or model setup.
  3. At Select provider, choose More providers…, then Custom endpoint (enter URL manually).
  4. At API base URL, enter https://jzstoken.com/api/v1.
  5. Paste your API key and press Enter. Nothing shows while you paste.
  6. Hermes verifies the endpoint and lists the models your key can use. Type the number for gpt-5.6-terra or another model.
  7. If it asks for a context length, start with 32000. Raise it once everything works.
  8. At Connect a messaging platform?, choose Skip for now.
  9. At Launch hermes chat now?, type Y.

Or: add it with CC Switch

CC Switch can write Hermes' ~/.hermes/config.yaml for you. Select the Hermes icon (1) and click + (2), keeping Custom Configuration.

CC Switch Hermes tab with no providers yet and the plus button highlighted

Set Provider Key to jzstoken and Provider Name to JZS Token, then:

  1. API Mode: OpenAI Chat Completions.
  2. API Endpoint: https://jzstoken.com/api/v1.
  3. API Key: your key.
  4. Models: click Add model and enter gpt-5.6-terra. The first model becomes Hermes' default.
Hermes provider form: API Mode OpenAI Chat Completions, endpoint https://jzstoken.com/api/v1, key masked, model gpt-5.6-terra

Click Add, then Enable on the card. It switches to In Use and Hermes uses JZS Token the next time it starts.

Hermes provider card in CC Switch marked In Use

The resulting config.yaml, if you prefer to write it yourself:

custom_providers:
- name: jzstoken
  base_url: https://jzstoken.com/api/v1
  api_key: sk-your-key-here
  models:
    gpt-5.6-terra:
      name: GPT-5.6 Terra
model:
  default: gpt-5.6-terra
  provider: jzstoken

3. Chat, gateways and everyday commands

CommandWhat it does
hermesStart chatting.
hermes setupRun the full setup wizard again.
hermes modelSwitch model or provider.
hermes doctorCheck dependencies, config and services.
hermes updateUpdate Hermes.
hermes --continueResume your last session.
hermes gatewayStart the messaging gateway.hermes gateway status checks it.

Troubleshooting

ProblemFix
hermes: command not foundRun source ~/.bashrc or open a new terminal.Still missing? Check your PATH.
Model verification failsCheck URL, key and model ID. Use https://jzstoken.com/api/v1 first.Older versions may want https://jzstoken.com.
Replies cut off, context too smallRaise the context length in hermes setup or the config.Start low, then increase.
WSL2 cannot reach a Windows service on localhostWindows 11: enable mirrored networking (below).Windows 10: use the WSL default gateway IP instead of localhost.
Config missing after an updatehermes config check, then hermes config migrate.

Mirrored networking: add this to %USERPROFILE%\.wslconfig, then run wsl --shutdown.

[wsl2]
networkingMode=mirrored