GuidesGuideHermes Agent vs OpenClawDirectory

Hermes Agent vs OpenClaw: how each one remembers, and which fits you

Updated

Both are free, MIT-licensed personal assistants you run yourself, always on if you give them a machine to live on, and both talk to you on Telegram, WhatsApp, Slack and many other channels from a gateway that can run all day. The biggest difference is memory.

Hermes keeps a small, capped note about you and its work (about 1,300 tokens), loads it once at the start of each session, and searches its full chat history when it needs more. OpenClaw keeps open-ended Markdown files: a curated MEMORY.md, a USER.md and a dated note for each day. A background “dreaming” pass moves what matters into MEMORY.md, and semantic search covers the rest.

Choose OpenClaw if you want the widest set of channels, several agents or a shared team bot, and a project run by a non-profit foundation. Choose Hermes if you want one agent that writes its own skills and keeps a tight, inspectable memory. Each one can import the other’s memory files.

An AI drafted this page from the sources below and another AI checked it. No person has run these steps for this page: it’s a research summary of each project’s own repository and docs, read 3 December 2026. Both projects ship changes weekly, so check dates. Counterparts, which this page names, is ours.

“Hermes Agent” here means Nous Research’s agent at github.com/NousResearch/hermes-agent, the one most comparisons mean. Nous also makes open-weight language models called Hermes (Hermes 4, for example), and at least one ranking comparison describes a different “Hermes Agent” framework built around those models.

Side by side

Hermes Agent (Nous Research)OpenClaw (OpenClaw Foundation)
What’s always loaded

MEMORY.md (agent’s notes, 2,200 characters) and USER.md (you, 1,375 characters), as a snapshot frozen at session start

USER.md and MEMORY.md at session start when their provenance is trusted (see why below), refreshed each turn within a size budget; today’s and yesterday’s daily notes on a bare /new

Where it lives

~/.hermes/memories/, one set per profile

~/.openclaw/workspace (Markdown), with a search index in SQLite

Size limit

Hard caps by default (2,200 and 1,375 characters, set in config.yaml); a write that would overflow is refused, and the agent must merge or remove entries first

No cap on the files; the copy put into the prompt is cut short past its budget

Who writes it

The agent, through a memory tool, unprompted; a background review after turns can also save memories and skills

The agent writes notes as it works; a flush before compaction prompts it to save; dreaming (on by default) promotes items into MEMORY.md

Old conversations

Every session stored in ~/.hermes/state.db (on macOS and Linux); session_search (keyword search) finds past messages

sessions_search finds past transcripts (by default it can see every agent’s sessions on the gateway); adding transcripts to memory_search is opt-in

Search by meaning

Not built in; comes with a memory plugin

Built in (hybrid); OpenAI embeddings by default, local or keyword-only possible

Memory plugins

Honcho, Mem0, Hindsight, Supermemory, OpenViking, Holographic and others, alongside the built-in files

Honcho, LanceDB, plus a Memory Wiki layer

Approving saves

write_approval: true stages every save made through its memory tool for your yes or no (off by default)

An admission policy can exclude sources from memory; dreaming’s diary in DREAMS.md to review; openclaw memory forget to remove what a session added

Install

One-line script (macOS, Linux, WSL2, native Windows) or the Hermes Desktop app; Android via Termux

One-line script (macOS, Linux); Windows Hub app, PowerShell or WSL2; needs Node 24.22.1+ or 26.12.1+, which the script installs

Runs all day as

hermes gateway install (launchd or systemd service)

openclaw gateway install (background service)

Chat channels

Telegram, Discord, Slack, WhatsApp, Signal, SMS, Email, Matrix, iMessage (BlueBubbles or Photon), Home Assistant and more

Telegram, WhatsApp, Discord, Slack, Signal, iMessage, Matrix, Teams, SMS, X and over 20 more

Scheduled work

Built-in cron in plain language, delivered to any platform

Scheduled jobs, heartbeats, hooks and standing instructions

Cost

Free (MIT); you pay for the model (unless you run one locally) and any server, or run it on Hermes Cloud (paid, hosted; the model is billed on top). Optional Nous Portal subscription bundles models and tools

