TUTORIAL
How to run Kimi K3 with Hermes Agent
Run Nous Research's Hermes Agent on Moonshot AI's Kimi K3 with a 1M-token context, served by Nebius Token Factory through NConnect. Setup takes about five minutes.
Hermes Agent from Nous Research is a terminal agent with persistent skills and memory. Kimi K3 is Moonshot AI's frontier open-weights model for coding and agentic tool use, with a 1,048,576-token context window. NConnect connects the two through Nebius Token Factory without touching your Hermes configuration.
Prerequisites
- macOS or Linux.
- A Nebius Token Factory API key from tokenfactory.nebius.com.
Steps
Install NConnect
This installs the CLI and the
nhermesalias, plus Bun if needed.curl -fsSL https://nconnect.sh/install.sh | bashAdd your Nebius API key
nconnect configureInstall Hermes Agent
Skip this if
hermesis already on your PATH. In an interactive terminal, NConnect also offers to run this for you the first time you launch Hermes Agent.curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bashLaunch Hermes Agent on Kimi K3
nconnect --model moonshotai/Kimi-K3 hermesHermes opens with a provider named
nconnectand Kimi K3 selected.
What NConnect does on launch
Hermes prefers its own saved credentials over environment variables, so NConnect gives each launch an isolated HERMES_HOME overlay:
- Sessions, skills, memories and preferences are linked back to your real Hermes home, so they stay native and resumable.
- Credentials, config and a temporary
nconnectprovider exist only inside the overlay. Your real Hermes home is never modified. - Every Nebius model is registered with the provider, with Kimi K3 first so it becomes the default. You can switch models inside Hermes.
Use the Hermes desktop app
The same launch works for the desktop app:
nconnect --model moonshotai/Kimi-K3 hermes desktopTrack cost and add fallback
Hermes Agent is a spawned harness, so by default it calls Nebius directly and NConnect reports $0.00. Route it through the daemon to meter every turn and get automatic fallback if Kimi K3 is busy:
NCONNECT_METER=1 nconnect --model moonshotai/Kimi-K3 hermesThen check spend with nconnect usage --last 7d. See Cost metering.
