← lemonlink.eu All guides
Hermes · Foundations

Getting started with Hermes Agent

Hermes is an open-source AI agent from Nous Research that runs on your machine, remembers everything, learns skills, and answers you on Telegram, Discord, Slack and more — with full tool access, not just chat. This is the zero-to-useful path, in the order that avoids the classic mistakes.

Roberth · July 2026 · ~15 min read · Verified on Linux; macOS/Windows/WSL work too

1.What you're actually installing

Hermes isn't a chatbot — it's an agent loop with tools: a terminal, file access, web search, browser automation, scheduled jobs, and persistent memory. The same brain serves every surface: your terminal (hermes), a desktop app, a web dashboard, and a gateway that connects it to messaging platforms. I mostly talk to mine from my phone via Telegram while it works on my always-on box.

Three properties matter for how you set it up:

2.Install

# one-liner: sets up uv, Python, the venv, and the launcher
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash

# sanity check
hermes doctor

hermes doctor verifies dependencies and config — run it whenever something feels off; it's the first thing support will ask for anyway.

3.Pick a brain (provider + model)

hermes setup        # interactive wizard — model, terminal, gateway, tools
hermes model        # just the model/provider picker
Your situationGood default
Want one key for many modelsOpenRouter (OPENROUTER_API_KEY) — swap models without new accounts
Already pay for ChatGPT/ClaudeOAuth via hermes auth add — uses your subscription instead of API billing
Want free/cheap for routine workGoogle Gemini free tier, DeepSeek, or Kimi — see the cost table in the Optimizing Hermes guide
Fully offlineLocal model via custom endpoint (llama.cpp, vLLM, Ollama)
Tip

Start with a mid-tier model, not the flagship. Hermes is tool-heavy; most turns are "run command, read output, decide next step" — a good mid-tier model does this at a fraction of the cost, and you can escalate per-task later (that's the whole point of the Optimizing Hermes guide).

4.First session — teach it who you are

Run hermes and have one real conversation. The single highest-leverage thing you can do in the first hour:

Prompt — day one

"Save to memory: my name, where I'm based, what I work on, how I like answers (direct, no fluff), and the machines/servers I have. Then summarize what you saved."

That memory is injected into every future session. It's the difference between an assistant that asks "what's your server's IP?" every time and one that already knows.

5.Put it where you live: the gateway

The gateway is Hermes' always-on messaging bridge. Telegram is the fastest to set up:

hermes gateway setup     # pick Telegram, paste bot token from @BotFather
hermes gateway install   # install as a background service
hermes gateway start
hermes gateway status

Message your bot, then in that chat run /sethome — this makes it the default delivery target for scheduled jobs and alerts. 20+ platforms are supported (Discord, Slack, WhatsApp, Signal, Matrix, Email...), same pattern.

Heads up

If the gateway dies when you log out of SSH, enable lingering: sudo loginctl enable-linger $USER. On WSL2 you need systemd=true in /etc/wsl.conf.

6.Tools — enable what you trust it with

hermes tools          # interactive picker
hermes tools list     # see everything

The defaults are sane. Worth knowing:

7.The safety dial: approvals

Hermes asks before running destructive commands. Three modes:

hermes config set approvals.mode manual   # always ask (default)
hermes config set approvals.mode smart    # auto-approve low-risk, ask on dangerous — recommended
hermes config set approvals.mode off      # never ask (YOLO — not recommended)

Start on manual. Move to smart once you've seen its judgment for a week. Leave secret redaction (security.redact_secrets) on forever — it scrubs API keys from tool output before they reach the model or logs.

8.Make it yours: SOUL.md and skills

Two files shape the agent more than any setting:

9.Your first automations

Once the gateway is up, scheduled jobs are one sentence away — from Telegram, even:

Prompt — first cron job

"Every morning at 8, check [thing you care about] and only message me if something needs attention. Silence is the default."

That's a durable cron job with Telegram delivery — no YAML, no crontab syntax. Manage them with hermes cron list or just ask the agent.

10.What to do in week one

  1. Day 1: install, provider, memory seed, gateway, /sethome.
  2. Day 2–3: give it one real task you'd normally SSH in for. Watch it work; correct it when it's wrong (corrections become memory).
  3. Day 4: first skill — "save how you just did that as a skill."
  4. Day 5: first cron job — something small and silent-by-default.
  5. Day 6–7: read ~/.hermes/SOUL.md and tune it. Switch approvals to smart if it earned it.

Command cheat sheet

CommandWhat it does
hermesInteractive chat
hermes chat -q "..."One-shot query
hermes setup / hermes modelWizards: full setup / just the model
hermes doctorHealth check (run this first when things break)
hermes gateway run|install|start|statusMessaging gateway lifecycle
hermes toolsEnable/disable toolsets
hermes skills browse|install|listSkill catalog
hermes cron list|createScheduled jobs
hermes insightsUsage & cost analytics
/new, /compress, /stopIn-session: fresh session, compress context, kill background work
Next guide

Optimizing Hermes →

Model routing on a budget, memory hygiene, skill curation, profiles, and the config knobs that separate a demo from a daily driver.

Official docs: hermes-agent.nousresearch.com/docs · Source: github.com/NousResearch/hermes-agent