Hermes Agent
Nous Research's open-source, self-improving AI agent that runs as a persistent process, remembers across sessions, and reaches you from the terminal or 20+ messaging platforms.

Hermes Agent is an open-source AI agent from Nous Research that runs as a persistent process on a server, a GPU box, or a serverless backend, rather than as a one-off command in your terminal. It keeps a memory that survives across sessions, it writes and improves its own skills as it works, and you reach it either from a terminal or from more than 20 messaging platforms through a single gateway. It is released under the MIT license and is written mostly in Python.
Hermes is not primarily a code editor. It is closer to a long-running assistant that orchestrates other tools, including the coding agents on this wiki. Its official skills include delegating a coding task to OpenCode or to OpenAI Codex, which it drives through its terminal tools. That places Hermes one layer above a tool like Claude Code : where a coding agent runs the read-plan-edit-run loop itself, Hermes decides what to work on, remembers the context, and hands the editing to a specialist.
Where Hermes sits in the stack
Installation
Hermes installs with a single script on Linux, macOS, WSL2, and Android (Termux), or with one PowerShell command on native Windows.
# Linux, macOS, WSL2, Android (Termux)
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash# Native Windows PowerShell
iex (irm https://hermes-agent.nousresearch.com/install.ps1)After reloading your shell, log in and start the agent. The --portal flag sets Nous Portal as the model provider and enables the tool gateway.
source ~/.bashrc # or source ~/.zshrc
hermes setup --portal # OAuth login and first-run configuration
hermes # start the CLI, or: hermes --tuiTwo ways to use it
The first pattern is the messaging gateway. You configure a platform once, start the gateway, and then talk to the agent from your chat app of choice. The same slash commands work across every channel.
hermes gateway setup # interactive platform configuration
hermes gateway start # start the gateway, then message the bot
# in any conversation, shared slash commands work:
# /skills list and run skills
# /model switch the model
# /new start a fresh conversationThe second pattern is delegation. Hermes carries a bundled skill for handing a coding task to OpenCode. It drives the OpenCode CLI through its terminal tool, so Hermes keeps the memory and context while OpenCode does the file edits.
terminal(command="opencode run 'Add retry logic to API calls and update tests'",
workdir="~/project")Skills can also be invoked directly and stacked. For example, /github-pr-workflow /test-driven-development fix issue #123 and open a PR chains two skills into one instruction.
Typical workflow
How it compares
Hermes belongs in a different column from the terminal coding agents. It is a persistent, memory-backed orchestrator, not a stateless editor you launch per task.
| Hermes Agent | Claude Code | OpenCode | |
|---|---|---|---|
| Category | Persistent orchestrating agent | Coding agent | Coding agent |
| Runs as | Long-running server process | Per-session in your terminal | Per-session, with a server |
| Memory | Persistent across sessions | Per-session context | Per-session context |
| Reach | 20+ chat platforms plus CLI | Terminal, VS Code, desktop | Terminal, desktop, IDE, web |
| Does coding by | Delegating to OpenCode or Codex | Editing files itself | Editing files itself |
| Best for | An always-on assistant that coordinates tools | Deep Anthropic-native coding | Provider-agnostic coding |
When not to use it
- You want an in-editor coding assistant. Hermes runs as a server process and delegates editing to other agents. For file-by-file work in your IDE, use a coding agent such as Cline or a terminal agent such as OpenCode directly.
- You want the single best code editor. Hermes orchestrates specialists rather than being one. Deep coding still runs through OpenCode, Codex, or OpenHands .
- You do not want to run infrastructure. The gateway means managing platform tokens and a VPS or serverless backend. A local per-session CLI has far less operational overhead.
- You only need a quick one-shot task. The value of Hermes is persistence and memory over time. For a single edit, the setup is more than the job requires.
Further reading
- Hermes Agent documentation : official quickstart, skills, tools, and provider setup.
- Hermes Agent on GitHub : source and releases under the MIT license.
- OpenCode : the terminal coding agent Hermes delegates editing to.
- Open-source coding agents compared : where Hermes fits among the alternatives.
- What is agent memory? : the persistence that makes Hermes different.
- Multi-agent orchestration : the pattern Hermes uses to coordinate specialist agents.
Sources
- Hermes Agent documentation : definition, install, gateway, skills, tools, terminal backends, and providers.
- Hermes Agent on GitHub : MIT license, Python, and release metadata (v0.18.0, tag v2026.7.1, published 2026-07-01).
- OpenCode delegation skill : the bundled skill for handing coding tasks to OpenCode.