Hermes Agent

Connect Hermes Agent by Nous Research to Gab AI as a custom OpenAI-compatible endpoint and chat with any Gab AI model.

Prerequisites

Interactive Setup (Recommended)

Hermes Agent works with any OpenAI-compatible endpoint, so Gab AI can be configured as a custom provider. Run the model picker and choose the custom endpoint option:

Interactive setup

Manual Configuration

Alternatively, set Gab AI as the provider directly in ~/.hermes/config.yaml. When base_url is set, Hermes calls that endpoint directly and authenticates with the api_key value:

~/.hermes/config.yaml

Model slug case sensitivity

The model name must exactly match a slug returned by GET /v1/models — lowercase, hyphenated, no dots. "Claude Opus 4.8" or "claude opus" will return 400 invalid_model; use claude-opus-4-8.

Discover Compatible Models

Hermes' agent features work best with models that support tool/function calling. List them with:

List function-calling models

Supported Features

Troubleshooting

Multiple endpoints

If you use several OpenAI-compatible providers with Hermes, define Gab AI under the custom_providers list in config.yaml and switch during a chat with /model custom:gab-ai:arya.

hermes model
# Select "Custom endpoint (self-hosted / VLLM / etc.)", then enter:
#   API base URL: https://gab.ai/v1
#   API key:      YOUR_GAB_API_KEY
#   Model name:   arya   (or any slug from /v1/models)
model:
  default: arya
  provider: custom
  base_url: https://gab.ai/v1
  api_key: YOUR_GAB_API_KEY

Model slug case sensitivity

The model name must exactly match a slug returned by GET /v1/models — lowercase, hyphenated, no dots. "Claude Opus 4.8" or "claude opus" will return 400 invalid_model; use claude-opus-4-8.

curl https://gab.ai/v1/models \\
  -H "Authorization: Bearer YOUR_GAB_API_KEY" \\
  | jq -r '.data[] | select(.capabilities.function_calling and .capabilities.text) | .id'

Multiple endpoints

If you use several OpenAI-compatible providers with Hermes, define Gab AI under the custom_providers list in config.yaml and switch during a chat with /model custom:gab-ai:arya.