K
Komputer Mechanic
TutorialsServicesBook a CallAboutContact
Membership
TutorialsServicesBook a CallAboutContact
Membership
K
Komputer Mechanic
All TutorialsMembership
HomeTutorialsHindsight memory for Hermes
AI Agents // Hermes

Give Hermes long-term memory with Hindsight

Your agent saves facts from every chat in the background and brings them back in new chats. Set it up in the terminal, let your agent do it, or click through the Desktop app, on your own machine or in Hindsight's cloud.

20 steps · 4 parts · copy-paste ready

124builders viewed
— Watch the Full Tutorial

// Contents

Part 01 / 04 — Way 1: do it yourself in the terminal

  • 1Install the add-on
  • 2Local: tell it there is no graphics card
  • 3Run the setup

Part 02 / 04 — Way 2: give your agent one prompt

  • 4Local: put your API key in Hermes
  • 5Local: paste this prompt
  • 6Cloud: put your Hindsight key in Hermes
  • 7Cloud: paste this prompt

Part 03 / 04 — Way 3: click through the Desktop app

  • 8Install the plugin
  • 9Restart the gateway
  • 10Choose Hindsight
  • 11Local: choose Local Embedded
  • 12Local: finish it in the terminal
  • 13Cloud: paste your Hindsight key

Part 04 / 04 — All ways: start it, test it, look inside

  • 14Restart the gateway
  • 15Check the memory status
  • 16Send the first message
  • 17Local: is Hindsight up?
  • 18Test it in a new chat
  • 19See your memories (Hermes on your own computer)
  • 20See your memories (Hermes on a server)
WHAT YOU'LL NEED

Prerequisites

  • ▸Hermes 0.23 or newer
  • ▸Local: 5 GB free disk, 3 GB free RAM and an API key for the AI that writes the memory notes
  • ▸Cloud: a Hindsight account (free credits to start)
Pick one way (1, 2 or 3), local or cloud. Then do the last part, which is the same for everyone.

All 20 steps are . Or skip the setup:

Membership

Build beyond this tutorial

  • 3 paid tutorials of your choice today
  • Every new tutorial, the day it drops
  • One-line auto-installers for what you unlock
  • Private members Telegram
  • Priority inbox, reply within 24h

$10/month. $20 covers your first 2 months.

Become a member

Get all 20 steps by email

No card needed.

Want them as a single Markdown file? We'll email you a 6 digit code to confirm.

Part 01 / 04

Way 1: do it yourself in the terminal

Local: your memories stay on your computer or server. The AI company you pick reads your chats to write the notes. You need 5 GB free disk, 3 GB free RAM and an AI key. Cloud: your chats are sent to Hindsight, and their AI writes the notes. No big download, you need a Hindsight account (free credits to start, then pay as you go). Pick Way 1, 2 or 3. After that, steps 14 to 20 are for everyone.

STEP 1

Install the add-on

Your computer or server

hermes plugins install hindsight

It asks two questions. Type y and press Enter both times: first to use Hindsight as your memory, then for two small helper programs (hindsight-client and hindsight-embed).

Check: it says hindsight set as memory.provider. Takes about a minute.

Stopped it halfway? Run hermes plugins remove hindsight, then install again.

Show 3 pictures
The install asks: Use hindsight as the memory provider now?

The install asks: Use hindsight as the memory provider now?

The install lists hindsight-client and hindsight-embed and asks to prepare them

The install lists hindsight-client and hindsight-embed and asks to prepare them

The plugin is installed and hindsight is set as memory.provider

The plugin is installed and hindsight is set as memory.provider

STEP 2

Local: tell it there is no graphics card

Your computer or server

Skip this step if your machine has an NVIDIA graphics card, or if you use cloud.

echo 'UV_TORCH_BACKEND=cpu' >> ~/.hermes/.env

It prints nothing. That is normal. Run it once.

Without this line the first start downloads 12 GB instead of 3 GB, because Hindsight fetches the NVIDIA version of its search model.

Show picture
The command runs and prints nothing

The command runs and prints nothing

STEP 3

Run the setup

Your computer or server

It asks four questions. Move with the arrow keys and press Enter.

hermes memory setup hindsight

If you chose local

  • Mode: move down one line to Local Embedded.
  • LLM provider: the AI company that writes the memory notes, one you have an API key for (openai_compatible works with most others).
  • LLM model: press Enter to keep the suggested one.
  • LLM API key: paste the key and press Enter. You only see stars, and it says configured even if the key is wrong, so copy the whole key.

Check: it ends with Hindsight memory configured (local_embedded mode).

