# Hermes Agent

> An open-source, self-hosted personal agent from Nous Research: a background gateway with persistent memory and self-written skills that answers you from chat apps and can hand coding work to agents such as Claude Code. Run it in EnvHaven from any browser, signed in once with your own account, and keep it working 24/7; or install it on your own machine.

_Updated November 23, 2026 · Checked against Hermes Agent 0.19.0 in EnvHaven v1.9.0_

| At a glance |  |
| --- | --- |
| Made by | Nous Research |
| Command | `hermes` |
| Version checked | 0.19.0, in EnvHaven v1.9.0 |
| License | MIT, [source](https://github.com/NousResearch/hermes-agent) |
| Documentation | [hermes-agent.nousresearch.com/docs](https://hermes-agent.nousresearch.com/docs) |

## Use Hermes Agent in EnvHaven

1. Open your workspace in any browser, on a laptop, a tablet or a phone.
2. Tap **Launch**, choose Hermes Agent and tap **Sign in**: it runs `hermes setup` for you in the terminal. For an API key, choose **Set key** instead and paste `OPENROUTER_API_KEY`, `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, `GEMINI_API_KEY` or `GOOGLE_API_KEY`; the workspace keeps it write-only.
3. Start it with one tap: signed in, Hermes Agent gets a green dot in the Launch menu and an icon in the workspace's top bar. Support is built in (0.19.0), so there is nothing to install or update.
4. Give it a task. Runs with the default smart approvals; add `--yolo` for unattended runs.
5. Close the tab whenever you like. The workspace is an always-on Linux machine, so Hermes Agent keeps working, and every device you open it from shows the same session.

Every agent signs in with your own account: EnvHaven never resells tokens or adds a markup.

## Install Hermes Agent on another machine

Linux, macOS, WSL2:

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

Windows (PowerShell):

```bash
iex (irm https://hermes-agent.nousresearch.com/install.ps1)
```

## Sign in from the terminal

In a workspace the Launch menu does this for you. On any other machine, or when you would rather type it:

- Run `hermes setup` (or `hermes model`) to add providers, sign in over OAuth and store API keys.
- Or put keys in the environment or `~/.hermes/.env`: `OPENROUTER_API_KEY`, `ANTHROPIC_API_KEY`, `OPENAI_API_KEY` and others.
- Nous Portal (the recommended path), ChatGPT plans through Codex sign-in, and SuperGrok. A Claude Max plan works only through purchased extra-usage credits; Claude Pro does not.

## Run Hermes Agent without permission prompts

For one session:

```bash
hermes --yolo
```

As the default, in ~/.hermes/config.yaml:

```yaml
approvals:
  mode: off
```

The default approval mode, `smart`, has a second model approve low-risk commands, deny dangerous ones and ask about the rest. `--yolo` (or `/yolo` inside a session) bypasses all dangerous-command prompts.

**In EnvHaven:** Runs with the default smart approvals; add `--yolo` for unattended runs. The details, and when full access is safe, are on the [Hermes Agent full-access page](https://envhaven.com/yolo/hermes-agent).

## Instructions file

Hermes Agent reads `.hermes.md`, `HERMES.md`, `AGENTS.md`, `CLAUDE.md`, `.cursorrules`.

## Add MCP servers

```bash
hermes mcp add <name> --command <command> --args <arg> [<arg>...]
```

Or in ~/.hermes/config.yaml:

```yaml
mcp_servers:
  filesystem:
    command: "npx"
    args: ["-y", "@modelcontextprotocol/server-filesystem", "/config/workspace"]
```

`--args` must be the last option; `--url` adds an HTTP server. Hermes loads stdio servers through its optional `mcp` extra (`hermes-agent[mcp]`); without it, `hermes mcp add` reports that the mcp Python SDK is not installed. The Hermes 0.19.0 in EnvHaven 1.9.0 lacks that extra, so its MCP servers do not load yet.

The [MCP config converter](https://envhaven.com/mcp-config) writes the same server for every agent at once.

## Run it from scripts

```bash
hermes -z "<prompt>"
```

Headless runs cannot stop to ask, so they need the full-access setting above.

## Hermes Agent away from your desk

Hermes Agent keeps working only while the machine it runs on is awake. In EnvHaven that machine is the workspace, which never sleeps: start a task, close the laptop and check on it from a phone.

- [Hermes Agent in the browser](https://envhaven.com/agents/hermes-agent/browser)
- [Hermes Agent on iPhone](https://envhaven.com/agents/hermes-agent/iphone)
- [Hermes Agent on iPad](https://envhaven.com/agents/hermes-agent/ipad)
- [Hermes Agent on Android](https://envhaven.com/agents/hermes-agent/android)
- [Hermes Agent on a Chromebook](https://envhaven.com/agents/hermes-agent/chromebook)
- [Hermes Agent on Windows](https://envhaven.com/agents/hermes-agent/windows)
- [Hermes Agent on a VPS](https://envhaven.com/agents/hermes-agent/vps)
- [Hermes Agent in Docker](https://envhaven.com/agents/hermes-agent/docker)
- [Hermes Agent on a Raspberry Pi](https://envhaven.com/agents/hermes-agent/raspberry-pi)
- [Hermes Agent 24/7](https://envhaven.com/agents/hermes-agent/24-7)

Nous Research's own options:

- A messaging gateway: Telegram, Discord, Slack, WhatsApp, Signal, SMS, email, iMessage and more.
- A web dashboard (`hermes dashboard`) and a desktop app that can connect to a Hermes running on another machine.

## Compare Hermes Agent

- [Hermes Agent vs OpenCode](https://envhaven.com/compare/opencode-vs-hermes-agent)
- [Hermes Agent vs OpenClaw](https://envhaven.com/compare/openclaw-vs-hermes-agent)

## When Hermes Agent misbehaves

- [Hermes Agent: No inference provider configured. Run 'hermes model' to choose a provider and model](https://envhaven.com/errors/hermes-agent/no-inference-provider-configured)
- [Hermes Agent: SKILL.md must start with YAML frontmatter (---). See existing skills for format.](https://envhaven.com/errors/hermes-agent/skill-md-must-start-with-yaml-frontmatter)
- [Is Hermes Agent down?](https://envhaven.com/status/hermes-agent) Live status of the providers it depends on.

## Keep reading

- [Hermes Agent full-access mode](https://envhaven.com/yolo/hermes-agent)
- [Hermes Agent in the browser](https://envhaven.com/agents/hermes-agent/browser)
- [Hermes Agent on iPhone](https://envhaven.com/agents/hermes-agent/iphone)
- [Hermes Agent on iPad](https://envhaven.com/agents/hermes-agent/ipad)
- [Hermes Agent vs OpenCode](https://envhaven.com/compare/opencode-vs-hermes-agent)
- [Hermes Agent vs OpenClaw](https://envhaven.com/compare/openclaw-vs-hermes-agent)

Source: https://envhaven.com/agents/hermes-agent
