Agents

How to set up Kimi K3 in Hermes Agent with OpenRouter

Set up Kimi K3 in Hermes Agent with one OpenRouter API key and one config.yaml file, then check that the model responds.

4 min · 2026-07-22 · Watch on YouTube

The main idea

In the video I show how to run the Kimi K3 model in Hermes Agent through OpenRouter. Kimi K3 is Moonshot's new open-weight model. It is a trillion-scale mixture of experts with a 1 million token context window, and it is ranked number one for front end code. Hermes Agent is one of the most popular agents on OpenRouter. It is also the most popular agent for running Kimi K3 right now, so that is the setup I use.

The setup takes a few steps. First, install Hermes Agent. I already had it, so I skipped this step. Second, sign up for OpenRouter, open the API keys section in your workspace, and create a key. Do not share the key with anyone. Add the key to the Hermes .env file. Third, copy the config.yaml from my GitHub repo into your Hermes config.yaml. The config sets the provider to OpenRouter and the default model to Kimi K3.

Then I start Hermes. It shows that the model in use is Kimi K3, and it answers when I say hello. I also asked it which model it is. It said Kimi K3. I mention this because some posts on Twitter say Kimi K3 claims to be Claude. All the steps, the config, and the exact commands are in the GitHub repo linked in the description.

Key points

Free · by emailGet the next AI tip by emailOne short tip like this one when a new one is ready. Free. Unsubscribe any time.

More CloudYeti videos