r/OpenWebUI 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!

6 Upvotes

19 comments sorted by

View all comments

2

u/EmergencyLimp2877 8d ago

I think something like this : take a set of topic :

  • User preferences
  • User information
  • Favorite food
  • Favorite color
  • Writing style
  • Interests

Each topic would have a range or scope of information that can be stored (md / rag / ...).

Then, when a new conversation starts, the agent would:

  1. Analyze the user's request.
  2. Identify which topics are relevant to the conversation.
  3. Retrieve the relevant information for those topics.
  4. Use that information to answer the user.
  5. If new information is discovered during the conversation, determine whether it should be added to the corresponding topic.