Skip to main content
All clients

Hermes

Personal agent configured from the command line.

Base URL
https://api.bf16.ai/v1
Protocol
openai-completions

Who this is for
Hermes users who want the full context window.

Commands show $BF16_API_KEY. Sign in to fill in your own key automatically.

  1. 1

    Export your key

    Hermes reads BF16_API_KEY from your environment.

    export BF16_API_KEY=sk-bf16-v1-...
  2. 2

    Point it at bf16

    hermes config set model.provider custom
    hermes config set model.base_url https://api.bf16.ai/v1
    hermes config set model.key_env BF16_API_KEY
    hermes config set model.default zai-org/glm-5.3-uncensored
    hermes config set model.context_length 1048576

How to know it worked

  • hermes config show reports the bf16 base URL.
  • curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"

Common errors

Symptom
Context is truncated well before 1M tokens.
Cause
model.context_length was left at its default.
Fix
Set it to 1048576, as the commands above do.

Do not have it yet?

curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
Official docs