@opengonka-com/hermes-setup
v0.1.0
Published
Gonka Router onboarding helper for configuring Hermes Agent.
Maintainers
Readme
@opengonka-com/hermes-setup
Point hermes-agent at the Gonka Router OpenAI-compatible
endpoint in one npx command.
npx @opengonka-com/hermes-setup
Need an account / API key? Register and issue a
gnk-sk-…key at https://opengonka.com. The installer also prints this link as a clickable terminal link right before it asks for your key.
Overview
@opengonka-com/hermes-setup is a small onboarding helper for people who
use hermes-agent and want it configured to use Gonka Router without
manually editing ~/.hermes/config.yaml or ~/.hermes/.env.
It configures Hermes to use:
provider: custombase_url: https://node.gonka.lat/v1
Is This For You?
This helper is for you if you want Hermes to use Gonka Router as its primary
OpenAI-compatible endpoint through provider: custom and
https://node.gonka.lat/v1.
You should also have:
hermes-agentavailable on your machine- Hermes Agent
v2026.5.16/v0.14.0or newer - a Gonka Router API key (
gnk-sk-…) — get one at https://opengonka.com - an interactive terminal
- Linux, macOS, or WSL2
What Happens During Setup
In plain language, the helper:
- finds the active Hermes config, including
--profile <name>if you use one - prints an active (clickable) registration link so unregistered users can sign up and create a key
- asks for your Gonka Router key through a hidden prompt
- calls
GET https://node.gonka.lat/v1/models, compares the live catalog with the checked-in launch qualification artifacts, and offers only currently qualified models - writes the minimum Hermes settings needed for Gonka Router
- rolls back if a later write fails
A successful GET /v1/models check confirms auth and model visibility only. It
does not prove billing, quota, or first-request readiness.
What It Changes
The helper manages these Hermes files:
~/.hermes/config.yaml~/.hermes/.env
When setup succeeds, the helper writes only the Gonka-Router-managed surface:
model.provider = custommodel.base_url = https://node.gonka.lat/v1model.default = <selected model>model.api_key = ${GONKA_ROUTER_API_KEY}GONKA_ROUTER_API_KEY(your raw key, stored only in~/.hermes/.env)
Your raw key is stored only in ~/.hermes/.env. It is never written to
config.yaml; the config only stores the ${GONKA_ROUTER_API_KEY} reference.
Important Limits
The helper intentionally stays narrow:
- it does not replace
hermes setup - it does not support legacy endpoint paths such as
OPENAI_BASE_URL,LLM_MODEL, root-levelprovider/base_url, or legacycustom_providers - it does not accept arbitrary custom base URLs
- it does not mutate shell profiles or
auth.jsoncredential pools - it does not support native Windows
- it does not claim full first-request verification beyond
GET /v1/models
The current checked-in launch qualification artifacts include:
moonshotai/Kimi-K2.6(recommended default)MiniMaxAI/MiniMax-M2.7Qwen/Qwen3-235B-A22B-Instruct-2507-FP8
Configuration source of truth
Everything that identifies the deployment lives in
src/constants/contract.ts:
| Constant | Value |
| ------------------ | --------------------------- |
| canonicalBaseUrl | https://node.gonka.lat/v1 |
| registrationUrl | https://opengonka.com |
| apiKeyEnvVar | GONKA_ROUTER_API_KEY |
| apiKeyPrefix | gnk-sk- |
Change those values to retarget the installer at a different router/hub.
