r/hermesagent • • 2d ago

Memory & Context Hermes memory

Yes yes I’m sure it’s a really common question, so point me in the right direction and send me the threads.

So basically I am pretty new to Hermes, I set it up completely for free using the Nvidia api (yea I sell my data, not that I have too much to hide hahaha)
So I have acesss to pretty good models on a 40 rpm limit which is enough for me.
Now for the question;
I’ve been trying to run it through telegram but I see there is no actual connection between the chats. hence I can’t give it long term tasks, and I can’t talk to the telegram bot like I just talked to the desktop bot.

It’s almost if they just forget everything we did.

How do you solve this? I want to create a good
foundation for my agent colony so Id like to hear some solutions, maybe protocols you made for the agent to check and update regularly both on the app and on the desktop?

Btw what do you guys think about nvidia api? Should I just stop using it?

45 Upvotes

62 comments sorted by

•

u/Hermes_helper 🤖 Bot 1d ago

Hermes summary of the discussion so far (50 comments). Updated as the thread grows.


The main answer is that Telegram and desktop are separate sessions, so continuity needs shared memory or notes. A commenter says both can use saved memories when they run from the same profile, but neither session automatically sees the other’s chat history.

The most-liked low-fuss approach is a shared Markdown wiki alongside Hermes’ MEMORY.md: keep general preferences in memory and long-running task details in project files. Others recommended Hindsight for configurable memory or Mnemosyne for a lighter setup with scheduled reviews. The choice is between simple files and a separate system that needs tending.

A useful first step is to have the agent save the details you would otherwise repeat, while keeping task state in a file both setups can access. Hermes’ built-in memory has a limited character budget, so it is better used as a short index than a whole archive. If that falls short, try a shared wiki or memory provider, with clear rules for saving and updating facts.

The NVIDIA API drew little direct advice: one commenter likes its free access to several models, while another cautioned against relying too heavily on a free service. No clear recommendation emerged on whether to stop using it.

23

u/Medium-Ad793 2d ago • Mindblown

I used to be really obsessive over memory for my agents but honestly I grew to think most is just overkill. A simple wiki/shared brain + instructing agent to check brain works great, 90% less stumbling just from that. There's plenty of second-brain type plugins out there to choose from. I eventually made my own. Having it and the default brief MEMORY.md is a great setup IMO, plus nightly journaling/cataloging. https://github.com/tdotlab/wake is what I came to as my ideal. But everyone is different. Paying for Honcho/Hindsight is nuts, if you can run it yourself, it could be worth, but many can't/shouldn't.

4

u/JohnsonSmithDoe 2d ago

Yup, markdown files in folders is all you need!

2

u/bizz101 2d ago

And MD files work better and faster! Llms love it. On every bench I tried my custom MD vault memory worked faster and better. I just made sure it updates every night.

15

u/mediaogre 2d ago edited 2d ago • Mindblown

I asked Hermes to setup Mnemosyne with some scheduled health checks, summary reviews, nightly commit audit + report, and a weekly, deep quality battery. Been solid for a couple months and the agent(s) know about the other sessions.

Protip: after a week of positive reports, disable Hermes native memory for MEMORY.md but keep USER.md, and AGENTS.md but write explicit rules for what commits to those files.

Edit: disable native memory or you risk conflicting truths and Hermes will be decoding tokens unnecessarily every prompt.

1

u/demetri1819 New Member (<30 days) 1d ago

It’s wild to me that people spend so much time gardening and curating memory. A memory system should be self organising and self maintaining (as is our biological memory).

2

u/mediaogre 1d ago • Bravo

Accurate and natural semantic recall is the thing that separates a utility from an agent that knows your body of work, how you work, and what previously gained knowledge may slot well in a new project. It makes sense to me that people would at least chase that.

FWIW, after hermes set this up, I don’t need to curate, prune, or give care to anything, it just works, and it’s better than a RAG-bound agent.

1

u/demetri1819 New Member (<30 days) 1d ago

1

u/mediaogre 23h ago edited 23h ago

Sure, that’s another memory tool and it’s similar to Mnemosyne. Looks like the core differences are limbic is very tools light and auto decays memories as they lose trust. Mnemosyne takes some tuning, admittedly.

But speaking of memory, remember that folks don’t start their AI agent journey knowing all these tools exist and what the differences are. I like the way Mnemosyne works, but if I’d heard about Limbic at the same time, I may have gone with that and been just as happy.

Also, there’s the intangible. I don’t mind at all the effort I spent setting up my Mnemosyne pipeline. Sure, Hermes did the heavy lifting but I learned about agent memory layers along the way.

