SysArt
Book a briefing
SysArt

AI agents

Hermes Agent: What It Is, How to Set It Up and How to Run It Safely

Hermes Agent explained: how Nous Research's open-source agent works, how to install it, its skills, memory and local models, and how to run it safely at work.

Last reviewed by SysArt AI Architecture Team11 min readHow we review

In short

Hermes Agent is a free, MIT-licensed AI agent from Nous Research that runs on your own computer or server and works through a terminal, a desktop app or chat apps. It can use hosted or local models and learns by writing its own skills and memory. At work, isolate it and switch on approvals and review gates.

Key takeaways

  • Hermes Agent is a free, MIT-licensed agent from Nous Research that acts through a terminal, a desktop app and chat apps, with more than 40 tools and a wide choice of hosted and local models.
  • Its learning loop writes skills and memory on its own, and both write-approval gates are off by default, so a manipulated web page or email can become a standing instruction unless writes are reviewed.
  • The project's security policy treats only operating-system isolation as a security boundary: approvals, redaction and skill scanning are heuristics, and commands run on the host by default.
  • As of 13 November 2026, the US National Vulnerability Database held 45 CVE records for Hermes Agent, while the project had published no security advisories of its own, so patching depends on watching releases and CVE feeds.
  • Enterprises should block unmanaged installs and offer one managed deployment: whole-agent isolation, manual approvals, reviewed skills and memory, scoped credentials, an egress allowlist, a retention period and AI literacy training.
A marble statue of Hermes holding the infant Dionysus against a dark red wall

What is Hermes Agent?

Hermes Agent is an open-source AI agent from Nous Research that runs on your own computer or server, including a rented virtual private server (VPS), and works for you through a terminal, a desktop app or chat apps. It is MIT-licensed, free to self-host and works with hosted or local models.

An AI agent is software in which a language model decides on actions and the program carries them out with real permissions. Hermes provides more than 40 tools, covering the shell, files, a browser, web search, scheduled jobs and sub-agents. Its distinguishing feature is a learning loop: after complex tasks it writes reusable skills, refines them in use and builds a profile of its user across sessions.

As of 13 November 2026, the latest stable release is v0.23.1, the 48th stable release on GitHub since 12 March 2026.

How does Hermes Agent work?

An agent loop sends your request, the agent’s memory and its tool definitions to a model, runs the tools the model asks for and repeats until the task is done.

  • The agent loop. Each turn, Hermes builds a system prompt from its instructions, memory, project files such as AGENTS.md and its tool schemas, calls the model, runs any tool calls and feeds the results back. Every session is saved to a local SQLite database.
  • Interfaces. The same agent answers in the terminal, in Hermes Desktop and through the messaging gateway, a background process that connects it to Telegram, Slack, Microsoft Teams, WhatsApp, Signal, email and other platforms. An OpenAI-compatible API server serves other front ends, such as Open WebUI.
  • Execution backends. Commands run directly on the host by default. Built-in alternatives run them in Docker, over SSH on another machine, or in cloud sandboxes from Modal, Daytona or Vercel.
  • Models. Hermes supports Nous Portal, OpenRouter, Anthropic’s Claude, OpenAI, DeepSeek, AWS Bedrock, Google Vertex AI and others, plus any OpenAI-compatible endpoint, including servers you run yourself.

How do Hermes Agent skills and memory work?

Skills store procedures and memory stores facts. Hermes writes both itself, and by default it does so without asking.

Skills. A skill is a folder with a SKILL.md instruction file in the open Agent Skills format, kept in ~/.hermes/skills/ and loaded only when a task calls for it; our article on agent skills in the enterprise explains the format and its risks. Bundled skills include one for Obsidian vaults. An optional official skill builds an LLM wiki, Andrej Karpathy’s pattern for an interlinked Markdown knowledge base; we compare it with retrieval in LLM wiki vs RAG. Community skills install from hubs such as skills.sh, ClawHub and GitHub after a security scan.

The agent also creates, patches and deletes its own skills, during a task and in a background review afterwards; a curator archives those left unused for 30 days.

Memory. Two small files in ~/.hermes/memories/ hold the agent’s notes (MEMORY.md) and a profile of you (USER.md), loaded into the system prompt when a session starts. A search tool reaches older conversations, and optional providers such as Honcho sync conversation turns to an external service.

