SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python long-term-memory Projects
-
mem0
The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Project mention: We tested memory retrieval on DolphinBench. Plain keyword search exposed our own regression. | dev.to | 2026-11-06The local comparison included Mem0 OSS 2.2.1, Graphiti 0.31.2, Anima Labs' Connectome embeddings index, and configurations of sqlite-graph-memory, or SGM. Mem0's BM25 and spaCy support were enabled. Mem0 and Graphiti used gpt-4.1-mini and text-embedding-3-small; SGM used e5 on CPU; Anima used Jina v5 omni small on a local GPU.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
Pinned Honcho source tree
-
agent-memory
Long-term memory runtime for AI agents — plain Markdown as the source of truth, local ranked retrieval, and an independent sleep-time Manage layer. Claude Code and Codex share one store. No API key. (by tigerless-labs)
git clone https://github.com/tigerless-labs/agent-memory.git cd agent-memory uv sync --all-packages
-
Project mention: We audited LoCoMo: 6.4% of the answer key is wrong and the judge accepts up to 63% of intentionally | dev.to | 2026-04-04
There is also no standardized evaluation pipeline. Each system uses its own ingestion method (arguably necessary given architectural differences), its own answer generation prompt, and sometimes entirely different models. Scores are then compared in tables as if they share a common methodology. Multiple independent researchers have documented inability to reproduce published results (EverMemOS #73, Mem0 #3944, Zep scoring discrepancy).
-
-
-
MemoryOS
[EMNLP 2025 Oral] MemoryOS is designed to provide a memory operating system for personalized AI agents.
-
Project mention: PowerContext, Context for work that humans and agents hand off and continue | news.ycombinator.com | 2026-09-14
-
iai-personal-memory-engine
A cyber brain for your AI. It never forgets a detail, remembers exactly what you said, and learns how you work over time. Free, local, works with Cursor, Claude Code, Codex, OpenClaw, Hermes and more. MIT.
Project mention: 50K-token context reloads, replaced by a 2K local memory engine | news.ycombinator.com | 2026-06-28 -
LongMem
Official implementation of our NeurIPS 2023 paper "Augmenting Language Models with Long-Term Memory".
-
Awesome-Agent-Memory
Curated systems, benchmarks, and papers etc. on memory for LLMs/MLLMs --- long-term context, retrieval, and reasoning.
Project mention: Listed in Awesome-Agent-Memory: what the maintainer audited, and what the listing actually pays | dev.to | 2026-10-03Yesterday alethech — our verifiable agent memory protocol — landed in TeleAI-UAGI/Awesome-Agent-Memory as the last entry of the Emerging projects block, via PR #136. The list has 657 stars today. The PR was five lines of README. The maintainer closed it unmerged — and landed it by hand with co-authorship credit, as ec176c9.
-
Project mention: Graph RAG finds what's similar. We should aim for what's relevant | news.ycombinator.com | 2026-04-18
-
GitHub: https://github.com/MemTensor/MemT-1.0
-
Aetherius_AI_Assistant
A completely private, locally-operated Ai Assistant/Chatbot/Sub-Agent Framework with realistic Long Term Memory and thought formation using Open Source LLMs. Qdrant is used for the Vector DB.
-
piia-engram
Local-first AI memory you can see, edit, and override — portable across Claude Code, Codex, Cursor, Windsurf, and other MCP coding tools.
I packed this into piia-engram — a local-first, content-blind memory layer for MCP clients (Claude Code, Cursor, Codex). Open source, pip install piia-engram. It's local-first mostly because the cleanest answer to "is my memory private?" is "nothing left your machine in the first place."
-
lossless-memory
Lossless long-term memory for a personal AI: never summarize, keep every line, put a timestamp on everything.
Project mention: Show HN: Lossless-memory – a personal AI memory that never summarizes | news.ycombinator.com | 2026-09-21 -
aura
A mind built around a local 27B model on one Mac: lasting memory, affect and drives, offline Wikipedia, voice and screen, procedures she writes and keeps, and a receipt for every consequential action. Claims are preregistered and failures stay in the record. Activation steering is built, not yet qualified for user turns. (by youngbryan97)
-
deepmem
Drop-in AI memory layer with 2x faster retrieval and 10x lower cost. Fully compatible with Mem0 API. Migrate in 5 minutes without any code changes. Self-host for free.
Project mention: Show HN: DeepMem·hybrid-retrieval memory for AI Agents – Vector+BM25+Time-Decay | news.ycombinator.com | 2026-09-08 -
vektori
Memory that remembers the story not just the facts. Three layer sentence graph for AI agents -> Facts, Episodes, raw Sentences. One DB. Zero config.
My own investigation of the memory research last week kept landing on a related but distinct conclusion. Three-tier layered memory (fast index on top, episodes in the middle, raw transcripts on demand) is now the default pattern in serious memory systems. LongMemEval-S at 73% is a reasonable community-stack baseline (Vektori, BGE-M3 plus Flash-2.5-lite), and MemPalace's ChromaDB-backed stack has since posted 96.6% on LongMemEval R@5 in raw mode, which is the kind of jump worth watching. The leaked Claude Code memory internals, three subsystems plus a "Dream" consolidation pass, is almost exactly this architecture. The failures in agent memory aren't mostly retrieval: they sit in the reasoning layer between retrieval and action, and in the moment a session ends and all the volatile context evaporates.
-
TrueMemory
A living memory system that ingests long-horizon data to infer insights, enabling more decisive action, all while running on a single SQLite file locally.
Project mention: I tried to preserve my grandmother's mind. It became a dev tool | news.ycombinator.com | 2026-05-21 -
daidocs
Open plain-text file format for AI memory. Your assistant's long-term memory as .dai files on your disk: readable by Claude, GPT, Gemini, Cursor, local models and grep (all LLM models work). MCP server + hooks for Claude Code, Claude Desktop, Cursor, Windsurf, Codex. 83% LongMemEval-S (GPT-4o), 92% (Claude Fable 5), 10x fewer tokens.
Project mention: Show HN: Open-Source DaiDocs now beats Graphify by 218x low tokens, 83% on LME | news.ycombinator.com | 2026-10-08 -
persistent-mind-model-v1.0
Event-sourced runtime for reconstructable AI identity, memory, reflection, commitments, and auditable cognitive continuity.
Project mention: Show HN: Model-agnostic cognitive architecture for LLMs | news.ycombinator.com | 2025-11-17
Python long-term-memory discussion
Python long-term-memory related posts
-
Mnemoverse VS mem0 - a user suggested alternative
2 projects | 29 Oct 2026 -
07 - From Knowledge Base to Long-Term Memory: How I Understand an Agent Memory System
-
Hybrid vector + graph recall in pure TypeScript, zero dependencies
-
Google Titans architecture, helping AI have long-term memory
-
Longer text prompts/analysis?
-
A note from our sponsor - SaaSHub
www.saashub.com | 8 Nov 2026
Index
What are some of the best open-source long-term-memory projects in Python? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | mem0 | 68,473 |
| 2 | Octop | 11,521 |
| 3 | honcho | 7,870 |
| 4 | agent-memory | 4,303 |
| 5 | EverOS | 3,563 |
| 6 | memobase | 2,950 |
| 7 | memanto | 2,357 |
| 8 | MemoryOS | 1,620 |
| 9 | powercontext | 1,506 |
| 10 | iai-personal-memory-engine | 918 |
| 11 | LongMem | 828 |
| 12 | Awesome-Agent-Memory | 711 |
| 13 | m_flow | 539 |
| 14 | MemT-1.0 | 525 |
| 15 | Aetherius_AI_Assistant | 316 |
| 16 | piia-engram | 165 |
| 17 | lossless-memory | 164 |
| 18 | aura | 131 |
| 19 | deepmem | 114 |
| 20 | vektori | 112 |
| 21 | TrueMemory | 84 |
| 22 | daidocs | 54 |
| 23 | persistent-mind-model-v1.0 | 46 |