# OpenClaw, Hermes and OpenCode

Use Super Seeder from OpenClaw, Hermes Agent or OpenCode, through the AntSeed proxy on your machine.

OpenClaw, Hermes Agent and OpenCode can each talk to any OpenAI-compatible endpoint, and the AntSeed proxy on your machine is one. So there are two parts: the proxy, pinned to Super Seeder, and one setting in the tool you already run.

## Before you start

1. Run the AntSeed proxy and fund it, with the app or the CLI: [Quickstart](/docs/quickstart/).
2. Pin the proxy to Super Seeder: [Pin the proxy](/docs/routing/#1-pin-the-proxy). Every tool set up as below follows the pin.
3. Pick a model from the table on [Use](/use/#models). The examples below use `glm-5.3-flash`; any model name from that table works the same way.

The examples use the CLI's local address, `http://localhost:8377/v1`. With the app, use its local endpoint instead. The proxy needs no API key. Where a tool insists on one, any word works; the examples use `antseed`.

## OpenClaw

OpenClaw takes custom providers in `models.providers`. Add one for the proxy to `~/.openclaw/openclaw.json`:

```
{
  models: {
    providers: {
      antseed: {
        baseUrl: "http://localhost:8377/v1",
        apiKey: "antseed",
        api: "openai-completions",
        models: [
          { id: "glm-5.3-flash", name: "glm-5.3-flash", input: ["text"] },
        ],
      },
    },
  },
}
```

If the file already has a `models` section, add the `antseed` entry inside its `providers`. The gateway picks up changes to this file on its own. Then make it the default model:

```
openclaw models set antseed/glm-5.3-flash
```

New sessions use it. In a chat that is already open, switch with `/model antseed/glm-5.3-flash`. To add more models, add more entries to the `models` list.

[OpenClaw's docs on custom providers](https://docs.openclaw.ai/gateway/config-tools)

## Hermes Agent

The quickest way is Hermes' own setup, run from your terminal:

```
hermes model
```

Choose "Custom endpoint", then enter `http://localhost:8377/v1` as the base URL, any word as the API key, and `glm-5.3-flash` as the model.

Or write it in `~/.hermes/config.yaml` yourself:

```
model:
  default: glm-5.3-flash
  provider: custom
  base_url: http://localhost:8377/v1
```

Start a new session to use it. Hermes needs a model with at least 64,000 tokens of context; the context of each model is in the table on [Use](/use/#models). If Hermes cannot read a model's context from the proxy, it assumes a large one; add `context_length:` under `model:` with the value from the table.

[Hermes' docs on custom endpoints](https://hermes-agent.nousresearch.com/docs/integrations/providers)

## OpenCode

The AntSeed CLI can run OpenCode through the proxy for one session, without touching your own config:

```
antseed opencode --model glm-5.3-flash
```

To keep it, add a provider to `~/.config/opencode/opencode.json`:

```
{
  "$schema": "https://opencode.ai/config.json",
  "providers": {
    "antseed": {
      "name": "AntSeed",
      "package": "@opencode/ai/providers/openai-compatible",
      "settings": {
        "baseURL": "http://localhost:8377/v1",
        "apiKey": "antseed"
      },
      "models": {
        "glm-5.3-flash": { "name": "glm-5.3-flash" }
      }
    }
  },
  "model": "antseed/glm-5.3-flash"
}
```

If the file already has a `providers` section, add the `antseed` entry inside it. To add more models, add more entries under `models`. This is the format in OpenCode's current docs; if your OpenCode does not accept it, update OpenCode, or use `antseed opencode` above.

[OpenCode's docs on providers](https://opencode.ai/docs/providers/)

## If something fails

- **The tool cannot connect.** Check that the proxy is running: `antseed buyer connection get` shows its port and pin.
- **OpenClaw says the model is not allowed.** Your OpenClaw keeps a list of allowed models. The error shows the command that adds `antseed/glm-5.3-flash` to it.
- **A request fails at once.** Pinned is strict: if the model name is not one we serve, the proxy answers with an error instead of trying another seller. Copy the name from [Use](/use/#models). The errors are in [Limits and errors](/docs/limits/).
- **To undo.** Remove the `antseed` entry from the tool's config. `antseed buyer connection clear` removes the pin from the proxy.

You pay per token, as from any other client. How prices move during the day is in [Prices through the day](/docs/prices/).

_Last updated 2026-12-01._
