Hermes Agent is an open-source AI agent from Nous Research that you run yourself, in your terminal or through your chat apps. Most agents start every session from scratch. Hermes has a built-in learning loop: it saves what it learns about you, searches its own past conversations, and turns procedures it works through into reusable skills. It's MIT-licensed and works with whichever model provider you choose.

How Hermes works

PieceWhat it does
The agentChats, reasons and uses 40+ tools: web search, files, a terminal, a browser and more
MemoryTwo small files it keeps itself: notes about your environment, and a profile of your preferences. Both load at the start of every session.
Session searchSearches all your past conversations when it needs a detail that isn't in memory
SkillsInstruction folders built around a SKILL.md file, loaded only when needed. Hermes can create and improve its own.
GatewayOne process that lets you talk to the same agent from Telegram, Discord, Slack, WhatsApp, Signal or email
Terminal backendWhere its commands actually run: your machine, a Docker container, a remote server over SSH, or cloud sandboxes like Modal and Daytona

Cool things you can do

1. Teach it a procedure once. Walk Hermes through a task, then turn it into a skill:

PROMPT / COPY-PASTE
/learn how I just exported last month's invoices and renamed them by client

Next time, it loads that skill instead of working it out again. /learn also accepts a docs URL or pasted steps.

2. Message your agent from your phone. Run the gateway, connect Telegram or Slack, and send it a request on the go. It's the same agent, with the same memory and skills, as in your terminal.

3. Schedule jobs in plain language. Hermes can create, pause and edit its own scheduled jobs when you ask:

PROMPT / COPY-PASTE
Every weekday at 7:30am, check these three sites for new posts about
local-first apps, summarize anything new in five bullets, and send it
to me on Telegram. Skip the message if nothing changed.

Results go back to your chat, a file, or another platform. A job can also fire from a webhook instead of a clock.

4. Keep it away from your laptop. Switch the terminal backend to Docker, a cheap server over SSH, or Modal or Daytona, whose environments hibernate when idle. The agent works there, not in your home folder.

5. Bring your existing setup. Hermes can import settings, memories and skills from OpenClaw, Claude Code, Codex CLI or Cursor. Preview it first:

PROMPT / COPY-PASTE
hermes plugins install agent-importers
hermes import-agent claude-code --dry-run

Tips and tricks

  • Switch models without changing anything else. hermes model, or /model mid-chat, swaps the provider or model. Hermes supports OpenRouter, OpenAI, Nous Portal, your own endpoint and others.
  • Keep memory for what's always true. Memory is capped at about 1,300 tokens on purpose. Put lasting preferences there and let session search handle "what did we decide last week?"
  • Review what it saves. Set memory.write_approval: true in ~/.hermes/config.yaml and saves made outside the terminal wait for your approval.
  • Watch long sessions. /usage shows what a conversation is costing, and /compress shrinks its context.
  • Reuse skills elsewhere. Hermes skills follow the open Agent Skills format, the same SKILL.md structure other agents use.
  • Add any MCP server to give it more tools, the same way you would in Claude Code.

What to watch

  • By default it runs on your machine. The local backend gives the agent your real terminal and files. Use Docker or a remote backend for anything you don't fully trust.
  • Leave command approval on. Hermes checks commands against a list of dangerous patterns and asks before running them. Scheduled and unattended runs deny those commands by default. Keep it that way until you know what a job does.
  • Lock down the gateway. A chat bot with terminal access needs a guest list. The gateway denies anyone who isn't on your allowlist or paired through a one-time code. Don't loosen that.
  • It edits its own skills. That's the feature, and also why you should glance at ~/.hermes/skills/ now and then. Remove anything wrong before it gets reused.
  • Untrusted input is still a risk. It scans project context files for prompt injection, but web pages and emails can still carry instructions. Our prompt injection guide covers why.

Start here

  1. Install it on macOS, Linux or WSL2 (Windows has a PowerShell installer):
PROMPT / COPY-PASTE
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
hermes setup
  1. Pick a model with hermes model, then set terminal.backend: docker in ~/.hermes/config.yaml so commands run in a container.
  2. Do one real task with it, then /learn it as a skill.
  3. Schedule one small job and have it message you the result.

Go deeper: Hermes quickstart · Hermes security model · n8n · Subagents