---
title: "Hermes Agent: The Open-Source Agent That Writes Its Own Skills"
author: "Ecem Karaman"
source: "https://aiwithecem.com/guides/hermes-agent"
published: 2026-11-22
tools: ["Multi-Tool"]
topics: ["AI Agents","Skills"]
---

# Hermes Agent: The Open-Source Agent That Writes Its Own Skills

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.

> **In this guide**
> 1. [How Hermes works](#how-hermes-works)
> 2. [Cool things you can do](#cool-things-you-can-do)
> 3. [Tips and tricks](#tips-and-tricks)
> 4. [What to watch](#what-to-watch)
> 5. [Start here](#start-here)

## How Hermes works

| Piece | What it does |
|---|---|
| **The agent** | Chats, reasons and uses 40+ tools: web search, files, a terminal, a browser and more |
| **Memory** | Two small files it keeps itself: notes about your environment, and a profile of your preferences. Both load at the start of every session. |
| **Session search** | Searches all your past conversations when it needs a detail that isn't in memory |
| **Skills** | Instruction folders built around a `SKILL.md` file, loaded only when needed. Hermes can create and improve its own. |
| **Gateway** | One process that lets you talk to the same agent from Telegram, Discord, Slack, WhatsApp, Signal or email |
| **Terminal backend** | Where 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:

```text
/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:

```text
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:

```text
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](https://agentskills.io) 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](/guides/prompt-injection) covers why.

## Start here

1. **Install it** on macOS, Linux or WSL2 (Windows has a PowerShell installer):

```text
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
hermes setup
```

2. **Pick a model** with `hermes model`, then set `terminal.backend: docker` in `~/.hermes/config.yaml` so commands run in a container.
3. **Do one real task with it,** then `/learn` it as a skill.
4. **Schedule one small job** and have it message you the result.

**Details checked against [Hermes Agent's docs](https://hermes-agent.nousresearch.com/docs/) and [GitHub repo](https://github.com/NousResearch/hermes-agent) on November 22, 2026.**

**Go deeper:** [Hermes quickstart](https://hermes-agent.nousresearch.com/docs/getting-started/quickstart) · [Hermes security model](https://hermes-agent.nousresearch.com/docs/user-guide/security) · [n8n](/guides/n8n) · [Subagents](/guides/subagents)
