Client setup
Hermes Setup Guide
Install Hermes Agent and configure an Anthropic Messages or Codex Responses provider, model and API key.
Connect Hermes to ZhenAPI. Use the interactive script to select a channel and save the configuration.
Recommended: Interactive setup script
Choose a channel and enter your API key. The script writes the configuration to ~/.hermes/config.yaml.
BASH
1curl -fsSL https://zhenapi.ai/install/hermes.sh | bash 💡 The script prompts for your API key. First open API Keys, create a key for the appropriate group, and paste it when prompted.
The Claude / Anthropic endpoint must not include /v1; the OpenAI / Codex endpoint must include /v1.
Step 1: Install Hermes
BASH
1pipx install hermes-agentStep 2: Choose a channel
YAML
1mkdir -p ~/.hermes2cat > ~/.hermes/config.yaml << 'EOF'3model:4 default: claude-opus-5-55 provider: zhenapi-claude6providers:7 zhenapi-claude:8 api_mode: anthropic_messages9 base_url: https://api.zhenapi.ai10 api_key: YOUR_API_KEY11 default_model: claude-opus-5-512 models:13 - claude-opus-5-514EOFYAML
1mkdir -p ~/.hermes2cat > ~/.hermes/config.yaml << 'EOF'3model:4 default: gpt-6.1-sol5 provider: zhenapi-codex6providers:7 zhenapi-codex:8 api_mode: codex_responses9 base_url: https://api.zhenapi.ai/v110 api_key: YOUR_API_KEY11 default_model: gpt-6.1-sol12 models:13 - gpt-6.1-sol14EOF 💡 First open API Keys, create an API key for the appropriate group, and replace
YOUR_API_KEY. Step 3: Start using the client
TERMINAL
1hermes