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

# Hermes Agent

> Connect Hermes Agent to Fireworks models and Nexus Auto with the Nexus CLI.

Support summary:

* API the harness speaks to Fireworks: OpenAI Chat Completions
* Nexus Auto: Supported

Plan access: Pro and Team don't include general access to open models. They use Nexus Auto (`auto`) along with their own Claude or ChatGPT models, and Nexus Auto still sends turns to open models. Enterprise accounts also get general access to open models on Fireworks serverless. See [Plans and Accounts](https://docs.fireworks.ai/nexus/plans.md).

## Quick start

**1. Install and sign in**

```bash wrap theme={null}
curl -fsSL https://nexus.fireworks.ai/install.sh | bash
```

You need Node.js 22 or later and `bash`. You don't need git or a GitHub account. On Windows, run the installer from Git Bash. PowerShell breaks the script's line endings.

```bash wrap theme={null}
nexus login
```

Choose your Nexus or Fireworks Platform account, then sign in with your browser.

Already installed and signed in? Run `nexus update`, then continue to step 2. The `nexus hermes` command requires Nexus CLI 0.12.0 or later.

**2. Connect Hermes Agent**

Install Hermes Agent first, then run:

```bash wrap theme={null}
nexus hermes
```

Nexus Auto is the default model. To pick another one, run `nexus hermes --model <id>`, such as `--model glm-latest`.

`nexus hermes status` shows the provider, where the key comes from, and the configured model.

**3. Restart Hermes Agent**

Start a new Hermes session so it loads the updated settings. Restart a running Hermes gateway too.

To restore your original settings, run `nexus hermes off`.

## Use Nexus Auto

* **Anthropic and OpenAI model turns** each need a [Provider Key](https://docs.fireworks.ai/nexus/provider-keys.md) for that provider from your admin.

- Instead of a Provider Key, save your own key locally with `nexus auto --anthropic-api-key` for Anthropic or `nexus auto --openai-api-key` for OpenAI. Each prompts for the key. Run `nexus hermes` again after saving a local key.
- Nexus Auto (`auto`) is supported on the Chat Completions API.
- Nexus CLI adds the models available to your account to the Fireworks picker in Hermes. Nexus Auto appears as `nexus-auto` in the picker and **Nexus Auto** in the status bar.

## MCP and tools

* Nexus CLI doesn't change your MCP servers.
* Nexus CLI doesn't add [web search](https://docs.fireworks.ai/nexus/auto.md#web-search) to Hermes Agent.

## Troubleshooting

Fixes for issues that affect every harness are in [Nexus Auto troubleshooting](https://docs.fireworks.ai/nexus/auto.md#troubleshooting).

* Upgrading from an earlier version: see [Upgrading from earlier versions](https://docs.fireworks.ai/nexus/cli.md#upgrading-from-earlier-versions).

## Manual setup (advanced)

Hermes has a built-in `fireworks` provider that reads `FIREWORKS_API_KEY`. Set it as the default and use `auto` for Nexus Auto:

```yaml ~/.hermes/config.yaml wrap theme={null}
model:
  provider: fireworks
  default: auto
providers:
  fireworks:
    base_url: https://api.fireworks.ai/inference/v1
    key_env: FIREWORKS_API_KEY
```

Save your Fireworks key in the `.env` file next to `config.yaml`:

```bash ~/.hermes/.env wrap theme={null}
FIREWORKS_API_KEY=fw_...
```

Restrict access to the key file:

```bash wrap theme={null}
chmod 600 ~/.hermes/.env
```

If `$HERMES_HOME` is set, use that directory instead of `~/.hermes` for both files. On Windows, the default directory is `%LOCALAPPDATA%\hermes`.

Use `auto` directly without the Nexus CLI's model-provider plugin. The CLI uses `nexus-auto` instead and installs a plugin that maps it to `auto` on requests. The plugin also lists the models available to your account in the picker. Config files alone don't reproduce that picker or the `nexus-auto` mapping.

Without the Nexus CLI, you take over [the tasks it otherwise performs](https://docs.fireworks.ai/nexus/manual-setup.md#what-changes-without-the-nexus-cli), such as undo and updates.

Check: start a new Hermes session and send a message with the `fireworks` provider and `auto` model selected. Restart a running Hermes gateway too.

## What the Nexus CLI writes

* Nexus CLI updates `~/.hermes/config.yaml` and saves your Fireworks key as `FIREWORKS_API_KEY` in `~/.hermes/.env`. The `.env` file is saved with mode `0600`.
* Both paths follow `$HERMES_HOME` when it's set. Otherwise, Hermes uses `~/.hermes` on macOS and Linux, or `%LOCALAPPDATA%\hermes` on Windows. `--config-path` overrides the config path; the `.env` file stays next to `config.yaml`.
* It installs a Fireworks model-provider plugin under `~/.hermes/plugins/model-providers/fireworks`. The plugin maps `nexus-auto` to the Fireworks `auto` model ID.
* For shared connection options, see the [CLI reference](https://docs.fireworks.ai/nexus/cli-reference.md).
