Python long-term-memory

Open-source Python projects categorized as long-term-memory

Top 23 Python long-term-memory Projects

long-term-memory
  1. 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-06

    The 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.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. Octop

    A smarter, self-hosted AI assistant — multi-user, multi-agent.

    Project mention: Octop, a self-hosted AI assistant by Tencent | news.ycombinator.com | 2026-10-06
  4. honcho

    Memory library for building stateful agents

    Project mention: AI Memory OSS를 프롬프트가 아니라 백엔드 시스템으로 읽는 10가지 질문 | dev.to | 2026-07-16

    Pinned Honcho source tree

  5. 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)

    Project mention: Gerenciamento de memória de longo prazo para agentes de IA | dev.to | 2026-10-27

    git clone https://github.com/tigerless-labs/agent-memory.git cd agent-memory uv sync --all-packages

  6. EverOS

    A memory OS that makes your OpenClaw agents more personal while saving tokens.

    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).

  7. memobase

    User Profile-Based Long-Term Memory for AI Chatbot Applications.

  8. memanto

    Memory that AI Agents Love!

    Project mention: Show HN: Memanto.ai | news.ycombinator.com | 2026-09-22
  9. MemoryOS

    [EMNLP 2025 Oral] MemoryOS is designed to provide a memory operating system for personalized AI agents.

  10. powercontext

    Agent memory: long-term memory & agent memory handoff. Claude Code & Codex.

    Project mention: PowerContext, Context for work that humans and agents hand off and continue | news.ycombinator.com | 2026-09-14
  11. 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
  12. LongMem

    Official implementation of our NeurIPS 2023 paper "Augmenting Language Models with Long-Term Memory".

  13. 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-03

    Yesterday 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.

  14. m_flow

    Graph RAG finds what's similar. M-flow finds what's relevant.

    Project mention: Graph RAG finds what's similar. We should aim for what's relevant | news.ycombinator.com | 2026-04-18
  15. MemT-1.0

    Official repository for MemT-1.0

    Project mention: MemT 1.0 is launched: Towards Memory-Native Evolution. | dev.to | 2026-10-30

    GitHub: https://github.com/MemTensor/MemT-1.0

  16. 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.

  17. piia-engram

    Local-first AI memory you can see, edit, and override — portable across Claude Code, Codex, Cursor, Windsurf, and other MCP coding tools.

    Project mention: Your agent remembers. that's the problem | dev.to | 2026-06-18

    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."

  18. 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
  19. 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)

    Project mention: I Built a Functional Cognitive Engine | news.ycombinator.com | 2026-04-06
  20. 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
  21. 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.

    Project mention: Full-Proof: Distillery 0.4.0 and the Agent Memory Problem | dev.to | 2026-04-19

    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.

  22. 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
  23. 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
  24. 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
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python long-term-memory discussion

Log in or Post with

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

    3 projects | dev.to | 7 Oct 2026
  • Hybrid vector + graph recall in pure TypeScript, zero dependencies

    3 projects | dev.to | 7 Jul 2026
  • Google Titans architecture, helping AI have long-term memory

    1 project | news.ycombinator.com | 7 Dec 2025
  • Longer text prompts/analysis?

    2 projects | /r/ChatGPTPro | 28 Apr 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 8 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

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

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Python is
the 1st most popular programming language
based on number of references?