Tools

One memory per user for Hermes Agent

Hermes keeps its notes in two small files per profile, shared by everyone who talks to the same bot. The CrystalBrain plugin gives each person their own memory: searched before every turn, filled when a session ends, and open to check in your dashboard.

Install the plugin

  1. Step 1

    Get your API key

    Create a free account. Your API key is on the Connections page, under API keys.

  2. Step 2

    Run the installer

    It asks for the key once, copies the plugin into Hermes and selects it as the memory provider. Linux, macOS or WSL, with python3. For another profile, add --profile and its name.

  3. Step 3

    Restart Hermes

    Restart Hermes and its gateway. This command should show crystalbrain as the active provider.

Free to start, with no card. Your API key is ready on the Connections page.

Start free

Free up to 25 tracked users, no card.

Why it helps

  • A memory for each person

    On Telegram, Discord or Slack, every person who talks to Hermes gets their own memory. One person’s preferences never reach another person’s answers.

  • Recall without a tool call

    The plugin searches before every turn and adds what fits to the message. The model does not have to think of asking.

  • Memories you can check

    Every memory is in your dashboard, by person and by topic: edit it, archive it, restore an earlier version. Contradictions are flagged every week.

How it works

  1. It searches before each turnHermes sends the person’s message to CrystalBrain and adds the memories that fit to the copy the model reads.
  2. It saves when the session endsThe conversation goes to CrystalBrain, which keeps what will still matter: a preference, a decision, a fact, each as its own memory. Duplicates are refused.
  3. You keep it cleanIn the dashboard you merge duplicates, settle contradictions and archive what is out of date.
With CrystalBrain

The same memory for your other AI apps

What Hermes learns about a person stays in CrystalBrain, where your other AI apps can read it too.

  • Each person is a separate end user: their memories stay apart from everyone else’s.
  • Read and write the same memory from your apps through the REST API and the TypeScript and Python SDKs.
  • Contradictions flagged and stale memories queued, for every user.
Start free

Free up to 25 tracked users, no card.

Questions

Does it replace MEMORY.md and USER.md?
No. Hermes keeps its built-in memory and loads it as before. CrystalBrain runs beside it as Hermes’ external memory provider, and Hermes allows one external provider at a time.
Which Hermes versions does it work with?
It was tested with Hermes Agent 0.19.0. It is a memory provider plugin, the interface Hermes offers for external memory, and needs nothing installed in Hermes’ Python environment.
What is sent to CrystalBrain?
Each message that is not a greeting or a command, as a search. When a session ends, its text: the person’s messages and Hermes’ answers. System prompts, tool calls and tool results are not sent. A session with fewer than two real messages is not saved.
How are Telegram or Discord users counted?
Each person who talks to Hermes through a gateway becomes an end user in CrystalBrain, named after the platform and their ID (for example hermes:telegram:12345), and counts as a tracked user. By default, your own CLI sessions use your own memory, which is never counted.
Does it work on Windows?
Yes. With Hermes installed on Windows, use the Windows tab in PowerShell: the plugin goes to Hermes’ folder in %LOCALAPPDATA%\hermes. With Hermes in WSL, run the one command in WSL.
Can I use it with several profiles?
Yes. Install it once per profile with --profile and the profile’s name. Each profile keeps its own key in its .env file.
Can I install it by hand?
Yes. Copy the three files served at crystalbrain.ai/hermes/crystalbrain/ (__init__.py, plugin.yaml, README.md) to the profile’s plugins/crystalbrain folder, add CRYSTALBRAIN_API_KEY to its .env file, and set memory.provider to crystalbrain in its config.yaml.
How do I remove it?
Run crystalbrain-hermes uninstall, or curl -fsSL https://crystalbrain.ai/hermes/install.sh | bash -s -- uninstall. Hermes goes back to its built-in memory, and what was saved stays in your dashboard.
Is it free?
Yes to start: the Free plan has no time limit and covers 25 tracked users per month. It includes a monthly AI credit of $0.20 that pays for turning saved conversations into memories. When the credit is used up, conversations are saved as sent until the next month.
Where is my memory stored?
In a database hosted in Paris, France. To build the search and to tidy and check memories, text is also processed by Voyage AI and Anthropic, both in the United States. The privacy policy lists every provider.