SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python ai-memory Projects
-
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-03The 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."
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
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.
-
Pinned Honcho source tree
-
julep
Julep — durable, composable AI agents. Flows that crash and resume, retry safely, and explain every step.
Diwank wrote about Julep in Field Notes From Shipping Real Code With Claude:
-
-
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 -
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-05Wrap-up + repo link:https://github.com/bibinprathap/VeritasGraph https://bibinprathap.github.io/VeritasGraph/studio/
-
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-01Repo for anyone who wants to look under the hood: https://github.com/oleksiijko/pmb
-
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 -
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-06GitHub: github.com/Nubaeon/empirica
-
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.
Website: mengram.io
-
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 -
Project mention: Show HN: Nemp Memory – local project memory that survives tool switching | news.ycombinator.com | 2026-03-03
-
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
-
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 -
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 -
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.
-
Project mention: Show HN: Memory System for Claude Code and Other CLIs | news.ycombinator.com | 2025-12-05
-
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-29I'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".
-
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 -
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 -
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
Python ai-memory discussion
Python ai-memory related posts
-
Can a user retrieve information outside their permissions, including through the lexical search path, caches, or indirect references?
-
Memory Is Not Written. It's Audited.
-
Your skill file is too big: the 6KB line, measured
-
We open-sourced the tool that failed its own kill rule
-
I Made a Memory Benchmark as Fair as I Could. 15 Stars, 0 Runs. What's Wrong With It?
-
Show HN: Slowave – local adaptive memory for coding agents
-
Show HN: DeepMem·hybrid-retrieval memory for AI Agents – Vector+BM25+Time-Decay
-
A note from our sponsor - SaaSHub
www.saashub.com | 6 Nov 2026
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 |