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
Method 1: Custom Provider (Recommended)
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/v1Then 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/v1Configuration Reference
| Parameter | Description |
|---|---|
model.default | Default model to use, e.g., claude-opus-4-6, gpt-5.1 |
model.provider | Set to custom for custom endpoints |
model.base_url | MyTokenGate API URL with /v1 suffix |
model.api_key | Your 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-keyVerify Configuration
# Start interactive chat
hermes
# View current config
hermes config list
# Diagnose issues
hermes doctorMigrating 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 migrateRelated Links
Last updated on