Hermes Agent CLI Cheatsheet - Nous Terminal Multi-Backend AI Agent
All Hermes Agent terminal AI-agent commands in one place — from one-line install to model/tool config, gateway, and setup wizard — organized by scenario. Copy and go.
Install & Launch 6
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bashpipx install hermes-agentpip install hermes-agenthermeshermes --versionhermes doctorModel & Tool Config 5
hermes modelhermes toolshermes config set <key> <value>hermes config set terminal.backend dockerhermes config set terminal.backend sshGateway & Wizard 4
hermes setuphermes gatewayhermes chatdocker run --rm -it -v ~/.hermes:/root/.hermes -e OPENAI_API_KEY=$OPENAI_API_KEY nousresearch/hermes-agent:latestTips
- Hermes is model-agnostic: run `hermes setup` once to wire up 20+ backends (OpenRouter, Kimi, DeepSeek, OpenAI) instead of configuring each tool separately.
- Before running tasks in untrusted environments, set `hermes config set terminal.backend docker` to isolate execution in a sandbox rather than touching the host.
- Run `hermes doctor` first when something breaks — it lists missing dependencies and config issues directly, saving blind retries.
FAQ
Which model backends does Hermes Agent support?
It supports 20+ backends including OpenRouter (100+ models), DeepSeek, Kimi/Moonshot, OpenAI, Google Gemini, Groq, Ollama, vLLM, and any OpenAI-compatible endpoint, configured via the `hermes model` wizard on first run.
How does Hermes Agent isolate its execution environment?
Switch the execution backend with `hermes config set terminal.backend`: local runs on the host, docker sandboxes tool execution, ssh delegates to a remote host, and daytona/modal provide ephemeral dev environments or serverless GPU.
Official References
Each command links to its official documentation below, so you can verify the latest usage and read deeper.
Maintained by LaoHand
Publicly updated on Aug 26, 2026, continuously proofread against official docs.
Contact Us
Wrong command or description? Send us corrections, business inquiries or product feedback by email.
Contact UsEdit this page on GitHub
Edit the source file directly and open a PR to improve this cheatsheet.