If you chose cloud

  • First get your key: open ui.hindsight.vectorize.io, make an account or sign in, press Get API Key and copy the key.
  • Mode: Cloud.
  • API key: paste your Hindsight key.
  • API URL: press Enter.
  • Starter memory template: Blank, at the bottom (templates keep refreshing summaries, and that uses credits).

Check: it says Hindsight memory configured (cloud mode).

Know this first: in cloud mode every chat with your agent is sent to Hindsight's servers.

Signing in with a ChatGPT subscription is not offered here. It has to be an API key. Then go to step 14.

Show 10 pictures
Mode menu with Cloud, Local Embedded and Local External

Mode menu with Cloud, Local Embedded and Local External

Provider menu with nine choices

Provider menu with nine choices

The model question, suggesting MiniMax-M3

The model question, suggesting MiniMax-M3

The key shown as stars, then Hindsight memory configured

The key shown as stars, then Hindsight memory configured

The Hindsight page with the Get API Key button

The Hindsight page with the Get API Key button

Mode menu with Cloud selected

Mode menu with Cloud selected

The setup asks for the API key

The setup asks for the API key

The API URL question with the suggested address

The API URL question with the suggested address

The template menu with Blank selected

The template menu with Blank selected

Hindsight memory configured in cloud mode

Hindsight memory configured in cloud mode

Part 02 / 04

Way 2: give your agent one prompt

This replaces steps 1 to 3. Your agent does the setup. It took 6 to 9 minutes in our tests.

STEP 4

Local: put your API key in Hermes

Your computer or server

You need an API key from the AI company that writes the memory notes. The example uses MiniMax. Run this, paste the key and press Enter. You see nothing while you paste. That is normal.

read -rs K && printf '\nMINIMAX_API_KEY=%s\n' "$K" >> ~/.hermes/.env

This way your key never goes into a chat. With another company, use its name, for example OPENAI_API_KEY.

In the Desktop app instead: Settings, Providers, API keys. Find your company, paste the key and press Save.

STEP 5

Local: paste this prompt

A new Hermes chat

Change MiniMax and MiniMax-M3 if you use another company. Keep the whole prompt: without the parts about UV_TORCH_BACKEND and "don't build your own version", an agent built its own Hindsight and was still not done after 18 minutes.

I'd like you to set up Hindsight as your memory on this machine, using Local Embedded. Use MiniMax with the model MiniMax-M3 to write the memory notes. My MiniMax API key is already in Hermes, so use that one and never ask for it in this chat. Use the normal Hermes plugin and its own setup, don't build your own version, and leave my built-in memory on. If I don't have an NVIDIA graphics card, first add UV_TORCH_BACKEND=cpu to your Hermes .env file. When the memory status says available, start Hindsight once with the plugin's own hindsight-embed, using the profile hermes, so it downloads now. It's ready when Hindsight's own health check says healthy. Don't save any test memories. Then tell me if I need to restart my gateway.

The agent downloads about 3 GB and starts Hindsight. It took about 9 minutes in our test.

It may ask to allow a command, with the label Dangerous Command. Choose Show full command and read all of it. Choose Allow once only if you understand it. The question closes after five minutes, so stay at the screen. Not sure? Choose Deny and do Way 1 instead.

Check: it says Hindsight is healthy or ready, and your built-in memory is still on. Then go to step 14.

STEP 6

Cloud: put your Hindsight key in Hermes

Your computer or server

Open ui.hindsight.vectorize.io, make an account or sign in, and press Get API Key. Copy the key. Then run this, paste the key and press Enter. You see nothing while you paste. That is normal.

read -rs K && printf '\nHINDSIGHT_API_KEY=%s\n' "$K" >> ~/.hermes/.env
Show 2 pictures
The Hindsight page with the Get API Key button

The Hindsight page with the Get API Key button

The command runs and shows nothing

The command runs and shows nothing

STEP 7

Cloud: paste this prompt

A new Hermes chat

I'd like you to set up Hindsight as your memory, using Hindsight Cloud. My Hindsight API key is already in your Hermes .env file. Use the normal Hermes plugin and its own setup, don't build your own version, and leave my built-in memory on. When it asks for a template, choose Blank, and keep the suggested settings for everything else. Stop when the memory status says available. Don't test it, I'll do that. Tell me if I need to restart anything.

Know this first: in cloud mode every chat with your agent is sent to Hindsight's servers.

It may ask to allow a command, with the label Dangerous Command. Choose Show full command and read all of it. Choose Allow once only if you understand it. Not sure? Choose Deny and run hermes memory setup hindsight yourself, like step 3 (cloud). At the key question press Enter, because your key is already saved.

