Skip to main content
Hermes Agent is an open-source autonomous AI agent with persistent memory and multi-platform support. Connect BetterToken to power it with Claude models.

Prerequisites

  • BetterToken API Key (register here)
  • macOS, Linux, or Windows WSL2

Install Hermes Agent

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

Setup

1

Run the model selector

hermes model
2

Select the Anthropic provider

From the provider list, choose Anthropic or Anthropic Compatible.
Hermes Agent has no built-in BetterToken option. Select the generic Anthropic-compatible provider and configure a custom base URL.
3

Enter BetterToken config

When prompted:
  • Base URL: https://www.bettertoken.com/v1
  • API Key: your BetterToken API Key
  • Model: claude-sonnet-4-5
4

Start Hermes Agent

hermes

About persistent memory

Hermes Agent’s memory system saves your coding patterns, project context, and preferences across sessions. The more you use it, the better it understands your workflow.

Supported models

ModelDescription
claude-sonnet-4-5Balanced — recommended
claude-opus-4-5Most capable — complex agent tasks
claude-haiku-4-5Fastest — high-frequency interactions