• AI Bootcamp
  • Marketingová Plzeň
  • SEO Pivo
  • Contact
  • [email protected]
  • Personal website
[email protected]
Personal website
SEO, AI and Marketing Blog
Martin Bangho
  • Home
  • GEO & SEO
  • AI
  • Marketing
  • CS
  • EN
  • Home
  • GEO & SEO
  • AI
  • Marketing
  • CS
  • EN
Home AI & LLMs
Tři oddělené způsoby práce s informací: uložit krátký fakt, načíst snapshot poznámek a zvlášť dohledat původní výrok v historii.

How Hermes Agent memory works and what persists between conversations

Martin Bangho by Martin Bangho
November 24, 2026
in AI & LLMs
Reading Time: 6 mins read
0
0

When Hermes writes “I’ll remember that,” it has not necessarily saved anything. Persistent memory must be distinguished from the current chat and the archive of older conversations. Each layer solves a different problem. Once you stop confusing them, it becomes easier to see why the agent does not know something and where to check whether the information was actually retained.

This guide is based on official documentation checked on November 19, 2026. At the time of research, GitHub listed v0.23.2, dated November 16, 2026, as the latest release; continuously updated documentation is not a frozen manual for that tag, however. Compare the steps described with your version’s help before using them. The explanation concerns an already-running Hermes installation; it is not an installation guide for Linux, macOS or Windows. The example below is a documented procedure using a fictional preference, not a newly performed two-conversation test.

Persistent memory is a short note, not a complete transcript

Core memory consists of the MEMORY.md and USER.md files in the active Hermes home’s memories/ directory. For the default profile, this is usually ~/.hermes/memories/. The first file contains the agent’s curated notes; the second contains information about the user and their preferences. The documented default limits are 2,200 and 1,375 characters; they can be configured differently. These limits are neither the size of the history nor the number of tokens the model can handle in one request.

Further reading

Muž v modré košili připojuje kabel k malé propojovací jednotce; další kabel zůstává za červenou zarážkou.

MCP and AI agents in marketing: uses and safe boundaries

November 25, 2026
Dvě role s vlastními instrukcemi a pamětí propojuje předání; účty a soubory je nutné kontrolovat zvlášť.

Using profiles and Bot Mode in Hermes Agent for separate working roles

November 24, 2026
Zadání, technická práva a ověření jsou odlišné kroky. Profil není sandbox, schválení není izolace a prohlášení hotovo není důkaz.

Hermes Agent: permissions and safe access to files and accounts

November 24, 2026
Instalace Hermes: oddělená volba umístění agenta a modelu a následná kontrola prvního souborového úkolu.

How to download, install and set up Hermes Agent on a PC or VPS

November 24, 2026

This limited space is for lasting information that will be useful in future conversations, such as the response language or a stable format preference. A detailed source-checking procedure is better saved as a skill, and an ongoing assignment in a project document. Turning every completed task into a note will quickly fill memory with information unrelated to the next assignment.

Writing a note does not change the language model’s weights. Hermes presents the saved text to the model as part of its input. The model can therefore follow new information without being retrained. Similarly, the entire conversation archive is not automatically present in every response. Saving information, finding it and using it correctly are three separate things.

Saved notes enter a new conversation as a snapshot; history returns to the current context only through retrieval, and a skill only through loading.
An original explanatory diagram. Being saved outside a conversation is not the same as being present in the model’s current input.

Why a saved change may not appear in a running chat

Official documentation describes memory injected into the system prompt at session start as a frozen snapshot — a captured state. A tool write may save to disk immediately, but it does not rewrite this initial block. The reason is prefix stability for model caching. The tool response, however, shows the live state. The information may also be available in the conversation so far; it is incorrect to say that saving it necessarily removes it from every part of the context.

For diagnostics, separate two questions: “Is the change saved?” and “Does this session have it in its initial memory?” A new session loads the current notes. For a long-running chat in a messaging app, however, restarting the computer or gateway may not mean a new conversation. You can create a natural task boundary with /new. Before doing so during ongoing work, preserve the assignment, sources and next step in a handoff document.

A documented procedure: two conversations with a fictional preference

The following prompts are fictional test inputs. They do not describe Martin’s preferences and are not evidence of a particular model’s behavior. Run the test only where you are authorized to change memory; use no passwords, client data or real sensitive information. If you have no such environment, you can simply prepare checking criteria without writing anything.

  1. In the first session, enter: “This is a temporary fictional test. Use the memory tool to save this sentence in user memory: For illustrative examples, the user prefers the name Project Larch.” Check the actual tool call and response, not just verbal agreement.
  2. Verify the exact wording in the correct profile’s USER.md. If the write has been submitted for approval, it has not yet been applied. Do not mistake a prepared proposal for the file’s contents.
  3. After saving, start a new session with /new and ask for the illustrative project’s name according to the saved preference. The expected criterion is the correct information from the new snapshot, not a convincing “I remember” statement.
  4. In the second session, change the fictional preference to “Project Linden.” Request a correction of the existing note using memory, not the addition of a contradictory second fact. Verify the file and then a new session.
  5. At the end, request removal of the temporary test note and verify its absence. Removing the note does not itself delete the original messages from history.

Record the result as your own observation only after performing the test: date, Hermes version, profile, model and provider used, whether a write occurred and what the new session showed. If the second chat answers correctly but you do not verify the saved file and profile, you still do not know which layer carried the information. This article claims no such observed result.

Search history for a specific statement