Edit: And dude, Limbic's own README contradicts your bewilderment. It describes memory as a plant. You water it, prune it, and let it grow toward the light. That is literally the gardening you’re mocking.

1

u/demetri1819 New Member (<30 days) 22h ago

Thanks I’ll reframe that wording.

The nourishment happens implicitly.

0

u/[deleted] 2d ago

[deleted] — view deleted comment

1

u/mediaogre 2d ago edited 1d ago

Very cool and well done. I don’t ship my commits (not even to Backblaze) but I’m still interested, thanks.

Edit: one bit of feedback, remove the prompt injection for AI from the README. It made me wrinkle my nose a bit and twitch since your pitch and engine are predicated on trust. I would remove or reshape that before recommending it again.

One suggestion (unless it’s by-design for the BETA) bump the default retention to 30 days.

10

u/Historical-One-4232 2d ago • Bravo

I work in the legal industry, and based on my experience, my best setup uses a wiki + OpenViking as a memory provider. In the legal domain, context and data are everything. For that reason, the best models to cover my needs especially in legal work are Gemini 3.7 Flash or above. However, if I have to go with a budget-friendly option, my pick would probably be DeepSeek Flash 4.1. I've tried various free models, and they really don't work for me because I need strong function calling capabilities and agentic performance to execute multiple skills. Most of these free models fall short on tool calling and suffer from rate limits that often interrupt the model mid task

7

u/HearthCore 2d ago • Bravo

Basically this. OpenViking is King.

Native Plugins, MCP, Webinterface, Multi tenant and multiuser Ressource sharing, skill sharing, automatic upgrade/ingestion of sites/repo/folders, internal opt-in dreaming and skill creation, OpenAI-compatible gateway..

I think that’s the list of features?

Godsend I tell you

0

u/waterfreek 2d ago

Yeah, sounds real good, but I prefer to keep Hermes' memory simple, serverless and low footprint. So I went for Mnemosyne for my Hermes on VPS setup for now. Keeping OpenViking on the list as the next-level upgrade though.

4

u/HearthCore 2d ago • Mindblown

Sure.

I’ve outgrown the local only restriction for, instead simply hosting openviking with its files bare- hence I still have all the local markdown files it’s building.

0

u/waterfreek 2d ago

Though OV still needs Docker to run, right..? I'm trying to avoid new Docker containers dependencies where I can, out of fear of losing oversight and maintenance. Perhaps I should reconsider.

4

u/HearthCore 2d ago

You should.

Honestly, at least for your agentic support systems you will want to use docker on a separate VM OR something.

It’s not worth it trying to abstain from containers- and most projects are easy to integrate and even customize thanks to all the docker compose entry points you don’t think off.

My Hermes, Claude, vibe and even their cloud hosted counterparts are all integrated into this eco system of mine.

If I plan something with an agent in the road I can almost always just execute it when I’m at the PC.

Or go into a Claude live voice session and let it orchestrate via hermcp.

0

u/waterfreek 2d ago

Yeah, you got me there: I just don't feel comfortable using and managing Docker containers yet. Though I still think Mnemosyne is a good product and serves my current projects best, I will dive into Docker more, with OpenViking in mind.

2

u/HearthCore 2d ago • Bravo

I feel you.

Just ask your agent to explain docker compose and volume mounts - there’s not much to grasp if you’re just a user-

Then you can add something like dockhand to have a gui for your hosts if you decide to go safe and split docker hosts for general/media/agentic usage

2

u/nickzhu0977 1d ago

Hindsight is the most popular one right now I think. But it requires a lot of setup I believe. If you are not comfortable setting up Docker, you can get your agent to do it for you. I've no idea how to do it and my Hermes did it for me without any issues. But I agree with you, and I'm on Mnemosyne just because it's light weight and easy. Hindsight when you decide to go big

1

u/c-mack101 2d ago

What do you use the wiki part of this for?

1

u/Agile-Composer-2622 2d ago

I set up the same for my wife. She is studying for the Bar. But i used Hindsight. It understands temporality. Time. Important because laws change. All her law books have been scanned and vectorized into a database.

1

u/Historical-One-4232 1d ago

Nice, for my use case i dont use vectorize corpus, i prefer raw markdown on wiki for my case

1

u/PracticlySpeaking News Curator 1d ago

Do you have / let the agent build the wiki?

1

u/Historical-One-4232 1d ago

For sure, thats why im using frontier and paid models, we can use free model for chat, but to make or manage the knowledege base i use better model for this one time setup

18

u/x0rb3x 2d ago

Self host hindsight and add models for memory , embedding and rerank , add it to Hermes as memory provider and configure the strategy of the memories (what to save, what details you want to ensure it saves in your conversations, update facts with new data, etc)

https://hindsight.vectorize.io

2

