Hermes Agent Integration
This guide shows the fastest way to connect Hermes Agent to Crynux Bridge as a custom LLM provider.
Hermes Agent is an open-source, self-improving AI agent from Nous Research. It is designed as an autonomous assistant for chat, automation, tools, and coding workflows, and it supports OpenAI-compatible endpoints, so Crynux Bridge can be used directly as a custom provider backend. Learn more on the official website: https://hermes-agent.nousresearch.com/.
The core setup is simple:
set Hermes provider to
customset Crynux Bridge
base_urlset your Crynux API token
Before You Start
Prepare these three items before configuration:
1) Base URL
The standard Crynux Bridge endpoint is:
https://bridge.crynux.io/v1/llm
You can also set the VRAM limit directly in the path:
https://bridge.crynux.io/v1/llm/24means VRAM limit is set to24
vram_limit is a Crynux-specific routing parameter. It defines the minimum GPU VRAM requirement (in GB) for your request, so Crynux can dispatch the task to nodes with enough GPU memory. If you choose a value that is too low for your model, the task may fail or timeout.
If you do not specify a VRAM limit, the default value is 24.
2) Access Token
The public demo token has strict rate limits and is not suitable for normal use.
To get a free token with better quota:
Join the Crynux Discord: https://discord.gg/y8YKxb7uZk
Go to the applications channel
Request a Crynux Bridge API token from an admin
3) Model
Crynux generally supports open-source models that are compatible with the Hugging Face transformers library. In practice, the main limitation is available VRAM on network nodes, so larger models require higher VRAM settings.
Hermes workflows require tool use/function calling support, so choose a model that supports tool calling. Instruction-tuned models are usually safer choices (for example, Qwen/Qwen2.5-7B-Instruct). For details, refer to:
Run:
Then in the menu:
Choose Custom endpoint (self-hosted / VLLM / etc.)
API base URL:
https://bridge.crynux.io/v1/llmAPI key: paste your Crynux token
Model name: for example
Qwen/Qwen2.5-7B-InstructContext length: keep auto-detect, or enter a value manually if prompted
Start Hermes:
Use this method for both local runtime and Docker runtime.
Local runtime files:
~/.hermes/config.yamland~/.hermes/.envDocker runtime files (with
-v ~/.hermes:/opt/data): same host files
Update these exact config items in ~/.hermes/config.yaml:
model.provider:custommodel.default: your selected model (example:Qwen/Qwen2.5-7B-Instruct)model.base_url:https://bridge.crynux.io/v1/llmmodel.api_key:${CRYNUX_API_KEY}
Optional:
model.context_length: set this only if auto-detection is incorrect
~/.hermes/config.yaml
~/.hermes/config.yaml~/.hermes/.env
~/.hermes/.envAfter saving, start Hermes:
Or with Docker:
Last updated