It took under 6 minutes in our test.

Check: it says Hindsight Cloud is configured, the status is available and your built-in memory is still on. Leave the chat with /quit, then go to step 14.

Show 3 pictures
The cloud prompt is sent and the agent starts working

The cloud prompt is sent and the agent starts working

Hermes asks to allow a command, Allow once is selected

Hermes asks to allow a command, Allow once is selected

The agent reports that Hindsight Cloud is configured

The agent reports that Hindsight Cloud is configured

Part 03 / 04

Way 3: click through the Desktop app

For Hermes Desktop on your computer. Steps 8 to 10 are the same for local and cloud.

STEP 8

Install the plugin

Hermes Desktop

Choose Capabilities on the left, then Plugins at the top. Search for hindsight. On the first card, made by vectorize-io, press the +, then Install. It took about a minute.

Check: the card shows On and it says Agent plugin hindsight installed.

Show 3 pictures
The plugin catalog with the search for hindsight

The plugin catalog with the search for hindsight

The install window with the Install button

The install window with the Install button

The hindsight card is switched on

The hindsight card is switched on

STEP 9

Restart the gateway

Hermes Desktop

Press Ctrl+K (on a Mac Cmd+K), type restart and choose Restart gateway. Wait until it says Backend ready at the bottom left.

Do not skip this. Without the restart, Hindsight is usually not in the list of the next step.

App connected to a server over SSH? Quit the app completely and open it again instead.

Show picture
The search with Restart gateway selected

The search with Restart gateway selected

STEP 10

Choose Hindsight

Hermes Desktop

Open the settings with the gear at the top right and choose Memory & Context. At Memory Provider, change Built-in only to Hindsight.

Check: a new part called Hindsight settings appears, and the top says needs setup.

Show picture
The memory provider list with Hindsight

The memory provider list with Hindsight

STEP 11

Local: choose Local Embedded

Hermes Desktop

At Mode, choose Local Embedded. Leave the other fields as they are. The API key here is only for cloud.

It says ready, but it is not finished: the app has no field for the AI company that writes the notes. Do the next step.

Show picture
Mode is Local Embedded and the top says ready

Mode is Local Embedded and the top says ready

STEP 12

Local: finish it in the terminal

Your computer or server

First run step 2 (the graphics card line) once. Then run the setup and answer it like step 3 (local).

hermes memory setup hindsight

Then restart the gateway again, like step 9.

Check: the setup ends with Hindsight memory configured (local_embedded mode). Then go to step 16.

STEP 13

Cloud: paste your Hindsight key

Hermes Desktop

Open ui.hindsight.vectorize.io, make an account or sign in, and press Get API Key. Copy the key. In the app, leave Mode on Cloud, paste the key at API key and press Tab. There is no Save button: the app saves each field by itself.

Check: scroll up. The top now says ready.

Know this first: in cloud mode every chat with your agent is sent to Hindsight's servers. Then go to step 16.

Show 2 pictures
The key is in the API key field, shown as dots

The key is in the API key field, shown as dots

Active memory provider hindsight, ready

Active memory provider hindsight, ready

Part 04 / 04

All ways: start it, test it, look inside

For everyone, whichever way you used.

STEP 14

Restart the gateway

Your computer or server

Do this also if you only chat in the terminal: Hermes runs a gateway in the background, and it only finds Hindsight when it starts. Close your open chats first. In the Desktop app, quit it completely and open it again instead (Way 3 already did this).

hermes gateway restart --detach

--detach stops it from taking over your terminal. If it asks to interrupt a running chat, type y when nothing important is running.

STEP 15

Check the memory status

Your computer or server

hermes memory status

Check: it shows Provider: hindsight and Status: available. Your built-in memory stays on beside it.

Show picture
Memory status showing hindsight as available and active

Memory status showing hindsight as available and active

STEP 16

Send the first message

A new Hermes chat

Start a chat: hermes in the terminal, or New session in the Desktop app. Then send:

Please remember this for later chats: my warehouse code is Marrowgate.

Local (Way 1 and 3): the big download, about 3 GB, happens now. It can take around 3 minutes, so leave it open. Only once. Cloud: the reply took 20 seconds to a minute in our tests.

Check: it says the fact is saved. Often you also see Hindsight, saving to memory under it.

Show 2 pictures
The agent is using hindsight_retain while Hindsight downloads

The agent is using hindsight_retain while Hindsight downloads

The agent confirms the fact after 2 minutes 49 seconds

