> ## Documentation Index
> Fetch the complete documentation index at: https://nemonist.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Hermes

> Use Hermes Agent with nemonist through its OpenRouter provider.

**1. Point the OpenRouter provider at nemonist**

Put your key and nemonist's base URL in `~/.hermes/.env`:

```bash theme={null}
OPENROUTER_API_KEY="sk-nm-..."
OPENROUTER_BASE_URL="https://nemonist.com/api/v1"
```

**2. Give every auxiliary task the same base URL**

In `~/.hermes/config.yaml`, set the main model, any provider routing you use, and each auxiliary task you give its own model (here the title model) with `provider: custom` and nemonist's base URL:

```yaml theme={null}
model:
  provider: openrouter
  default: anthropic/claude-sonnet-5.5
provider_routing:
  sort: throughput
auxiliary:
  title_generation:
    provider: custom
    model: google/gemini-3-flash-preview
    base_url: https://nemonist.com/api/v1
    key_env: OPENROUTER_API_KEY

```

Provider routing (`sort`, `only`, `ignore`, `data_collection`) passes through nemonist to OpenRouter as you wrote it.

**3. Start Hermes in your project**

```bash theme={null}
cd ~/code/my-project
hermes chat
```

> [!WARNING]
>
> Do not set an auxiliary task to `provider: openrouter`. For auxiliary tasks Hermes sends that provider to `https://openrouter.ai/api/v1` whatever `OPENROUTER_BASE_URL` says, so the title call takes your nemonist key to OpenRouter and fails with 401. Use `provider: custom` with `base_url` and `key_env`, as above.

A title call sends no tools, so nemonist sends it to the model as Hermes wrote it, with no memory, and bills it on the title model.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.