Hermes Agent self improvement: one lap of the learning loop

By Christophe Paka · Facts checked on 7 November 2026

One reader asked whether Hermes Agent's self improvement works for anyone at all. Another started a thread called "Bots get progressively worse over time". Both expected the agent to grow smarter on its own.

That belief costs you twice. You wait for a brain upgrade that never comes, and you miss the wrong notes it saves. Hermes Agent self improvement is smaller and more useful: it writes things down.

The figure shows one lap of the learning loop, and what each lap keeps.

The learning loop in four stages: run a multi step task, observe success, curate memory or write a skill in the review, then reuse next time with the snapshot and skills ready. Beside it sits the full history in state.db.
Figure 2.1: The learning loop. Each lap can save a fact or a procedure; the model itself never changes.
Use this diagram on your site

Free to share in your blog post, docs, course or slides, as long as the credit link stays. Paste the code below where the figure should go.

How to read this figure

  1. Stage 1: run a task. You ask for something that takes several steps, such as a morning news brief. A session is one conversation with the agent. A turn is one message from you and the agent's whole reply, tools included.

  2. Stage 2: observe success. The task completes. The loop learns from runs that worked, and also from dead ends the agent got past on the way to a result.

  3. Stage 3: curate memory or write a skill. This is the background review: a quiet check after a turn that decides what, if anything, to keep. Memory holds facts and preferences about you. A skill is a saved how to procedure, a plain text file the agent follows next time.

  4. Stage 4: reuse next time. The next session starts with the skills and a snapshot of the saved notes. A snapshot is a fixed copy taken as the session starts. So a note saved during one session shows up in the next one.

  5. Look at the box in the middle. Every session also goes into a full history on your disk, ~/.hermes/state.db, a searchable SQLite database. The agent looks things up there with session_search when needed. The snapshot is small; the history keeps everything. Two stores, two jobs explains both.

Key takeaways

  • Expect the review to save facts as memory and procedures as skills, without being asked.
  • Ask your agent now and then what it remembers about you, and fix wrong lines.
  • Turn on write approval in your first weeks, so each save waits for your yes.

Worked example: Morning Desk's first week through the loop

Morning Desk is the book's example agent, a weekday news brief. This is an example week, not a promise that every save happens.

  1. Monday: you say "keep the brief under 300 words, links at the end". The review saves a memory with your brief preferences.
  2. Tuesday: you ask for the brief in a fresh session. Nothing is saved, but the brief is shorter, with links last.
  3. Wednesday: the agent fails to reach one news site, then finds another way. The review saves a skill with the working steps.
  4. Thursday: you mention "I read it at 8" in passing. The review saves a wrong memory, "send at 8", and every brief assumes 8.

Result: Thursday is the failure case: the review cannot tell a passing remark from a rule. Ask "What do you remember about me?" and say which line to fix or delete. The model never changed; only its notes did.

Questions readers ask

Does Hermes Agent retrain the model on my data?

No. Nothing in the learning loop changes the AI model. The loop saves notes and procedures as files on your own machine. Self improving means saved notes, not a smarter brain.

Why do Hermes bots get worse over time?

Three reasons. A wrong save sticks and loads every session until you remove it. Near duplicate skills pile up and can disagree, so the agent may pick the wrong one. And memory rides along on every turn, so a bloated memory costs tokens each time.

How do I undo what Hermes learned?

Type /journey in chat to open the learning journey. It is a timeline where you can review, edit and delete saved memories and skills. A background helper also archives skills that nobody uses.

Sources: Memory (Hermes Agent docs); Skills (Hermes Agent docs).

This figure is from Hermes Agent Made Crystal Clear, chapter 2.

The chapter builds the idea step by step, with recipes you can follow, a Try it to check yourself, and every source.

Get the book

All diagrams