To use Hermes Agent with abliteration.ai, configure Hermes as a custom OpenAI-compatible endpoint with base URL https://api.abliteration.ai/v1, your ak_... API key, and model abliterated-model.
Hermes already supports custom OpenAI-compatible providers, so you do not need a native adapter for abliteration.ai.
Install
Follow the Hermes Agent installation guide, then configure the model provider:
When prompted, choose the custom endpoint option and enter:
| Prompt | Value |
|---|
| API base URL | https://api.abliteration.ai/v1 |
| API key | ak_YOUR_API_KEY |
| Model name | abliterated-model |
| Context length | 150000 |
Manual config
You can also edit ~/.hermes/config.yaml directly:
Then start Hermes:
Named custom provider
If you prefer not to store the key in config.yaml, use a named custom provider with key_env and put the key in ~/.hermes/.env:
You can switch back to this provider inside a Hermes session with /model custom:abliteration:abliterated-model.
Provider plugin
For a named provider that works with --provider abliteration-ai, add a small Hermes model-provider plugin.
Create ~/.hermes/plugins/model-providers/abliteration-ai/__init__.py:
Create ~/.hermes/plugins/model-providers/abliteration-ai/plugin.yaml:
Export your key:
Then run:
Verify
If you installed the provider plugin, use:
Notes
abliterated-model supports a 150K context window. Set context_length: 150000 so Hermes can budget long agent sessions correctly.
- Policy rules attached to your API key apply to every Hermes request. See Policy Gateway.
- The live model list is available from
GET /v1/models. See models.
Last modified on June 12, 2026