Hermes Agent can use any OpenAI-compatible API through its custom endpoint option, so you can run it on an uncensored, abliterated model without hosting one. We set up Hermes Agent 0.19.0 against CommentLLM's abliterated DeepSeek V4.1 Flash model and gave it a real bug to fix. It fixed it and the tests passed.
The short version: run hermes model, choose Custom endpoint, enter https://api.commentllm.com/v1 and your CommentLLM key, choose Chat Completions, pick a model from the list Hermes fetches, and enter 1048576 as the context length.

What you need
- Hermes Agent. We used version 0.19.0. Install it with the installer in the Hermes Agent README.
- A CommentLLM API key. Create one under Keys in the console after you sign up and add credit.
Step 1: run the model wizard
Before a provider is set, Hermes prints Warning: No inference provider configured. Run:
hermes model
Choose Custom endpoint (enter URL manually). It is near the bottom of the provider list, so pressing Up from the top reaches it faster. Then answer:
| Prompt | Answer |
|---|---|
| API base URL | https://api.commentllm.com/v1 |
| API key | Your cllm_ key. Hermes masks it as you type |
| API compatibility mode | 2, Chat Completions |
| Select model | deepseek-v4.1-flash-abliterated |
| Context length in tokens | 1048576 |
| Display name | CommentLLM |
After the key, Hermes checks the endpoint and prints Verified endpoint via https://api.commentllm.com/v1/models with the number of models it found, then lists them to choose from.

Step 2: check what was saved
Hermes writes the choice to ~/.hermes/config.yaml:
model:
default: deepseek-v4.1-flash-abliterated
provider: custom
base_url: https://api.commentllm.com/v1
api_key: cllm_...
api_mode: chat_completions
custom_providers:
- name: CommentLLM
base_url: https://api.commentllm.com/v1
api_key: cllm_...
model: deepseek-v4.1-flash-abliterated
api_mode: chat_completions
models:
deepseek-v4.1-flash-abliterated:
context_length: 1048576
The key is stored in this file in plain text. Keep the file private and out of any repository or backup you share.
Step 3: start Hermes
Run hermes in your project. The status bar shows the model and its 1M context window.

Step 4: give it a task
Our test project had a log-triage script with a bug: it counted failed SSH logins by username instead of by source address, so both tests failed. We asked:
The test suite fails. Run the tests, find the bug in auth_triage.py and fix it. Then run the tests again.
Hermes ran the tests, changed one line, ran pytest again for 2 passed, and then wrote a short script of its own to check the result a second time. The run took about a minute and Hermes did not ask for approval for any of these commands.

Common problems and fixes
| What you see | Why | Fix |
|---|---|---|
Warning: No inference provider configured |
No provider has been chosen yet | Run hermes model |
A warning that the tirith scanner is unavailable |
The tirith command scanner is not installed |
It did not affect the run |
Which model to use
Start with deepseek-v4.1-flash-abliterated, the model that fixed the bug here. glm-5.3-abliterated is the one to try for harder reasoning. Both take text only, so image input does not work. If the agent feels slow, switch the model ID to deepseek-v4.1-flash-abliterated-fast: it is the same model served about five times faster, at the same input and output rates and a higher cached-input rate. The pricing page lists every model and its rate.
Run it in a sandbox
Abliterated models refuse far fewer requests than standard ones, and that includes commands an agent should not run on your machine. Try it first in a throwaway project, as we did, and review what the model writes before you ship it.
Setting up a different agent? Uncensored coding AI lists every agent we tested, with a guide for each.
Questions
Can Hermes Agent use uncensored or abliterated models?
Yes. Hermes Agent's custom endpoint accepts any OpenAI-compatible API. We ran Hermes Agent 0.19.0 on DeepSeek V4.1 Flash Abliterated through CommentLLM, and it fixed a failing test.
How do I set a custom endpoint in Hermes Agent?
Run hermes model and choose Custom endpoint (enter URL manually). Enter the API's base URL and key, choose the Chat Completions mode, pick a model and give its context length.
Where does Hermes Agent store the custom provider?
In ~/.hermes/config.yaml, under model and custom_providers. The API key is saved there in plain text, so keep the file private.
Which API mode should Hermes use with CommentLLM?
Chat Completions, written as api_mode: chat_completions in config.yaml. That is the mode we tested.
