Hermes Agent
Connect Hermes Agent to APIClaw through a custom OpenAI-compatible endpoint.
Prerequisites
- Create an API key in the API Keys dashboard.
- Copy a full model ID from the model hub.
Install
Follow the Hermes Agent install instructions for your platform, then verify:
bash
hermes --versionConfigure with the wizard
bash
export APICLAW_API_KEY="sk-your-apiclaw-key"
hermes modelChoose a custom endpoint, then enter:
| Setting | Value |
|---|---|
| Base URL | https://apiclaw.biz/v1 |
| API key | Your APIClaw API key (or leave blank if stored in .env) |
| Model | Full model ID from the model hub |
Configure ~/.hermes/config.yaml
yaml
model:
default: YOUR_MODEL_ID
provider: custom
base_url: https://apiclaw.biz/v1
api_key: sk-your-apiclaw-keyPrefer storing secrets in ~/.hermes/.env instead of committing keys into YAML.
| Setting | Value |
|---|---|
model.provider | custom |
model.base_url | https://apiclaw.biz/v1 |
model.default | Full model ID from the model hub |
Verify
bash
hermes chatSend a short prompt, then confirm the request in logs.
Troubleshooting
- For
provider: custom, setmodel.base_url.OPENAI_BASE_URLalone only affects the built-inopenai-apipath. - Stale entries in
~/.hermes/.envcan override an updated YAML file; clean unused vars after migrations.