Skip to Content

Hermes Agent

Hermes Agent  is a self-improving AI agent framework built by Nous Research . It features a built-in learning loop that creates skills from experience, improves them during use, and builds a deepening model of who you are across sessions.

Features

  • Self-improving loop: autonomous skill creation and improvement
  • Multi-platform support: Telegram, Discord, Slack, WhatsApp, Signal
  • Multi-model support: OpenRouter, Anthropic, OpenAI, Gemini, and more
  • Custom endpoints: any OpenAI-compatible API endpoint
  • Scheduled automations: built-in cron scheduler
  • Subagent delegation: parallel workstreams support

Configuration

Edit ~/.hermes/cli-config.yaml:

model: default: "claude-opus-4-6" provider: "custom" base_url: "https://gateway.mytokengate.com/v1" api_key: "tg-your-api-key"

Method 2: Environment Variables

Edit ~/.hermes/.env:

OPENAI_API_KEY=tg-your-api-key OPENAI_BASE_URL=https://gateway.mytokengate.com/v1

Then in cli-config.yaml:

model: default: "claude-opus-4-6" provider: "custom"

Method 3: CLI Commands

# Set model hermes model set claude-opus-4-6 # Configure custom endpoint hermes config set model.provider custom hermes config set model.base_url https://gateway.mytokengate.com/v1

Configuration Reference

ParameterDescription
model.defaultDefault model to use, e.g., claude-opus-4-6, gpt-5.1
model.providerSet to custom for custom endpoints
model.base_urlMyTokenGate API URL with /v1 suffix
model.api_keyYour MyTokenGate API key

Using Anthropic Native API

If you prefer Anthropic native API format:

model: default: "claude-opus-4-6" provider: "anthropic" base_url: "https://gateway.mytokengate.com/v1"

And in .env:

ANTHROPIC_API_KEY=tg-your-api-key

Verify Configuration

# Start interactive chat hermes # View current config hermes config list # Diagnose issues hermes doctor

Migrating from OpenClaw

If you’re coming from OpenClaw, Hermes provides an automatic migration tool:

# Preview migration hermes claw migrate --dry-run # Execute migration hermes claw migrate
Last updated on