Prerequisites
- A Kimi API key from the Kimi Platform
- macOS, Linux, or Windows (WSL2 only; native Windows is not supported)
Set up the Kimi API in Hermes Agent
Step 1: Install Hermes Agent
Run the one-line installer in your terminal:hermes command.

Step 2: Choose Kimi as your model provider
During the initial setup, you will be prompted to choose a model provider. Select Kimi/Moonshot from the list, then setkimi-k2.6 as your default model.


Step 3: Set up Kimi API in Hermes Agent
- Sign in to the Kimi Platform and top up your account. A $5 deposit includes a $5 bonus; a $20+ deposit unlocks Tier 2, providing lower latency and higher stability for complex multi-step tasks.

- Navigate to API Keys, click Create API Key, and save it in a secure location.

- Return to your terminal and enter your Kimi API key when prompted.

Step 4: Start chatting with Hermes Agent
After completing the configuration, launch the agent by typinghermes in your terminal to start your first session.

Troubleshooting Hermes Agent
When integrating Hermes Agent with a model provider, you may occasionally run into errors. Most errors come from misconfigured API keys, incorrect model identifiers, or provider-specific limitations. Below are the most common issues and how to fix them./model only shows one provider / can’t switch providers
- Cause: The
/modelcommand (used within a chat session) only allows you to switch between providers that have already been configured. - Solution: Exit the current session, then run
hermes modelin your terminal to add additional providers.
API key not working
- Cause: The API key is missing, expired, incorrectly configured, or associated with the wrong provider.
- Solution:
Model not available / model not found
- Cause: The specified model identifier is invalid or unsupported by your provider.
- Solution:
Rate limiting (429 errors)
- Cause: You’ve hit the rate limits set by your provider.
- Solution: Wait briefly and try again. For more consistent usage, consider upgrading your provider plan, switching to a different model or provider, or using
hermes chat --provider <alternative>to route requests to another backend.