Python ai-memory

Open-source Python projects categorized as ai-memory

Top 23 Python ai-memory Projects

  1. cognee

    Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory with small models for free

    Project mention: Can a user retrieve information outside their permissions, including through the lexical search path, caches, or indirect references? | dev.to | 2026-11-03

    The query language. Cognee pull request #5844, merged into its dev branch on 15 October 2026: "CYPHER and NATURAL_LANGUAGE search types run raw Cypher against the graph database." And: "Any user with read access to a dataset could execute arbitrary queries". The change: "ALLOW_CYPHER_QUERY now defaults to false." For turning it back on: "Only do that when every user of the deployment is trusted."

  2. SaaSHub

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

    SaaSHub logo
  3. Memori

    Memori is agent-native memory infrastructure. A LLM-agnostic layer that turns agent execution and conversation into structured, persistent state for production systems. Built for enterprise, Memori works with the data infrastructure you already run, no rip-and-replace, and deploys across managed cloud, single-tenant cloud, VPC, and on-premises.

    Project mention: Memori Launched an OpenClaw Plugin | news.ycombinator.com | 2026-03-19
  4. honcho

    Memory library for building stateful agents

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

    Pinned Honcho source tree

  5. julep

    Julep — durable, composable AI agents. Flows that crash and resume, retry safely, and explain every step.

    Project mention: Your CLAUDE.md Is Probably Too Long | dev.to | 2026-10-20

    Diwank wrote about Julep in Field Notes From Shipping Real Code With Claude:

  6. memobase

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

  7. 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
  8. VeritasGraph

    VeritasGraph — open-source Knowledge Graph & GraphRAG framework on GitHub. Build multi-hop reasoning, ontology-aware retrieval, and verifiable attribution over your own data. Nodes, edges, RDF, linked-data — runs locally or in the cloud.

    Project mention: Build governed, on-prem AI agents with VeritasGraph Studio (GraphRAG + citations) | dev.to | 2026-07-05

    Wrap-up + repo link:https://github.com/bibinprathap/VeritasGraph https://bibinprathap.github.io/VeritasGraph/studio/

  9. pmb

    Local-first persistent memory for AI coding agents (Claude Code, Cursor, Codex) over MCP. Decisions, lessons and facts live in one SQLite file on your disk. Offline, multilingual.

    Project mention: Show HN: PMB – local memory for coding agents that shows if it is used | news.ycombinator.com | 2026-07-01

    Repo for anyone who wants to look under the hood: https://github.com/oleksiijko/pmb

  10. superlocalmemory

    Open-source governed, local-first memory control plane for AI agents and teams. arXiv:2608.08253

    Project mention: Show HN: SuperLocalMemory" AI brain that never bluffs: Laya, Jev, Google Gemma | news.ycombinator.com | 2026-10-13
  11. empirica

    Make AI agents and AI workflows measurably reliable. Epistemic measurement, Noetic RAG, Sentinel gating, and grounded calibration for Claude Code and beyond

    Project mention: Why Your AI Agent Needs Memory That Decays (and How Qdrant Makes It Work) | dev.to | 2026-03-06

    GitHub: github.com/Nubaeon/empirica

  12. mengram

    Human-like memory for AI agents — semantic, episodic & procedural. Experience-driven procedures that learn from failures. Free API, Python & JS SDKs, LangChain, CrewAI & OpenClaw integrations.

    Project mention: How to Give Claude Code Persistent Memory (2 Commands) | dev.to | 2026-03-20

    Website: mengram.io

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

  14. 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
  15. Nemp-memory

    Nemp - The memory plugin for Claude Code that remembers everything.

    Project mention: Show HN: Nemp Memory – local project memory that survives tool switching | news.ycombinator.com | 2026-03-03
  16. alive

    Personal Context Manager for Claude Code. Your life in walnuts. (by alivecontext)

    Project mention: Alive – Five Markdown files that give Claude Code a persistent memory | news.ycombinator.com | 2026-03-17

    - insights.md — stuff that doesn't change

    Save at session end, load at session start. 12 hooks enforce the structure, log entries are immutable, deletions are blocked, context re-injects when the window fills up. The model can't talk its way out of the guardrails.

    Also works with OpenClaw (separate plugin, same files - in alpha). Your Mac Mini captures all day, Claude Code does focused work, both read the same project context.

    claude plugin install alive

    MIT licensed, local files, no account.

    https://github.com/alivecomputer/alive-claude

  17. 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
  18. mem0-mcp-selfhosted

    Self-hosted mem0 MCP server for Claude Code. Run a complete memory server against self-hosted Qdrant + Neo4j + Ollama while using Claude as the main LLM.

    Project mention: Show HN: Giving Claude Code persistent memory with a self-hosted MCP server | news.ycombinator.com | 2026-02-19
  19. 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.

  20. memory

    Memory server for llms that can be easily integrated to any client. (by RLabs-Inc)

    Project mention: Show HN: Memory System for Claude Code and Other CLIs | news.ycombinator.com | 2025-12-05
  21. yantrikdb-hermes-plugin

    YantrikDB memory provider for NousResearch/hermes-agent — self-maintaining memory with benchmarked recall, self-tuning ranking, contradiction tracking, proactive hygiene, and explainable recall.

    Project mention: A contributor found the live twin of a namespace bug I'd filed as low priority | dev.to | 2026-10-29

    I'd come at this from a different direction in September. A user filed yantrikdb-hermes-plugin #87: on the embedded backend, think() silently never did any maintenance. The plugin always passes a namespace key in the think() config dict, think() whitelists its config keys, and namespace is only on recall()'s whitelist. Recall and remember worked; think did nothing, and the only evidence was a DEBUG-level think(): unknown config key "namespace".

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

    Cross-agent memory for AI coding tools: one self-hostable knowledge graph shared by Claude Code, Codex, OpenCode, Cursor, and the agents you build. (by hyperb1iss)

    Project mention: Show HN: Sibyl – self-hosted cross-agent memory for AI coding agents | news.ycombinator.com | 2026-06-30
  24. friday

    The open-source persistent cognitive memory layer for AI coding agents. Stop your Cursor, Claude & Copilot from having amnesia. (by friday-memory)

    Project mention: Show HN: Friday – Self-hosted persistent memory for AI coding agents (MCP) | news.ycombinator.com | 2026-09-16
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 ai-memory discussion