Why the defaults matter. skills.write_approval and memory.write_approval are both false by default, so a manipulated web page or email can become a standing instruction in later sessions. Set both to true to stage every write for review with /skills pending and /memory pending, as the documentation suggests for secure environments and small models.

Does Hermes Agent support MCP?

Yes. Hermes is a client for the Model Context Protocol (MCP), the open standard for connecting agents to external tools and data. It connects to the local (stdio) and remote (HTTP) servers listed in config.yaml and registers their tools at start-up.

You can include or exclude tools per server, local servers receive only a basic environment plus the variables you declare, and servers marked untrusted trigger a prompt before write-capable calls. Installing an entry from Hermes’ catalogue of MCP servers, which Nous staff review, runs the commands in its manifest, so read it first: one entry tracked a mutable upstream branch instead of a pinned commit, which VulnCheck rated critical (CVE-2026-82021, fixed in v0.19.0).

Local MCP servers run as subprocesses of the agent, so a terminal sandbox does not contain them; only isolating the whole agent does. Our guide to MCP security covers server vetting and permissions.

How do you install and set up Hermes Agent?

Run the official installer, then hermes setup to choose a model provider, tools and chat platforms. On Linux, macOS or WSL2:

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

hermes model switches models, hermes gateway setup connects chat platforms and hermes doctor diagnoses problems. The installer also adds a Chromium browser and a computer-use driver unless you pass --skip-browser and --skip-computer-use.

Use only official sources: hermes-agent.nousresearch.com, the NousResearch organisation on GitHub and the nousresearch namespace on Docker Hub. The project warns that look-alike domains copy its branding, and installs through pip or Homebrew are unsupported.

Hermes Agent on Windows