Free (MIT); no paid tier or hosted service. You pay for the model (API key or a ChatGPT/Codex sign-in) and any server

Which fits whom

  • You want one assistant on your phone that learns how you work. Hermes is built around that: it saves preferences unprompted, turns finished tasks into reusable skills, and its small memory stays cheap to load in every chat. Plan to type /new at natural breaks (see why below).
  • You want many channels, several agents, or a bot your household or team shares. OpenClaw’s gateway routes channels to separate agents, each with its own workspace and memory, and its docs treat a shared gateway as a first-class setup (for people who trust each other). By default the agent can search every session on the gateway, other people’s chats included; set tools.sessions.visibility to self or agent to narrow it.
  • You want memory you can read and edit as ordinary notes, with no size cap. OpenClaw’s daily notes and MEMORY.md are plain Markdown you can open, edit and keep in git. Hermes’s files are plain text too, but deliberately small.
  • You want every save to need your approval. Hermes has a switch for saves made through its memory tool (write_approval). OpenClaw’s controls work on sources and after the fact: an admission policy, the DREAMS.md diary, and openclaw memory forget.
  • You want a memory for the AI you already use, not a second agent running all day. Neither of these is that. Counterparts, which is ours, is one option; see below.

How Hermes Agent remembers

Hermes has four places memory can live:

  1. MEMORY.md: the agent’s notes on your setup, conventions and lessons learned, capped at 2,200 characters by default (about 8 to 15 entries).
  2. USER.md: your profile (name, timezone, how you like answers), capped at 1,375 characters by default.
  3. Session archive: every CLI and messaging session in SQLite at ~/.hermes/state.db. The session_search tool returns the actual past messages, not summaries.
  4. Skills: procedures the agent writes after a complex task and improves as it uses them. The docs suggest a skill as a better home than a memory entry for anything a recurring task needs every run.

Both files are injected into the system prompt once, when a session starts, and don’t change mid-session. That keeps the model provider’s prompt cache warm, so long chats stay cheaper. A fact saved now shows up in the next session.

Memory is per profile: hermes -p work reads a different folder from the default one. Entries are scanned for prompt-injection and credential-exfiltration patterns before they’re accepted, since they end up in the system prompt. hermes journey lists, edits and deletes what it has learned.

Why Hermes forgets

Hermes’s memory docs give these causes, the first one most common:

  • The save never happened. “Memory only persists when the model calls the memory tool; a sentence like ‘I’ve added that to my memory’ is just text.” Smaller local models (roughly under 30B parameters) often do this. Check with cat ~/.hermes/memories/MEMORY.md.
  • The save is waiting for approval, if you turned write_approval on. Run /memory pending.
  • You’re in a different profile from the one that saved it.
  • The chat never ended. On Telegram, Discord and the rest, a chat is one continuous session that survives restarts and reboots, so new memories never load and session search rarely fires. The docs’ advice: run /new at natural boundaries, such as a finished task or the start of a day.

How OpenClaw remembers

OpenClaw writes Markdown files into the agent’s workspace, ~/.openclaw/workspace by default. Its docs say plainly that “the model only remembers what gets saved to disk; there is no hidden state.”

  • USER.md: stable preferences written as directives, replaced in place when they change.
  • MEMORY.md: durable facts and decisions, loaded at session start. The FAQ says it loads in main and private sessions only.
  • memory/YYYY-MM-DD.md: daily notes with the detail. They’re indexed for search; only today’s and yesterday’s load by themselves.
  • DREAMS.md: the diary of the background dreaming pass, for you to review.

Dreaming is on by default. It runs as a scheduled job, scores what has been recalled often and from varied questions, and promotes only items that pass those checks into MEMORY.md. Our guide to dreaming in AI memory compares it with other tools’ versions. Before the conversation is compacted, a silent turn reminds the agent to save anything important (on by default).

memory_search combines meaning and keyword matching, weighted toward recent notes (a 30-day half-life). It uses OpenAI embeddings unless you choose another provider, so your note text goes to that provider for indexing. A local model or keyword-only mode keeps it on the machine.

