1. 4. Common Client Configuration
DMC GATEWAY DOCS EN
  • Welcome
  • 1. Quick Start Guide
    • Registration & Login
    • Token Management
    • Account Settings
    • Pricing
    • Quota & Top-up
  • 3. Developer Code Integration
    • Native OpenAI Format
      • Chat Completions Format
      • Responses Format
    • Native Claude Format
      POST
  • 4. Common Client Configuration
    • OpenCode Configuration Guide
    • OpenAI Codex Installation & Configuration Guide
    • AnythingLLM Configuration Guide
    • Claude Code Configuration Guide
    • TypingMind Configuration Guide
    • n8n Configuration Guide
    • OpenClaw Installation & Configuration Guide
    • Hermes Agent Configuration Guide
  • 6. Troubleshooting
    • Common Misconceptions
    • Common Usage FAQ
  1. 4. Common Client Configuration

Hermes Agent Configuration Guide

Connect Hermes Agent to DMC: Install the CLI, store your key in ~/.hermes/.env, point config.yaml to DMC, and verify the connection with an actual chat.
Use DMC as the model provider for Hermes Agent through Hermes's support for custom OpenAI-compatible endpoints.

Prerequisites#

Git
DMC account with API key enabled
Terminal on macOS, Linux, or WSL2

Installation#

1
Get Your DMC Key
Log in to DMC console. Click Create API Key and copy your <DMC_KEY> key.
image.png
2
Install Hermes Agent
The following command runs the official installer:
If the current shell doesn't recognize the hermes command, reload your shell configuration:

Configuration#

1
Store Your DMC Key
Open ~/.hermes/.env and add the following line:
Hermes uses OPENAI_API_KEY as a fallback for authentication to custom OpenAI-compatible endpoints.
2
Set DMC Endpoint
Open ~/.hermes/config.yaml and confirm the model block looks like this:
Replace your-model-id with an available text model ID from the DMC Models page.

Verification#

1
Check Configuration
The following commands confirm Hermes can read the configuration and API key:
If hermes config check reports missing options after an update, run hermes config migrate, then check again.
2
Run an Actual Chat Test
The following command sends an actual request through DMC:
A successful configuration will return CONNECTED with no authentication or endpoint errors.

Optional Settings#

Clean Reinstall (Optional)
Use hermes model Instead (Optional)
修改于 2026-05-13 18:42:20
上一页
OpenClaw Installation & Configuration Guide
下一页
Common Misconceptions
Built with