<!-- Generated from public website sources; do not edit this file. -->

# Hermes Agent
Connect a Hermes Agent profile to the DeepSeekSub Chat Completions API.

## Set up a custom endpoint
Install Hermes Agent and create a [DeepSeekSub API key](https://deepseeksub.com/account/keys). Run the model wizard from the terminal for the profile you want to configure.

```sh
hermes model
```

Choose **Custom endpoint** and enter the following connection details.

| Field | Value |
| --- | --- |
| API base URL | `https://api.deepseeksub.com/v1` |
| API key | Your DeepSeekSub API key |
| Model name | `deepseek-flash` |

If asked which API format to use, choose Chat Completions. To start with V4 Pro, enter `deepseek-v4-pro` as the model name and check that your key allows it.

## Configure a profile by hand
For the default profile, add `DSSUB_API_KEY=your-api-key` to the private `~/.hermes/.env` file and replace the placeholder locally. Merge the following model settings into `~/.hermes/config.yaml`. If you use a named profile, use that profile's `.env` and `config.yaml` together.

```yaml
model:
  default: deepseek-flash
  provider: custom
  base_url: https://api.deepseeksub.com/v1
  key_env: DSSUB_API_KEY
```

If your Hermes version lacks `key_env`, use the model wizard to save the credential for the custom endpoint.

## Test the active profile
Run `hermes`, start a new chat and send “Reply with hello.” In Hermes Desktop, select the same profile before starting the chat. Check [Usage](https://deepseeksub.com/account/usage) for the request. If another provider responds, reopen `hermes model` in the active profile and check the saved base URL and model. Hermes's `/model` command switches among providers you have already configured.

See the [Hermes installation guide](https://hermes-agent.nousresearch.com/docs/getting-started/installation) and [custom provider reference](https://hermes-agent.nousresearch.com/docs/integrations/providers).

---

HTML source: [Hermes Agent — dssub Tutorials](https://deepseeksub.com/docs/hermes/)
