Hermes Agent
Connect Hermes Agent to OneProvider through a custom OpenAI-compatible endpoint in Chat Completions mode: key in ~/.hermes/.env, base_url with /v1.
Run Hermes Agent through its custom OpenAI-compatible endpoint option.
All models, capabilities, and prices Documentation index for AI agents:https://oneprovider.dev/docs/llms.txt Hermes Agent by Nous Research
Official documentationWhat works
Hermes uses OneProvider through a custom provider with Chat Completions mode and a compatible model ID you select from the catalog.
Client limitation
Keep API mode set to Chat Completions; other Hermes provider modes do not use this OpenAI-compatible connection.
Before you start: a key from your cabinet Open your cabinet: the Telegram bot @oneprovider_robot (Account) or app.oneprovider.dev . Press “Issue a key”, give it a name (for example, this client) and a spend limit, and copy the key. You top up the balance in the same place. More about the cabinet and keys .Setup
-
Open Hermes model setup
Run the model wizard and choose Custom endpoint (self-hosted / VLLM / etc.).
hermes model -
Enter the OneProvider connection
Use https://api.oneprovider.dev/v1, your dedicated OneProvider key, a compatible model ID you choose from the catalog, and Chat Completions as the API mode.
Endpoint: https://api.oneprovider.dev/v1 API key: sk-your-key-here Model: gpt-6.1-terra Mode: Chat Completions -
Or configure Hermes manually
Store ONEPROVIDER_API_KEY=… in ~/.hermes/.env, then set the model block in ~/.hermes/config.yaml.
# ~/.hermes/.env ONEPROVIDER_API_KEY=sk-your-key-here # ~/.hermes/config.yaml model: default: gpt-6.1-terra provider: custom base_url: https://api.oneprovider.dev/v1 key_env: ONEPROVIDER_API_KEY
Verify the connection
Start a new Hermes session
Ask a short question, then confirm the configured model ID, token usage, and a settled charge in the OneProvider dashboard.
Connection details
- Protocol
- openai-chat
- Endpoint
- https://api.oneprovider.dev/v1
Key security
Use a dedicated inference key limited to the required model, with rate, spend, and expiry controls. Keep the key in ~/.hermes/.env rather than config.yaml.
Which model to choose
Set default in the model block of config.yaml. gpt-6.1-terra is a good everyday default, gpt-6.1-sol is the frontier tier for hard tasks, gpt-5.6-luna is cheap for quick or high-volume work. Use Chat Completions as the API mode and copy ids from the models page .
Common errors and fixes
401
The key is not read: check that ONEPROVIDER_API_KEY=… is in ~/.hermes/.env and that key_env in config.yaml names the same variable.
404
base_url must be https://api.oneprovider.dev/v1 with /v1 exactly once: a doubled /v1/v1 or a mistyped host returns 404.
“Model not found”
The id is not in the catalog or has a typo. Copy it from the models page.
429 “Insufficient balance”
Balance or key limit is used up. Top up the cabinet.
The wizard does not list OneProvider
Choose Custom endpoint in hermes model: OneProvider is added as a custom OpenAI-compatible endpoint.
FAQ
Where do I keep the key?
In ~/.hermes/.env, not in config.yaml.
Can I use Claude models?
Yes, enter a Claude id such as claude-sonnet-5-5 in the same custom endpoint; capabilities depend on the model.
How do I check it works?
Start a new session, ask a short question and look for the request in dashboard Usage.
Quick answers
Which base URL do I use?
Claude Code and Anthropic SDKs use https://api.oneprovider.dev. OpenAI SDKs and OpenAI-compatible clients use https://api.oneprovider.dev/v1. One key works behind both; the model list is on the models page ; rates are on the pricing page .
How do I authenticate?
Send the raw sk-… key in x-api-key or Authorization: Bearer: one of them, never both. Keep the key in an environment variable, not in a file that gets committed. More on authentication .
Where do I get a key?
Open your cabinet in the Telegram bot @oneprovider_robot or at app.oneprovider.dev, top up the balance and press “Issue a key”. Each key can carry its own spend limit. Cabinet & API keys .
What do 401, 404 and 429 mean?
401: the key is missing, mistyped or sent in the wrong header; paste the whole key without quotes or spaces. 404: usually a wrong base URL, for example a missing or doubled /v1. 429 with “Insufficient balance”: the cabinet balance or the key’s spend limit is used up, so top up instead of retrying; any other 429 is a rate limit, so wait for Retry-After. Details: error codes and troubleshooting .
Why do streams cut off or reset?
VPN and VLESS proxies often buffer SSE or break HTTP/2 negotiation. OneProvider has no regional restrictions and does not buffer streams, so turn the proxy off and retry.
Where do I ask if this is not enough?
Message @Oneproviderhelpbot on Telegram or open “Support” in the web cabinet, with the HTTP status code and the exact error message. How support works .
Last updated: 2026-11-28 Found a bug? @Oneproviderhelpbot