The session_search tool serves questions such as “What exactly did we agree back then?” Current documentation describes searching saved messages in SQLite with an FTS5 full-text index and the option to browse a retrieved session. This is not a request for the agent to guess an old conversation’s contents from a few words in memory. Availability also depends on whether the relevant record has been retained in your storage.

For the fictional test, ask: “Search history for the exact wording of the change from Project Larch to Project Linden. Give the session identifier and the message location you are using. If you cannot find the record, say so.” The expected criterion is a retrieved message and its provenance, not an invented quotation. The older preference should be marked as historical, not declared current again.

The article What RAG is and why a retrieved source is not yet a correct answer explores a similar distinction between finding evidence and drawing the right conclusion. For memory, date and validity also matter: a retrieved old statement can be authentic but no longer apply.

Corrections and approval: inspect the content before confirming

The memory tool supports adding, narrowly correcting and removing an entry. A patch correction replaces a specific passage; it is not open-ended permission to rewrite everything. A write may fail if memory is full. In that situation, shortening or merging outdated notes makes sense, rather than overwriting other valid information without review.

The memory.write_approval: true setting enables write approval. According to the documentation, foreground writes in the interactive CLI are presented directly, while other interfaces and background runs save them for review. The /memory pending command displays pending proposals. Approve the specific entry you have checked; bulk approval of unrelated changes is not a necessary part of the test. This gate concerns writes through the relevant tool; it is not general protection against arbitrary file edits.

Choose external memory only for a capability you actually lack

An external memory provider may add different retrieval, user modeling or conversation processing. Individual integrations have different storage, tools and operational requirements, however. Current core-memory documentation also allows the built-in store to be disabled independently; do not turn the general description “external memory runs alongside core memory” into an immutable rule for every configuration.

First name what the core system cannot handle: do you need to retrieve an exact historical statement, manage many changing facts or share knowledge across several assistants? Then investigate which data the integration sends, where it stores them, how they are corrected and removed, who has access and what costs arise. Adding another service will not fix a write that never happened or a search in the wrong profile. This guide requires no external provider to be enabled.

Sources and verification limits

Memory mechanism and approval: Persistent Memory. Snapshot and history diagnostics: Troubleshooting Agent Quality. Integration differences: Memory Providers. Version: release v0.23.2. Sources were checked on November 19, 2026. This is a research-led guide, not a record of a new installation, inference or completed memory test.

Want to define what AI should actually remember?

If preferences, working procedures and client material are getting mixed together between tasks, I can help define what belongs in memory and what belongs in a separate knowledge base. Tell me where you lose continuity when working with AI. Start by describing the situation, without passwords or confidential data.

Tags: Hermes
Previous Post

Managing context in Hermes Agent: compression, history and handoffs

Next Post

How to choose a model in Hermes Agent and measure its costs

Martin Bangho

Martin Bangho

I’m Martin Bangho. I’ve worked in digital marketing and built websites since 2015. These days I help companies with SEO and with getting found in AI search. I question things, and I’m picky about the details, but I’m an optimist. I believe marketing can be honest and still make money for a business. When I’m not working on marketing or running my business, you’ll probably find me at the gym, at a hip-hop gig or out with friends. On this blog I write about questions that come up with clients, what I test myself and what I make of the results. Hermes, my AI assistant, helps me write. I bring the notes, the results and my own take. Hermes helps me structure the article, catch grammar mistakes and get back to the point when I’ve gone off on my third tangent in the middle of a sentence. I review and edit every article myself before it goes out, so it says exactly what I mean.

Related articles

Populární AI nástroje
AI & LLMs

Popular AI tools

November 24, 2026
Marketingové strategie v době AI: Jak se připravit na novou dobu
AI & LLMs

Marketing strategy in the age of AI: how to prepare for a new era

November 24, 2026
Adversarial Machine Learning: Jak se manipuluje s AI
AI & LLMs

Adversarial machine learning: how AI can be manipulated

November 24, 2026
Muž v bílé košili propojuje kabelové konektory na dřevěném přípravku vedle malé krabice.
AI & LLMs

UCP and ACP: what they do and when to integrate them into an online store

November 24, 2026
Next Post
Porovnání modelů vede od stejného úkolu přes záznam skutečné modelové trasy ke kontrole nákladů a přijatelného výstupu; nejde o benchmark.

How to choose a model in Hermes Agent and measure its costs

Odebírat
Upozornit na
0 Komentáře
Nejstarší
Nejnovější Nejlépe hodnocené

Martin Bangho

SEO Consultant & AI Strategist

I use data to build marketing plans with people across a business, from sales and development to content. The aim is to strengthen the brand and help it compete.

Tags

Analysis B2B B2C Brand E-commerce Event reports Google Guide Hermes Off-page SEO On-page SEO SaaS Technical SEO Theory Tools User Experience Websites

Latest posts

  • Buying a website: how much of its organic traffic is valuable to you?
  • Visual discoverability: connecting images to the right product and location
  • How to Choose a Copywriter
  • SEO GAP Analysis
  • How to Create a Content Calendar
  • Home
  • GEO & SEO
  • AI
  • Marketing
  • CS
  • EN

© 2025 Martin Bangho – SEO Consultant & AI Strategist

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
  • Home
  • GEO & SEO
  • AI
  • Marketing
  • CS
  • EN
[email protected]

© 2025 Martin Bangho – SEO Consultant & AI Strategist

This website uses cookies. By continuing to use it, you agree to their use. Read our privacy and cookie policy (in Czech).