u/rajackar 2d ago

Yup, hindsight works really well for me. And it's very fast. 

1

u/foobar_eft 2d ago

This answer!

6

u/MagicLeaves 2d ago • Bravo

Mnemosyne is the only none LLM processing (embedding) that actually worked for me but it has hard time understanding when to write to it. Retrieval is very consistent and I haven't once had to ask him to check his memory. My projects are well documented themselves tho. Your millage may vary.

2

u/RPG-Nerd 2d ago

Nvidia? Tell me its not nemotron! Every nemotron I've tried had been worthless

1

u/Resident-Analyst664 2d ago

Well I use nemotron although it’s not really good it’s straightforward, but the api gives access to glm, kimi, minstrel and some more which are quite good.

1

u/RPG-Nerd 2d ago

For how much? Those models are available from quite a few vendors.

4

u/bigheartenergy17 2d ago

I use Hindsight. It has worked well for me so far, and in terms of cross-chat/platform memory, I use a "last-fifty" hook. A simple hook I have created myself that summarizes each turn: what I said and what the agent said in response, summarized that the agent can refer to to gain immediate context across chats. It also identifies in which platform/app/harness that turn took place.

1

u/Electronic_Mine_5532 2d ago

Is NVIDIA API NVIDIA NIM’s api? Just curious

2

u/Resident-Analyst664 2d ago

Yea yea
Completely fine for one agent

1

u/Electronic_Mine_5532 1d ago

Bro, do this little test: use Nemotron (any, just testing) provided by NVIDIA NIM.

Then use another inference. ANY.

Then if you remember, drop your comments.

hint: DO pay attention. You will never underestimate NVIDIA NIM after this. (not saying you are, btw, lol)

3

u/RPG-Nerd 2d ago

Your agent only has access to what is in the context window. In most cases, that is your session history. One session can't reach another.

A memory system allows agents to store and recall facts separately from the session, often "injected" automatically without the model needing to even make a tool call.

You can also save and resume sessions, or tell it to read the context of another session. I pretty much use telegram for all my agents and they can talk to each other

3

u/Careful_cat99 2d ago

Commence par le début tu vas dans le chat et tu liste est problématique à hermes tu lui demande de faire un audit en pdf de son propre fonctionnement et les points d'amélioration avec des propositions concrètes, les point de friction , tu lui parles du besoin d'un mémoire commune pour l'exploitation en local via chat et télégram en lui indiquant que tu a besoin de faire un choix  et surtout tu lui donne la notice https://hermes-agent.nousresearch.com/docs  et la liste des skill et outils à sa disposition https://hermes-agent.nousresearch.com/marketplace   et tu attends ton compte rendu en pdf.

Et après tu choisis ce que tu veux appliquer ou pas mais tu aura une bonne base de travail 

1

u/Phontary 2d ago • Mindblown

Write this in your agent soul md file :1. document every single decision in okf style md filed with index file and wiki links. 2. Read the index file before respond any time. That’s it. Cheapest as hell.

2

u/Resident-Analyst664 1d ago

Won’t it overflow the disks? It does sound extremely effective, better than a complex system. What do you think about cron jobs to do it + maintaining some kind of recall system? Is it needed?

2

u/Phontary 1d ago edited 1d ago

I have 6664 md files now, 54 mb across three profiles after 18 months using the system. YouTube gurus call it the second brain, and obsidian wiki and too many fancy naming. There cron job would be helpful for (look at the file and folder structure and suggest proning or suggestion) that’s literally the task job. Do not over complicate things. Hermes is there to serve you not for you to serve her.

2

u/Rauhaton 2d ago • Mindblown

mem0 with small Qwen embedding model (Qwen3-Embedding-0.6B).

I have fully local setup with Strix Halo. The embedder (and small decider and reranker models) runs on the NPU, main model on the GPU

2

u/JudgmentConfident984 1d ago • Popcorn

When memory is solved - call me

1

u/demetri1819 New Member (<30 days) 1d ago

I’ve solved it for 90% of use cases.

Not to be conflated with RAG.

https://github.com/dyiapanis/limbic

2

u/IaryBreko 2d ago

I don't know why everyone is obsessed with memory. I run my Hermes stock with 5 agents and it's completely fine, no funky memory layer needed.

1

u/Present_Flower_6596 2d ago

Fir nvidia api I have no clue I run locally qwen-flash-next, I would just say I wouldnt rely to heavily on it. Especially if the ai bubble pops it will Probably start costing a bit. For memory I use hindsight after each chat my larger ai will determine useful information that it should remember. Then I have a embedder and reranker (qwen .6B) that runs on my npu. After my main models finds all the facts it needs to keep it sends it there. That will then embed into a vector database so hermes can recall that information later. I have 2 banks. One for sessions and one for my obsidian brain. Every sunday a cron jobs runs that does gardening on my vaults and obsidian brain. In my agents.md I remind my agent that if it doesnt find anything in the vector database he will do a small keyword search. If he cant find anything sol ig.

