Hermes Agent Deployment Guide: Provider Choice and Tool Boundaries
A cautious guide to installing Hermes Agent and proving its model, tools, sessions, credentials, and gateway.
Install Hermes Agent as an operating baseline
Hermes Agent is not merely a command that answers questions. It connects a model provider to tools, sessions, skills, memory, and optional messaging gateways. Installation is complete only when the whole loop is usable: the model responds, a low-risk tool call works, sessions persist, and credentials stay outside the repository.
Use a narrow sequence: install the runtime, configure one provider, run a real chat, test one read-only tool request, and add integrations later. This keeps model failures separate from permission and service failures.
Install the official runtime
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bashReload the shell and verify:
source ~/.bashrc
# macOS normally uses: source ~/.zshrc
command -v hermes
hermes --version
hermes doctorThe usual per-user layout is ~/.hermes/hermes-agent/ for the runtime, ~/.local/bin/hermes for the launcher, ~/.hermes/config.yaml for settings, and ~/.hermes/.env for credentials. Keep secret files out of Git.
Configure one provider first
hermes modelNous Portal offers a quick setup path:
hermes setup --portalOther providers and OpenAI-compatible endpoints can be configured through the model wizard. For Ollama, LM Studio, vLLM, or SGLang, verify the base URL, model ID, API mode, and authentication independently.
Context size is a hard local-model constraint
Hermes requires at least 64,000 tokens of context for multi-step agent work. Local runtimes often default lower; configure an equivalent of --ctx-size 65536 when using llama.cpp.
Prove the first-run loop
hermes chat -q "Reply with: Hermes basic chat verification passed"Then run a read-only test:
hermes chat -q "Inspect the current directory and list project files without changing anything"Verify continuation:
hermes --continueOnly after this baseline works should you enable browser automation, code execution, MCP, delegation, or messaging.
Gateway comes last
hermes gateway setup
hermes gateway install
hermes gateway start
hermes gateway statusTelegram, Discord, Slack, WhatsApp, Signal, and Feishu adapters are operational layers on top of the CLI. Debug them separately through status and logs.
Acceptance checklist
- The hermes command is on PATH
- hermes doctor reports no blocking issue
- One provider and model are configured
- A normal chat succeeds
- A read-only tool test succeeds
- Session continuation works
- Credentials are not committed
- Gateway is added only after the CLI baseline is healthy