r/hermesagent • u/Resident-Analyst664 • 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?
•
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 •
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.
15
u/mediaogre 2d ago edited 2d ago •
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.
10
u/Historical-One-4232 2d ago •
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
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
6
u/MagicLeaves 2d ago •
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
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
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 •
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/Rauhaton 2d ago •
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 •
When memory is solved - call me
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.
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.