1

u/wireandshield New Member (<30 days) 2d ago

They're separate sessions by design, so nothing links them unless it goes through memory. Telegram and your desktop app each keep their own conversation, and the only thing loaded into both is whatever the agent saved with its memory tool, so have it save the bits you'd otherwise repeat, like how you want it to work. As long as the bot runs out of the same profile as the desktop, that part is shared. The catch is memory has a small hard character budget, so keep long running task state in a notes file or a skill and let memory carry just the few facts you want in every session.

1

u/yellowfin35 2d ago

I know nothing about nvidia api or your setup....

Does your agent sort things into projects with obsidian vaults? That is what I do. Start project "name", create an obsidian vault and a project folder.

all files go into that project folder, notes go into the vault.

1

u/ninjaway16 2d ago

True, all you need is a simple markdown file management. https://github.com/Nodewarrior/spine

1

u/trashbytes 2d ago

Most of what people use memory for belongs in project docs like AGENTS.md or a referenced file loaded on demand.

Memory should only contain some global information and some pointers where to look.

2

u/Gnillort123 2d ago

Well, no, everything should be stored in the memory. It’s very pleasant when you start talking to an agent about something you talked about a month ago, and they pick everything up on the fly.

1

u/_-stuey-_ 2d ago

How are people getting Nvidia api keys? They simply won’t generate for me, and support just ignores emails about it

1

u/Traditional_Wafer_20 2d ago

Holographic, because it’s lightweight and I found Deepseek to be better at recalling and optimizing its memory with it. But the default memory system is OK in a lot of contexts

1

u/Beginning-Flamingo26 2d ago

Hindsight works

1

u/Ok_Breadfruit_1884 2d ago

Does somebody use Trilium or Logseq for part-of-memory purposes?

1

u/demetri1819 New Member (<30 days) 1d ago

I have nvidia endpoint configured and it routinely hits rate limits so not ideal for any meaningful work. Suggest Deepseek or glm flash as a baseline (direct, Ollama or opencode). $10-$20.

As for memory, I developed a local, open source memory provider which might suit. Should provide continuity and eliminate hallucinations (as with Hermes itself, it gets better with use).

https://hermes-agent.nousresearch.com/marketplace/limbic

1

u/OkRaspberry5975 1d ago edited 1d ago

I use TencentDB. It has saved me and my Hermes multiple times. The memory md is quite small. My Hermes has expanded theirs to the max, which is 4000 characters if I remember correctly, but Tencent has no limit. It is also automatic. My Hermes told me it couldn’t find something because its memory was full and couldn’t save the fact and I asked if Tencent got it a there it was. From that point on Tencent DB found a permanent role in my network.

The 1 issue is it needs a sidecar. When we use the chat there is a second model the maintains the database. So you need space for 2 models. I use a phi 3.5 mini instruct 4b at ~2gb. The bigger the model the better the database.

Also if you want something a little simpler you could try Obsidian or LLM wiki. Both of these a human can interact with.

There are many but Tencent DB was the best for me. Ask your Hermes to install it for you.

Good luck and keep testing.

Edit: It is also multi user/Hermes database. Meaning I have 5 Hermes connected to the Tencent DB.

I don’t remember if the original memory.md is 4000 characters or words but I do know the original is only 2000. If you ask why not make it 6000? This file has to load into context. If you have a context of 64k then add a memory.md of 30k that will leave you 2 k of context before Hermes has to compact. The memory. Md needs to stay small for this reason.

1

u/super_raccoon666 1d ago

First I’d check whether Telegram and Desktop connect to the same Hermes instance and profile. Separate profiles keep separate memory and session history.

For ongoing projects, I use a Markdown note in Obsidian with the latest decision, the next step, and links to the source notes. A useful test is to make that note available to Hermes, open a fresh chat, name the project, and ask what the next step is and which note supports the answer.

Are Telegram and Desktop connected to the same Hermes instance, or are they two separate installs?

1

u/ReidHarsell 2d ago

I stop using 3rd memory and rely entirely with hermes memory. It is better than anything else. I also use memex to make database of chat history then hermes can retrieve it using vector search. This is the way.

1

u/waterfreek 2d ago

Mnemosyne user here, with OpenViking in mind for next-level upgrade. Will look into Memex, never heard of it.

2

u/ReidHarsell 2d ago

There are so many memex repos out there. This is the real one: https://github.com/nicosuave/memex