Skip to content
BENIBIX Learn

Hermes MEMORY.md

AI🪽 Hermes AgentHermes Memory

Also known as MEMORY.md, Hermes memory tool

The file of notes Hermes keeps for itself. It loads when each session starts.

Think of it like

It is like the notes a helper sticks on their own desk.

Example

Hermes learns that Mia's server runs Ubuntu with Docker. It saves that in MEMORY.md, so it never has to ask again.

Why it matters

A fact it needs on every run should not cost a question each time.

Definition

MEMORY.md is the file where Hermes Agent keeps its own notes. They are facts about your machine, your projects and odd tool habits. It lives in ~/.hermes/memories and holds up to 2,200 characters by default. The agent writes it with the memory tool. When each session starts, its notes go into the system prompt as a frozen copy.

Example code

console
cat ~/.hermes/memories/MEMORY.md
See what the agent has saved.
MEMORY.md beside the other three files.

Common mistake

Trusting a reply that says it saved something. Only a real memory tool call writes the file, so check it.

Key takeaways

  1. 1
    The agent's notes. It writes them.
  2. 2
    2,200 characters. By default.
  3. 3
    Frozen at session start. Changes show next time.

Compare