How to set up Hermes Agent

Set up Hermes Agent step by step: desktop or terminal install, choosing a model provider, a first chat, Telegram with pairing and safe approval settings.

Level

Intermediate

Time

6 steps · 6 min

Platform

Hermes Agent

Hermes Agent is an open-source personal agent from Nous Research. It runs on your own computer (cloud hosting is optional), keeps a persistent memory, writes its own skills and can talk to you through Telegram, Discord, Slack, WhatsApp, Signal or email (Hermes Agent docs).

The official quickstart’s rule of thumb: “if Hermes cannot complete a normal chat, do not add more features yet” (quickstart).

Choosing between the two open-source agents? See Hermes Agent vs OpenClaw.

What you need

  • A computer and a model. Desktop and OS details, the context-window requirement, and Nous Portal plans and prices are on the Hermes Agent page.
  • For always-on use: a machine that stays on, or optional cloud hosting through Nous Portal (official site).

Step 1. Install

The quickstart recommends the Hermes Desktop installer on macOS or Windows: download it from the official site and run it. It installs both the desktop app and the command line (quickstart). From v0.23.0 you can also open the Desktop workspace in a browser tab through your own gateway (webapp.enabled, off by default) (v0.23.0). A mobile app is in closed beta with a waitlist (Nous Research on X), so for now you set Hermes up on a computer or server as described here.

For a command-line-only install:

# Linux / macOS / WSL2
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)

Source: quickstart.

Step 2. Choose a model provider

The quickstart calls this “the single most important setup step” (quickstart). You have two routes.

Easiest: Nous Portal. On a fresh install, run:

hermes setup --portal

That logs you in, sets Nous as your provider and turns on the Tool Gateway (web search, image generation, speech and a cloud browser) in one go (quickstart).

Your own provider. Run hermes model and pick from the list; the quickstart includes subscription logins, API keys, and local models through endpoints such as Ollama or LM Studio. A plain hermes setup offers three modes (quickstart):

  • Quick Setup (Nous Portal): OAuth login, no API keys to manage.
  • Full Setup: walk through every provider, tool and option yourself.
  • Blank Slate: only the bare minimum is on, and you opt in to each tool yourself.

Moving from OpenClaw or a coding agent? A fresh hermes setup offers to import your existing setup when it finds one (quickstart).

Running a local model? Set its context size to at least 64K, for example -c 65536 for Ollama (quickstart).

Secrets go in ~/.hermes/.env and other settings in ~/.hermes/config.yaml; hermes config set puts each value in the right file (quickstart).

Step 3. Run a first chat

hermes --tui   # modern interface (recommended)
hermes         # classic CLI

You should see a banner with your model, tools and skills. It works if Hermes replies without errors, can use a tool when needed and keeps the conversation going for more than one turn. Then check that hermes --continue brings you back to the same session (quickstart).

A first prompt that’s easy to check and can’t do harm:

For a full role with skills, paste the prompt from our research analyst agent; Hermes supports skills natively. For code work, see the developer agent.

Step 4. Connect a chat app

Only once the base chat works (quickstart):

hermes gateway setup

From v0.23.0 one gateway owns every conversation across CLI, Desktop, editors, bots and cron, including Group Chats with a lead bot or auto-routing (v0.23.0). This connects Telegram, Discord, Slack, WhatsApp, Signal, email, Microsoft Teams and more. By default nobody can talk to your bot: with no allowlists configured, “all users are denied” (security docs). Use pairing to let yourself in: an unknown user who messages the bot gets an 8-character code, and you approve it on your computer:

hermes pairing approve telegram <CODE>

Codes expire after one hour (security docs).

Step 5. Set safe approvals

Hermes checks commands against a list of dangerous patterns and asks you before running them. The approval mode lives in ~/.hermes/config.yaml (security docs):

  • smart (default): a helper model approves low-risk commands, denies dangerous ones and asks you about the rest.
  • manual: always asks you on dangerous commands.
  • off: no checks at all, the same as --yolo.

Keep smart or manual. The docs say to use off “only in trusted environments”. For extra safety, run commands in a Docker sandbox:

hermes config set terminal.backend docker

From the docs’ deployment checklist: never set GATEWAY_ALLOW_ALL_USERS=true in production, never run the gateway as root, and run hermes update regularly for security patches (security docs).

For approval rules that work in any agent, see House rules for your AI bots.

Step 6. Add schedules and skills

Hermes can schedule reports, backups and briefings in plain language, running unattended through the gateway (official site). The quickstart advises adding cron “only after your bot or CLI setup is stable”, and browsing skills with hermes skills browse (quickstart). You can also add skills, plugins and connectors from the Hermes Marketplace. A good first schedule: a morning briefing.

If something breaks

The quickstart’s recovery order: hermes doctor, hermes model, hermes setup, hermes sessions list, hermes --continue, hermes gateway status (quickstart).

A real limit

  • Stopped means stopped. A local agent that isn’t running won’t run scheduled tasks (official site). For always-on use, keep a machine running or use Nous Portal hosting.
  • Write guards aren’t a sandbox. The docs say the file denylist “does not sandbox a hostile or compromised agent”; the terminal tool can still reach those files (security docs). Use the Docker backend for real isolation.
  • “Always” means always. Commands you approve with “always” are saved and silently approved in every future session. Review them with hermes config edit (security docs).
  • You are the admin. Updates, backups and access are yours to manage.

Next steps

Sources

The newsletter

Best use cases. Copy a prompt.

Optional

Set up your team

Set up a whole team of roles with one prompt. Your agent asks you about 10 questions, then shows you a plan. It builds nothing until you say OK, and your Chief of Staff leads the team.

  1. Paste it into your agent
  2. Answer about 10 questions
  3. OK the plan
Which mode does your agent use?

Your agent checks this itself when you start. A: it creates the bots. B: you create them from its setup packs. C: one agent plays every role.

  • Grok Bot: A, B or C. It can create focused bots after you OK the plan, or you make them yourself.
  • ChatGPT dots: C. Its help pages describe one dot, so your dot plays each role in turn.
  • Claude Duet: C. One Duet plays each role, and channels you start share its memory.
  • OpenClaw: A, B or C. It can ask for new agents, and each one is made only after you approve it.
  • Hermes Agent: B or C. You create each agent as a profile, and Hermes can set up its own scheduled jobs.

ChatGPT dots is for Pro (18+) and, in a gradual rollout, selected Plus users, outside the EEA, Switzerland and the UK; Business Standard and Premium in supported regions; and Enterprise, Edu and Healthcare workspaces (on by default since 18 Nov 2026 unless the admin opts out). Claude Duet is a research preview for Pro, Max and Ultra plans in the US, India, Indonesia, Brazil and Japan, through a waitlist.

Prompt refreshed

Already have a team? Paste the same prompt and say "team check-up".