Why OpenClaw forgets

  • The note is older than yesterday and the agent didn’t search for it. The detail is on disk, but only searched notes come back.
  • MEMORY.md outgrew its budget. The file stays whole on disk, but the copy in the prompt is truncated. /context list or openclaw doctor shows it.
  • The file was quarantined. If the last write to MEMORY.md or USER.md came after a web search or fetch, a browser or MCP tool result, or in a turn someone else started, OpenClaw leaves the file out of the prompt. To bring it back, review it and save an edit in the Control UI or an editor. openclaw doctor names the excluded file.
  • It was never written. The FAQ’s fix is to ask the bot to write the fact to memory, and to check the gateway uses the same workspace every run.
  • It wasn’t a main or private session. The FAQ says curated MEMORY.md is for “main/private sessions only”.

Setup, hosting and channels

Hermes Agent:

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

Native Windows uses iex (irm https://hermes-agent.nousresearch.com/install.ps1). hermes gateway setup connects messaging platforms, and hermes gateway install keeps it running as a service. If you would rather not run a server, Nous also sells Hermes Cloud, a hosted always-on Hermes billed from Nous credit (a $2 minimum or a subscription to deploy), read 3 December 2026. The README says it runs on “a $5 VPS, a GPU cluster, or serverless infrastructure,” and Modal or Daytona backends hibernate between sessions.

OpenClaw:

curl -fsSL https://openclaw.ai/install.sh | bash

The installer adds Node if needed and starts onboarding. Onboarding offers to keep the Gateway running in the background; if you skipped that, run openclaw gateway install then openclaw gateway start. On Windows the docs recommend the Windows Hub app. Telegram is the suggested first channel because it needs only a bot token. The minimum host is 1 vCPU, 1 GB RAM and about 500 MB of disk; the docs recommend 2 GB+. A Mac mini, small VPS or Raspberry Pi-class box all work, and a VPS is the pick for round-the-clock reliability.

Moving between them. After hermes plugins install agent-importers (or on a fresh install, hermes setup, which offers it), hermes import-agent openclaw --dry-run previews a migration that brings SOUL.md, memories, skills, allowlists and messaging settings across (API keys only with --migrate-secrets). OpenClaw imports Hermes’s MEMORY.md and USER.md from Settings, Import Memory.

Cost

Neither charges for the software. What you pay for is the model (unless you run one locally) and, if you want it on all the time, a machine.

  • Hermes works with any provider (OpenRouter, OpenAI, your own endpoint and more). Its README also offers Nous Portal, one subscription covering 300+ models plus web search, image generation, speech and a cloud browser.
  • Hermes Cloud is Nous’s hosted option: a dedicated always-on instance, billed daily from your Nous credit, with a $2 minimum in credits or a subscription to deploy.
  • OpenClaw is run by a donation-funded foundation with “no paid tier, no hosted service, no token.” It supports API keys and ChatGPT/Codex subscription sign-in.
  • Memory has its own costs. Hermes’s always-loaded memory is a fixed ~1,300 tokens a session, and its background review replays the conversation after turns (it can be moved to a cheaper model or capped). OpenClaw’s semantic search calls an embedding provider unless you run one locally.

Risks

Both agents run shell commands and read untrusted content (web pages, email, files) on a machine you own. That makes prompt injection the main risk. Your memory files are part of the attack surface too, because they load into every session.

  • Hermes: with no allowlist set, every messaging user is refused; DM pairing adds people. Dangerous commands go through approval (smart mode by default, where a second model judges risk), and cron jobs deny them by default. /yolo or approvals.mode: off turns approvals off.
  • OpenClaw: the gateway binds to localhost by default, on most channels an unknown DM sender gets a pairing code, and openclaw security audit checks for drift. Sandboxing is opt-in. The docs warn against weaker or older models for any bot with tools, and say one gateway is one trust boundary.

OpenClaw’s docs also host a source-by-source comparison with Hermes, dated to an August 2026 snapshot. It’s OpenClaw’s own account of both projects.

If you want the memory, not the agent: Counterparts

Counterparts is ours. It is a memory for the AI you already talk to, not an agent: it doesn’t run all day, take messages on Telegram or WhatsApp, or carry out scheduled tasks. If those are what you need, pick Hermes or OpenClaw above.

What it does well is the remembering. The AI writes down what it learned in its own words; what matters sticks and the rest fades unless it comes up again. Each session opens with a short “who I am, who you are, where we left off” the AI wrote itself, and each session becomes a chapter in a journal. When something changes, the old version is kept beside the new one, marked earlier.

Where it works today:

  • Claude Code on Mac, Linux or Windows (Windows is new; tell us how it goes), and Claude Desktop on a Mac: free (BSL 1.1, source on GitHub), no API keys, memory in one file on your computer. Run npm install -g counterparts@latest (Node 22.15+), then counterparts, and restart Claude Code. For Claude Desktop, quit it, run counterparts install --host claude-desktop, reopen it and set the counterparts tools to Always allow. Setup.
  • claude.ai on the web, and Claude’s apps through it, via Counterparts Online: a free beta with limited spots, sign-up by email, and a waiting list when it’s full. Sign up.

New or in beta:

  • Codex on Mac or Linux, from the same install: counterparts connect --host codex, then approve its hooks in Codex’s /hooks and restart Codex. It’s new, and nobody here has run the shipped command in Codex yet, so tell us how it goes.
  • Gemini on the web through the same hosted memory, with the same sign-up as claude.ai (/claude-ai/): worked in beta in one run on 3 December 2026 (set its tools to “Always allow”).
  • ChatGPT: beta, with a known connection issue we’re fixing.

It is not a plugin for Hermes Agent or OpenClaw, and we haven’t tested it inside either.

Questions people ask

Does Hermes Agent remember between sessions?

Yes, in two small files and a searchable archive. MEMORY.md (up to 2,200 characters) and USER.md (up to 1,375) in ~/.hermes/memories/ load at the start of every session, and every CLI and messaging session is stored in ~/.hermes/state.db, which the agent can search with session_search. A fact only sticks if the model actually calls the memory tool; Hermes’s docs say “I’ve added that to my memory” is just text until the entry is in the file.

Does OpenClaw remember between sessions?

Yes, in Markdown files in its workspace (~/.openclaw/workspace by default): USER.md and MEMORY.md load at the start of a session (unless OpenClaw has marked a file untrusted, for example after a web fetch wrote to it), and dated daily notes in memory/ hold the detail, with today’s and yesterday’s loaded on a bare /new. Everything else is found with memory_search. A background “dreaming” pass, on by default, promotes what keeps coming up into MEMORY.md.

Which one has more memory, Hermes Agent or OpenClaw?

OpenClaw’s files have no fixed size; its docs say the limit is your storage, though a MEMORY.md past the prompt budget is cut short in what the model sees. Hermes caps its always-loaded memory at about 1,300 tokens by default (memory_char_limit and user_char_limit in config.yaml raise it) and leans on session search and optional memory plugins for the rest.

Can I move from OpenClaw to Hermes Agent, or back?

Yes. Hermes’s agent-importers plugin (hermes plugins install agent-importers, or let hermes setup offer it when it finds ~/.openclaw) adds hermes import-agent openclaw, which brings over SOUL.md, MEMORY.md and USER.md entries, skills, allowlists and messaging settings, with a --dry-run preview. OpenClaw’s Control UI can import Hermes’s MEMORY.md and USER.md under Settings, Import Memory; they’re kept under memory/imports/hermes/ and searchable, not merged into its own MEMORY.md.

Is Hermes Agent the same as the Hermes models?

No. Hermes Agent is Nous Research’s open-source agent (github.com/NousResearch/hermes-agent), and it runs on whatever model you choose. Nous also makes a family of models called Hermes, and some comparisons mix the two up.

Does OpenClaw need an OpenAI key for memory search?

Not strictly. OpenAI embeddings are the default for semantic search, using an API key or a Codex sign-in that grants embeddings. You can point it at Gemini, Voyage, Ollama, a local model and others, or set the provider to “none” for keyword-only search.

Questions? Ask in r/AIMemorySystems.