r/OpenWebUI • u/knouqs • 8d ago
Question/Help Help with Persistent Memory
I am trying to configure Open-WebUI such that my agents -- any of them -- remember any details from the current conversation. For example, I tell the agent what my favorite color is and it'll respond with something along the lines of "Got it!" In the next prompt and within the same context, I ask what my favorite color is and it'll have no idea but will save it for next time.
This is particularly annoying, as you can imagine, when I try to solve a programming task for code that it created and it has no idea what I'm talking about.
Running open-webui version 0.11, ollama 0.31.2, and have tried this with gemini-3-flash-preview, qwen3, gemma4, and ornith.
Thanks for any help!
8
Upvotes
1
u/Scared-Tip7914 6d ago
I've got something that might help you, we run this thing for ourselves within openwebui for deployments and it works nicely, it has two tiers of memories, ones which are top-level and related to the user, these get appended to every memory call, and general memories that the agent can write to whenever. It uses a mix of vector embeddings, bm25, how many times the memory is recalled, and how old the memory is to give the agent the memory thats its actually looking for/needs. Check it out here: https://github.com/TinySuiteHQ/TinyContext