The agent confirms the fact after 2 minutes 49 seconds

STEP 17

Local: is Hindsight up?

Your computer or server

curl -s http://127.0.0.1:9177/health

It is up when it says healthy. If it prints nothing, it is still downloading, or asleep until your next message.

STEP 18

Test it in a new chat

A new Hermes chat

Leave the chat with /quit and start hermes again, or choose New session in the Desktop app. Then ask:

What is my warehouse code?

Check: it answers Marrowgate. In the terminal it also shows recalled 1 memory. In the Desktop app you may see Hindsight Recall.

Not shown? Ask: "Use Hindsight to tell me what you remember about my warehouse." Your built-in memory may know the answer too.

Show picture
Hindsight recalled 1 memory and the agent answers Marrowgate

Hindsight recalled 1 memory and the agent answers Marrowgate

STEP 19

See your memories (Hermes on your own computer)

A Hermes chat

Local only. Hindsight has a page that shows everything it remembers. Ask your agent to open it:

I'd like to see my Hindsight memory viewer in my browser. Can you start it for me and tell me how to open it? Keep it private, because the page has no password.

The first time it downloads up to 1.5 GB, so give it a few minutes. Then open the address, choose the hermes bank, Memories on the left and Table on the right, and search for warehouse.

Keep the part about private: Hindsight's own command opens the page to everyone by default.

Cloud: open ui.hindsight.vectorize.io, choose Select a bank, pick hermes, then Memories and Table.

Show 2 pictures
The Memories table in the Hindsight viewer, with the warehouse code Marrowgate

The Memories table in the Hindsight viewer, with the warehouse code Marrowgate

The Memories table in Hindsight cloud, with the warehouse code Marrowgate

The Memories table in Hindsight cloud, with the warehouse code Marrowgate

STEP 20

See your memories (Hermes on a server)

A Hermes chat

I'd like to see my Hindsight memory viewer. You run on a server, and I want to open it in the browser on my own computer. Start it and keep it private, because the page has no password. Then give me the one SSH command to run on my own computer, with the right username and IP filled in, and the address to open.

Run the command it gives you on your own computer and leave that window open. It looks like nothing happens. That is normal.

Then open the address and look for your warehouse code, like the step before.

Check: you see your warehouse code among the memories.

// Words you will see

Words you will see

Memory bank: a notebook for your agent. Hermes creates one called hermes. Agents that use the same bank share the same memories.

Memory notes: the short facts Hindsight saves from your chats. An AI writes them.

Local Embedded: Hermes downloads Hindsight and runs it for you. This is what "local" means here.

Local External: you already run Hindsight yourself, and Hermes only connects to it.

Only have a ChatGPT subscription? Your agent can use it, but Hindsight's setup does not offer it for the memory notes. Choose cloud, or use an API key just for the notes.

// If something goes wrong

Common problems and fixes

The install says the plugin already exists: an earlier install was stopped. Run hermes plugins remove hindsight, then install again.

It seems to work but nothing is remembered: the key may be wrong, or the model name with local. Run hermes memory setup hindsight again.

It says the memory provider is unavailable: the gateway was not restarted after the setup. Restart it, then start a new chat. In the Desktop app, quit it completely and open it again.

The dot before the model name is red: normal if you use a ChatGPT subscription. The dot only looks for an API key.

The Desktop app says Backend messaging stopped: only Telegram and other chat apps are off. Your chats in the app still work.

The first message takes 10 minutes and the disk fills up: the graphics card line is missing. Add it (step 2), delete ~/.cache/uv, then send a message again.

The first reply after a long break is slow: the memory server sleeps after 5 idle minutes and wakes on the next message. It uses about 1.9 GB of RAM while awake.

Logs: ~/.hermes/logs/hindsight-embed.log and ~/.hermes/logs/errors.log

// What you set up

Hindsight as a second memory next to Hermes' built-in one, local or in the cloud. Your agent saves facts from every chat in the background and recalls them in new chats, and you can see every memory in Hindsight's viewer.

Stuck on a step? Drop a comment on the video, or book a session and we'll walk through it together.

Usage & License

Use the prompts and downloadable templates on this page in your own personal and commercial projects. What's not allowed: reselling, repackaging, redistributing, or republishing this material — on YouTube, Gumroad, paid courses, newsletters, or anywhere else. Send people to komputermechanic.com instead. Violations get reported and taken down.

</>KOMPUTER MECHANIC
HomeTutorialsMembershipBook a SessionContactNewsletter☕ Buy Me a Coffee

© 2026 Komputer Mechanic. All rights reserved.

Impressum·Privacy