Hermes Guide
Hermes is an AI Agent tool that supports connecting to GoRouter through a custom OpenAI-compatible interface.
Installation
Use the official installation script:
bash
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bashAfter installation, the default config directory is usually ~/.hermes.
Connect to GoRouter
Follow Create API Key to generate an API key.
Edit
~/.hermes/config.yamland add or confirm the following configuration:yamlmodel: default: "gpt-5.4" provider: "custom" base_url: "https://www.gorouter.cc/v1"Edit
~/.hermes/.envand write:envOPENAI_API_KEY=YOUR_GOROUTER_API_KEY OPENAI_BASE_URL=https://www.gorouter.cc/v1Replace
YOUR_GOROUTER_API_KEYwith your real API key.
Verify Configuration
After saving the configuration, run:
bash
hermes config check
hermes chat -Q -q 'Only reply OK' --max-turns 3If the command returns normally, Hermes has successfully called a model through GoRouter.