Use ApexApi with Hermes Agent

Hermes Agent is Nous Research's terminal coding agent. Its setup wizard accepts any OpenAI compatible endpoint, so connecting our catalog is one step.

1. Get your API key

Create a key in your dashboard. It starts with ak-.

2. Run the setup wizard

Run hermes setup and choose Custom OpenAI-compatible endpoint when asked for a provider.

Endpoint:  https://api.apexapi.dev/v1
API key:   ak-your-key-here
Model:     anthropic/claude-sonnet-4.6

3. Pick your model

The ID must match the catalog exactly, in provider/model format. Browse all IDs on the models page.

4. Where the config lives

Hermes writes settings to ~/.hermes/config.yaml and the key to ~/.hermes/.env; edit those files to switch models later without re-running the wizard.

Troubleshooting

  • 401 Unauthorized: the key wasn't pasted correctly or has been revoked.
  • Model not found: the model ID doesn't match a catalog ID. Copy it verbatim from the models page.
  • Connection fails: make sure the base URL is exactly https://api.apexapi.dev/v1 (no trailing slash after v1) and your balance is positive.
  • Anything else: check the error codes reference; streaming and tool calling are fully supported on /v1/chat/completions.