Hermes runs natively on Windows 10 and 11. The PowerShell installer, iex (irm https://hermes-agent.nousresearch.com/install.ps1), needs no administrator rights, installs under %LOCALAPPDATA%\hermes and runs commands through Git Bash; WSL2 also works. If antivirus flags the bundled uv.exe, the README suggests excluding the Hermes folder from scanning. On managed devices, that is the security team’s decision.

Hermes Agent in Docker

The official image, nousresearch/hermes-agent, keeps all state, including keys, sessions, skills and memory, in a mounted /opt/data directory and runs as a non-root user. Run setup once, then gateway run; to update, pull a new image, and pin a digest in production.

Desktop app, web UI and Kanban

  • Hermes Desktop uses the same configuration, sessions and memory as the command line, with packages for macOS on Apple Silicon and for Windows; its Local Models screen runs llama.cpp for you.
  • Web UI. hermes dashboard serves an administration panel on 127.0.0.1:9119, and hermes webapp serves the Desktop workspace in a browser.
  • Kanban is a task board that lets several Hermes profiles hand work to each other, each worker running as its own process.

Can Hermes Agent run on local models with Ollama?

Yes. Hermes works with any OpenAI-compatible server, including Ollama, vLLM, SGLang, llama.cpp and LM Studio, so prompts and files can stay on your infrastructure.

For Ollama, pull a model that supports tool calling, run hermes model, choose a custom endpoint and enter http://localhost:11434/v1. Hermes needs a context window of at least 64,000 tokens, while Ollama can default to 4,096 tokens on GPUs with less than 24 GB of memory, so set OLLAMA_CONTEXT_LENGTH=64000 on the server. Our comparison of vLLM, Ollama, llama.cpp and SGLang explains which engine suits a shared GPU server.

A local model does not make the whole deployment local:

  • Side tasks such as context compression and smart approvals use the main model by default; keep it that way.
  • The Nous Tool Gateway, hosted web search, cloud memory providers and cloud sandboxes send data to third parties; Modal and Daytona sandboxes receive copies of skills and credential files.
  • Pin the provider and endpoint in managed scope (see below) so users cannot override them, and block other model APIs at the network edge.
  • Small models are less reliable with tools; the documentation notes that models under roughly 30 billion parameters often claim saves they never made.

How much does Hermes Agent cost?

Hermes Agent is free; you pay for models, paid tools and infrastructure. Nous Portal is an optional subscription covering more than 300 models and, on paid plans, a Tool Gateway for web search, image generation, text-to-speech and a cloud browser. As of 13 November 2026, Nous lists Free, Plus, Super and Ultra plans and Hermes Business for teams; check prices on the Portal. Paid plans include one Hermes Cloud agent, which Nous runs in the nearest available region. The Portal routes models through OpenRouter and other providers, and that routing can change, so review it as a chain of processors.

Is Hermes Agent safe for work?

Not as an unmanaged install on a staff laptop. It can run with acceptable risk only as managed software isolated at the operating-system level, because by default it acts with the user’s permissions and rewrites its own instructions without review.

The project’s security policy calls Hermes a single-tenant personal agent and names the operating system as the only security boundary against a manipulated model; approvals, output redaction, the Skills Guard scanner and tool allowlists are heuristics. Prompt injection, meaning instructions hidden in content the agent reads, counts as a vulnerability only if it leads to an outcome such as a sandbox escape or a credential leak. Everyone authorised on a channel is equally trusted, and profiles under one operating-system user are not separate tenants.

The defaults favour capability: commands run on the host, smart mode lets a model auto-approve low-risk flagged commands, and transcripts stay until pruned. The project’s work-machine guide recommends manual approvals, deny rules and a container backend, but notes that such rules stop honest mistakes, not a hostile process.

On 13 November 2026, searches of the US National Vulnerability Database returned 45 Common Vulnerabilities and Exposures (CVE) records for Hermes Agent: 39 assigned by VulDB, five by VulnCheck and one by CERT/CC. In 28 VulDB records the vendor did not respond, and several concern bypasses of checks the policy treats as heuristics. One high-severity flaw, CVE-2026-71963, let a crafted repository run commands and expose provider API keys once a user opened it and sent a message. The project has published no security advisories of its own on GitHub, runs no bug bounty and uses a 90-day disclosure window.

How does Hermes Agent compare with OpenClaw?

Both are MIT-licensed, self-hosted personal agents built for one trusted operator, and both run commands on the host unless you configure isolation. Hermes differs in its learning loop, which writes skills and memory without approval by default, and in a policy that recognises only operating-system isolation as a security boundary. Our OpenClaw security article compares the two in detail.

How should an enterprise run Hermes Agent?

Restrict it: block unmanaged installs on corporate devices and accounts, and offer one managed deployment with the controls below. Our guide to shadow AI discovery and governance covers finding existing use; for Hermes, look for ~/.hermes or %LOCALAPPDATA%\hermes directories, listeners on ports 9119, 9120 or 8642, the nousresearch/hermes-agent image and new chat-bot tokens.

SettingDefaultFor work
Where commands runOn the hostWhole agent in the official container or an NVIDIA OpenShell sandbox
Command approvalssmart: a model auto-approves low-risk flagged commandsmanual, plus approvals.deny rules and named approvers
Skill and memory writesSaved without reviewwrite_approval: true for both
Session historyKept until prunedsessions.auto_prune: true with a set retention_days
Outbound networkWhatever the host allows; the Compose file uses host networkingInternal network behind an allowlisting egress proxy
Messaging accessDenied until allowlists or pairing are setExplicit allowlists; never allow all users
ConfigurationControlled by each userKey settings pinned in managed scope (/etc/hermes)
  • Isolate per trust boundary. Run one instance per person, or per group whose members trust each other, in its own operating-system account or container, never as root. For untrusted input such as web pages, email, shared channels or third-party MCP servers, the policy supports only whole-agent isolation.
  • Scope credentials. Issue the agent its own revocable, least-privilege keys from a secret manager such as 1Password or Bitwarden, and never connect personal accounts. Set auth.adopt_external_logins: false so Hermes does not reuse Claude Code or Codex CLI logins.
  • Review extensions as code. Skills can execute Python when they load and plugins run with the agent’s privileges, so read the code, pin versions and lock critical skills with hermes curator lock.
  • Log and patch. Collect ~/.hermes/logs/ centrally, keep secret redaction on, watch release notes and CVE records, and roll out tested updates promptly.

What do the GDPR and the EU AI Act require when staff use Hermes Agent?

Both apply as soon as Hermes is used for work: the organisation stays responsible for the personal data the agent processes and must support the AI literacy of the staff who use it. This article is not legal advice.

GDPR. An agent connected to mailboxes, chats and files processes personal data about colleagues and customers, and passes it to the model provider, chat platforms and any memory or tool service you enable. The organisation must apply appropriate security measures and carry out a data protection impact assessment (DPIA) before processing likely to result in a high risk. A breach that puts people at risk, such as a hijacked agent with mailbox access, must be reported to the supervisory authority without undue delay and within 72 hours of becoming aware of it. Data should be kept no longer than necessary, yet Hermes keeps transcripts until they are pruned and maintains a standing profile of its user, so set retention before rollout and tell staff what the agent records about them.

EU AI Act. Article 4, as amended by the Digital Omnibus on AI, requires providers and deployers to take measures to support the AI literacy of their staff. No particular level or certificate is required, and national market surveillance authorities supervise the duty from 2 August 2026. The European Commission says staff using generative AI at work should learn about risks such as hallucination. For an agent, add prompt injection, self-written skills and memory, approval fatigue and accounts that must never be connected. See AI literacy under Article 4.

Further obligations depend on the use case and your role, so confirm specific cases with qualified counsel.

How SysArt helps

SysArt helps security and governance teams decide where personal AI agents such as Hermes Agent may run, find the installations already in use and put controls, policies and evidence around them. As part of our enterprise AI agents work, we implement governed agents on infrastructure you control, with private models, isolated execution, reviewed skills, scoped credentials and logging, independent of any one agent vendor.

Featured image by Vasilis Caravitis on Unsplash.

Frequently asked questions

What is Hermes Agent?

Hermes Agent is an open-source AI agent built by Nous Research and released under the MIT licence. It runs on your own computer or server, acts through a terminal, a desktop app or chat apps such as Telegram and Slack, and uses tools for the shell, files, a browser and the web. Its learning loop saves reusable skills and memories, so it adapts to the way you work.

How much does Hermes Agent cost?

Hermes Agent is free and MIT-licensed. You pay for the models it calls, any paid tools and the infrastructure it runs on; local models avoid per-token fees. Nous Portal is an optional subscription with a Free plan and paid plans that include usage of more than 300 models, a Tool Gateway for web search, images, speech and a cloud browser, and one Hermes Cloud agent. Check current prices on the Portal.

How do I install Hermes Agent on Windows?

Hermes runs natively on Windows 10 and 11. Open PowerShell and run the one-line installer from hermes-agent.nousresearch.com, which needs no administrator rights and installs into your user profile. Then run hermes setup to choose a model provider and tools. A desktop package installs through Windows App Installer or the Microsoft Store, and WSL2 with the Linux installer also works. Download only from nousresearch.com domains.

Can I run Hermes Agent with Ollama?

Yes. Pull a model that supports tool calling, run hermes model, choose a custom endpoint and enter http://localhost:11434/v1. Hermes needs a context window of at least 64,000 tokens and rejects smaller ones, while Ollama can default to 4,096 tokens on smaller GPUs, so set OLLAMA_CONTEXT_LENGTH=64000 on the server. Keep side tasks on the same model and avoid hosted tools if data must stay in-house.

Is Hermes Agent safe?

Not by default in an enterprise. Commands run on the host with the user's permissions, a model can auto-approve low-risk commands, and the agent writes its own skills and memory without review. Its security policy says only operating-system isolation is a real boundary. Run it in a container or NVIDIA OpenShell with manual approvals, review gates, scoped credentials and restricted outbound traffic, and patch it promptly.

Does Hermes Agent support MCP?

Yes. Hermes connects to local stdio and remote HTTP MCP servers listed in its config.yaml and registers their tools at start-up. You can include or exclude tools per server, local servers receive a filtered environment, and servers marked untrusted prompt before write actions. Local MCP servers run as subprocesses of the agent, so only isolating the whole agent contains them. Review each server like any other third-party code.

Can Hermes Agent run in Docker?

Yes. The official image is nousresearch/hermes-agent on Docker Hub. It keeps configuration, keys, sessions, skills and memory in a mounted /opt/data directory and runs as a non-root user. Run the setup wizard once, then start the container with gateway run. Containers do not update themselves, so pull new images and pin digests, and replace the Compose file's host networking with an egress allowlist in production.

Related insights

Plan your private AI with people who build it

Book a briefing. We look at your use case, data and constraints, and you leave with the deployment options and governance steps that fit.