Hermes Agent: install and first working chat
Guide · AI Practice · Education · Not affiliated with Nous Research
Goal: one clean CLI chat that survives a second turn. Do not wire Telegram, cron, or skills until that works. Hermes Agent is the open-source (MIT) agent from Nous Research — terminal-first, optional messaging gateway later.
This page compresses the official quickstart. Commands and UI drift; when in doubt, prefer their docs.
Topic summary · original diagrams · no autoplay
1) Install
macOS / Windows (recommended): download the Hermes Desktop installer from the official site, then use the CLI it provides.
Linux / macOS / WSL2 (CLI only):
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
source ~/.bashrc # or: source ~/.zshrc
Windows native (PowerShell):
iex (irm https://hermes-agent.nousresearch.com/install.ps1)
Pipe-to-shell installs require trust in the URL. Prefer Desktop if you want a signed path. After install, hermes should be on your PATH.
2) Pick a provider
hermes model
Or on a fresh machine, the fast path with Nous Portal:
hermes setup --portal
Secrets go in ~/.hermes/.env; non-secret settings in ~/.hermes/config.yaml. Prefer the CLI wizards so values land in the right file. Never commit API keys.
Context floor: Hermes expects a model with at least 64K tokens of context. Hosted Claude / GPT / Gemini usually qualify. Local models must be started with a large enough window (see the Ollama guide).
3) First chat + doctor
hermes doctor
hermes # classic CLI
# or
hermes --tui # TUI
Ask something verifiable, for example: summarize the current directory in five bullets and name the main entrypoint. Success means: banner shows your model, you get a reply, tools can run if needed, and a second turn still works.
hermes --continue # or: hermes -c
Resume should reopen the same session. If it cannot, fix sessions before adding a gateway.
When it breaks
hermes doctorhermes modelhermes setup- Plain chat again — only then
hermes gateway setup
Empty replies usually mean bad auth or model selection. Custom endpoints need a checked base URL + model name in a separate client first.
Out of scope here
- Messaging bots (next: Telegram gateway guide)
- Local-only backends (see Ollama guide)
- Reselling API access, cracking, or scraping third-party systems