Log in or Post with

Python ai-memory related posts

  • Can a user retrieve information outside their permissions, including through the lexical search path, caches, or indirect references?

    4 projects | dev.to | 3 Nov 2026
  • Memory Is Not Written. It's Audited.

    1 project | dev.to | 22 Oct 2026
  • Your skill file is too big: the 6KB line, measured

    1 project | dev.to | 18 Oct 2026
  • We open-sourced the tool that failed its own kill rule

    1 project | dev.to | 14 Oct 2026
  • I Made a Memory Benchmark as Fair as I Could. 15 Stars, 0 Runs. What's Wrong With It?

    1 project | dev.to | 27 Sep 2026
  • Show HN: Slowave – local adaptive memory for coding agents

    1 project | news.ycombinator.com | 14 Sep 2026
  • Show HN: DeepMem·hybrid-retrieval memory for AI Agents – Vector+BM25+Time-Decay

    1 project | news.ycombinator.com | 8 Sep 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 6 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source ai-memory projects in Python? This list will help you:

# Project Stars
1 cognee 33,093
2 Memori 17,257
3 honcho 7,870
4 julep 6,575
5 memobase 2,942
6 iai-personal-memory-engine 918
7 VeritasGraph 326
8 pmb 288
9 superlocalmemory 273
10 empirica 253
11 mengram 206
12 piia-engram 165
13 lossless-memory 164
14 Nemp-memory 140
15 alive 132
16 deepmem 114
17 mem0-mcp-selfhosted 112
18 vektori 112
19 memory 94
20 yantrikdb-hermes-plugin 94
21 TrueMemory 84
22 sibyl 68
23 friday 67

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?