I built a local memory library for Python AI apps — no API key, no cloud, just pip install for free
Hey fans and followers,
I have been building ai projects and kept running into the same problem - every time a conversation ends with agents , the app forgets everything, the existing solutions (mem0 , zep) either need an api key , or a cloud account
So I built memoryos — a Python library that gives any AI app persistent, queryable memory. Runs entirely on your machine.
python sample code:
from memoryos import Memory
mem = Memory(user_id="alice")
mem.remember("I prefer dark mode and use VS Code")
mem.remember("Currently building a FastAPI backend")
results = mem.recall("what tools does the user use?")
print(results[0]["text"])
#output → "I prefer dark mode and use VS Code"
pip install memoryos-official
do check it out
source code link will be posted soon ...
I will be happy if you guys share your thoughts in the comments section