Open-source agent memory systems

Agent memory systems published under an OSI-approved open-source license (Apache, MIT, BSD, GPL family, MPL). Ranked by maturity tier — production-grade entries first.

138 systems match this filter— showing top 80 by tier and inbound citations.

Tier 1 — battle-tested (23)

  • Mem0 Vector + graph + KV (hybrid)

    Universal memory layer for AI agents. Three concurrent stores (vector + graph + KV); LLM-extracted facts; concurrent retrieval via ThreadPoolExecutor.

  • Langfuse Memory ops as named spans + Agent Graphs

    Acquired by ClickHouse (2026-01-16); product and MIT-licensed repo continue under the Langfuse name. Memory module reads/writes captured as named spans. Trace Log View concatenates every agent step including memory ops. Agent Graphs (GA …

  • GraphRAG (Microsoft) Community summary + Leiden detection

    Modular graph-based RAG. Leiden community detection over knowledge graph; community summaries at multiple levels. DRIFT Search hybrid (Oct 2024). The GraphRAG repo is now largely in maintenance mode: no new features or PRs, only bug fixe…

  • Zep & Graphiti Bi-temporal knowledge graph

    Bi-temporal knowledge graph (event time + ingestion time). Strong on chronological reasoning and contradiction tracking. Graphiti is the open-source core.

  • Cognee Knowledge graph + ECL pipeline

    "Extract–Cognify–Load" pipeline that turns raw input into a typed, queryable knowledge graph for agent recall.

  • Flowise Memory Buffer + Buffer-Window + Conversation-Summary nodes

    Discontinued: Flowise (acquired by Workday, Aug 2025) was sunset in 2026 — code freeze 2026-07-29, GitHub repo archived 2026-08-13, end of life 2026-08-31. Was a visual LangChain canvas with LangChain-native memory nodes (Buffer, Buffer …

  • Hindsight (Vectorize) Vector + reflection / summarisation

    Standalone memory service from Vectorize. Open source. Biomimetic four-network design (World, Bank, Observation, Opinion). Ships an MCP memory server.

  • Letta / MemGPT Tiered: core / recall / archival

    Originated as MemGPT (UC Berkeley), where the model pages its own memory between context, recall and archival tiers. The product now centres on Letta Code, a stateful agent harness whose agents rewrite their own memory, skills and prompt…

  • Official MCP Memory server KG-based persistent memory MCP

    Knowledge-graph-based persistent memory MCP server — the canonical reference implementation. npx -y @modelcontextprotocol/server-memory ; configurable via MEMORY_FILE_PATH .

  • Supermemory Memory graph + extraction + RAG

    Memory engine with API, app, browser extension, and MCP server. Extracts facts, tracks updates, resolves contradictions, auto-forgets expired info. Plugins for Claude Code, OpenCode, OpenClaw, Hermes.

  • SuperLocalMemory Local-geometric / privacy-first / no LLM scoring

    Cloud-free agent memory using information-geometric retrieval (Fisher-Rao distance + BM25 + entity graph + temporal fusion via 4-channel RRF) instead of LLM calls for scoring and lifecycle. Mode A is the only system to cross 70% LoCoMo w…

  • AGENTS.md Cross-tool open standard

    Open Markdown 'README for agents' at repo root; nested files in subprojects take precedence (closest wins). Holds build/test commands, conventions and PR rules. Stewarded by the Agentic AI Foundation (Linux Foundation); supported by Code…

  • Botpress LLMz Vector DB + LLMz engine + KB

    Per-plan vector-DB storage quota + LLMz autonomous engine (in-session working memory) + Knowledge Base (semantic search over uploaded docs). Long-term user memory persists across sessions.

  • claude-mem Episodic / session-log compression

    Hooks into Claude Code's session lifecycle; compresses tool outputs into ~500-token observations via Claude's agent SDK. SQLite + FTS5 with optional Chroma vector. "Endless Mode" compresses in-flight to extend session length. Captures wh…

  • codebase-memory-mcp (DeusData) Tree-sitter knowledge-graph MCP for code

    High-performance MCP server building persistent code knowledge graphs via AST. 155 languages via vendored tree-sitter; SQLite + WAL; single static binary; zero runtime deps. Knowledge graph: Project/Package/File/Module/Class/Function/Met…

  • Graphiti MCP Server (Zep) Temporal KG with bi-temporal edges

    Tracks how facts change over time; maintains provenance; supports prescribed and learned ontology. Bi-temporal edges (when known vs when valid). Only server that distinguishes "fact learned" from "fact true."

  • Langflow Memory SQLite buffer + Mem0/Redis integrations

    Agent component has built-in chat memory enabled by default, keyed by session ID. Custom session IDs isolate per-user history. Bundled Mem0 + Redis integrations for external memory layers.

  • Mem0 MCP (official) Hybrid vector + graph via cloud API

    Archived 2026-03-24 (read-only); README now points to Mem0's official cloud-hosted MCP server at mcp.mem0.ai/mcp. Mem0's managed cloud API exposed as MCP tools. Semantic search + CRUD on memories scoped by user / agent / session. Cloud-h…

  • Mem0 Security / OpenMemory SOC 2 + HIPAA + zero-trust + BYOK

    Commercial Mem0 ships SOC 2 / HIPAA, zero-trust access controls, BYOK encryption, real-time monitoring, audit logs and workspace governance as defaults (Trust Center at trust.mem0.ai). For privacy-first deployments the self-hosted path i…

  • Mistral Vibe (Remote Agents) + Mistral Medium 3.5 Cloud-hosted async coding agents with teleportable session state

    Vibe is Mistral's cloud-hosted coding-agent platform: each session runs in an isolated sandbox with task state, history, and approvals. Spawnable from CLI or Le Chat, with parallel execution. Local CLI sessions can be "teleported" to the…

  • Omi Open-source wearable orb + memory graph

    Wearable orb (necklace or clip) with open-source hardware + firmware. Continuous audio capture; real-time GPT-4o transcription; searchable memory graph. Supports app screen capture too. Hybrid privacy: cloud by default (SOC 2/HIPAA/AES-2…

  • OpenAI Codex (cloud agent) File-backed ~/.codex/memories + Chronicle

    Memory under ~/.codex/memories/ : summaries, durable entries, recent-input logs, supporting evidence — generated in background after sessions go idle. Chronicle (opt-in macOS preview) uses screen-capture to seed memory. Off by default; o…

  • π0.5 (Physical Intelligence) Multi-Scale Embodied Memory (short + long episodic)

    Extends π0 with MEM layer giving the policy short-term (within-task) + long-term (cross-task, >10-min horizon) memory. Co-trained on robot teleoperation + human video + text. Hierarchical inference: VLA predicts subtasks as text tokens, …

Tier 2 — production-ready (52)

  • LangGraph Persistence Checkpoints + Store System

    Distinct from LangMem. Built-in checkpointer saves graph state per super-step (short-term, thread-scoped). Store System adds long-term hierarchical key-value memory across threads with optional vector search + TTL. Postgres / Mongo / Red…

  • AgentOps Operational metrics for agent memory

    When Mem0 is connected, gains Memory Operation Timeline, Search Analytics, Memory Growth tracking, Error Tracking per memory call. Standalone, records context at each step but doesn't analyse memory quality.

  • AutoGen Memory List + teachable vectors

    AutoGen's memory layer: ListMemory chronological context plus teachable agents that vectorise corrections; integrates with Mem0/Zep rather than building deep memory natively. Microsoft AutoGen is in maintenance mode (community managed, b…

  • Memori Structured persistent memory layer

    Structured, persistent memory layer for AI agents. Open source.

  • Memvid Single-file append-only Smart Frames

    Single-file memory layer (one .mv2 file). No DB, no server. Append-only sequence of immutable Smart Frames with timestamps + checksums. Native Rust core (rewritten from Python).

  • Aider Per-repo chat history file + YAML config

    Appends conversation turns to .aider.chat.history.md in project root. restore_chat_history defaults to false — no automatic replay into new sessions. Community /session save command for JSON state snapshots. .aider.conf.yml carries stati…

  • CrewAI Memory Short-term + long-term + entity

    Memory subsystem inside the CrewAI orchestration framework; integrates with Mem0 for the long-term tier.

  • Memobase User profile + event timeline

    User-profile-based long-term memory. Per-user profile + event timeline. API + Python/Node/Go SDKs + MCP server. Profile-centric rather than fact-centric.

  • Semantic Kernel Memory Memory plugin for SK agents

    Microsoft Semantic Kernel's memory plugin (Microsoft.SemanticKernel.Plugins.Memory): a plug-in approach to long-term memory in the SK agent framework (agent memory marked experimental). Semantic Kernel's README names Microsoft Agent Fram…

  • AGiXT Adaptive Memory Adaptive provider-spanning + plugin storage

    Open-source AI automation platform. Routes between short-term and long-term memory adaptively across any LLM provider; plugin system for storage backends. Memory managed at the instruction-management layer — task context, instruction sta…

  • Agno (Phidata) Memory AgentStorage + AgentMemory + DBs

    Agno (formerly Phidata). AgentStorage persists sessions to a DB; AgentMemory auto-classifies/store user preferences and conversation summaries. Single-line integrations with LanceDB, Pinecone, Weaviate, Qdrant.

  • Anda Hippocampus (now Anda Brain) Bio-inspired sleep consolidation

    Renamed Anda Brain (repo now ldclabs/anda-brain). Native graph-based memory for autonomous AI agents. Bio-inspired sleep-based memory consolidation. The hosted service brain.anda.ai has been discontinued; Anda Brain is now self-hosted on…

  • AutoGLM (Zhipu AI) GUI agent + cross-session task memory

    Tsinghua spinout. Foundation agent series for autonomous smartphone/PC GUI control. Persistent task memory retains shopping history, app usage patterns, multi-step task state across sessions. AutoGLM-Thinking claimed first agent capable …

  • Backboard Memory + LoCoMo evaluation harness

    Stateful AI API combining persistent memory, RAG, web search and routing across many LLMs behind one interface, with SDKs for Python and npm; benchmarks its memory on LoCoMo and LongMemEval. As of Oct 2026 Backboard positions itself as a…

  • Bolt.new (StackBlitz) WebContainer file system

    In-browser WebContainer (Rust-backed shared memory) is the implicit state store. No dedicated memory abstraction — project files are the state. Team plan adds shared workspaces + GitHub integration.

  • claude-brain Memvid → Claude Code plugin

    Claude Code plugin packaging of Memvid (see Dedicated memory layers). Wraps the Memvid .mv2 single-file store as a slash-command-installable plugin so per-project memory becomes a git-committable file inside the repo.

  • Claude-CursorMemoryMCP PostgreSQL + pgvector with RBAC

    FastAPI server. RBAC + API-key auth, encryption, backup/recovery, embedding pipeline with deduplication. Only server in this list with role-based access control over pgvector.

  • claude-supermemory Team-scope memory plugin

    Wraps Supermemory cloud API. Team memory shared across project members, separate from personal memories. Auto-capture on session end; per-repo config.

  • Cognee MCP Multi-layer KG with rule extraction

    "Cognify" extracts entities and relationships into a structured graph. Saves interaction patterns as coding rules; uses both vector and graph DBs. Bundled in Cognee v0.3.5+.

  • Continue.dev .continue/rules Path-glob-scoped rules

    .continue/rules/*.md at workspace root, loaded lexicographically; YAML frontmatter name, globs, regex, description, alwaysApply. Continue was acquired by Cursor in June 2026 and the extension is no longer maintained.

  • engram Static Go binary, agent-agnostic

    SQLite + FTS5; agent decides what to save (not firehose capture). Single Go binary, no CGO, no Node/Python/Docker dependencies. HTTP API + MCP + CLI + TUI; optional cloud sync with local-source-of-truth.

  • Google ADK Memory SessionService tiers + VertexAIMemoryBank

    Google's Agent Development Kit. Session services: InMemory / Database / VertexAI. Long-term: InMemoryMemoryService or VertexAIMemoryBankService (uses Vertex AI Memory Bank Preview for persistent cross-session memory).

  • Hindsight MCP Four-network episodic memory

    World (facts), Experiences (agent actions), Opinion (beliefs with confidence scores), Observation (mental models). Entity resolution ("Alice" and "my coworker Alice" same node). Mimics human recall topology.

  • LangMem (LangChain) Episodic / semantic / procedural

    First-class memory module inside LangChain — explicit cognitive-science-style typing of memories.

  • LlamaIndex Memory FIFO short-term + Memory Blocks

    Two-tier model: ChatMessage FIFO queue with overflow flushed into long-term Memory Block objects. Memory class replacing older ChatMemoryBuffer.

  • local-memory-mcp SQLite + FTS5 with decision-tracking

    SQLite + FTS5 + BM25 ranking. Stores learnings, decisions with reasoning and alternatives , entities, observations. Loads context from last 3 sessions. Only server that captures why a decision was made + alternatives considered.

  • Logseq Local Markdown outliner + AI plugins

    Open-source local-first outliner. Notes stored as Markdown / Org-mode on disk. AI integration via community plugins (e.g. logseq-ai for chatting with the graph). Graph view + backlinks; daily-journal-driven workflow.

  • M3-Agent (ByteDance) Episodic + semantic multimodal memory graph

    ByteDance Seed + Zhejiang Univ + SJTU. Multimodal agent with long-term memory as entity-centric graph built from live video + audio streams. Parallel memorisation + control processes. Ships M3-Bench evaluation dataset.

  • Mastra Memory LibSQL + semantic recall

    TypeScript-first agent framework. Default memory: LibSQL store + on-device fastembed-js for semantic recall.

  • mcp-knowledge-graph Stable local fork of official MCP memory

    KG-based local fork of @modelcontextprotocol/server-memory . Avoids ephemeral npx installs; supports named databases for topic scoping; user-controlled memory path. Drop-in for teams that want the official KG model without npx churn.

  • mcp-memory (Puliczek) Cloudflare-native vector memory

    Embeddings via @cf/baai/bge-m3 ; Vectorize + D1; per-user namespace isolation. Runs entirely on Cloudflare Workers — no separate server.

  • mcp-memory-service (doobidoo) KG + vector hybrid + autonomous consolidation

    SQLite-Vec default, Cloudflare hybrid for production. Typed edges (causes, fixes, contradicts). Autonomous consolidation compresses old memories. SSE real-time notifications + D3.js visualisation dashboard. Agent-pipeline focused (LangGr…

  • Memary Long-term memory for autonomous agents

    Open-source long-term memory framework for autonomous agents.

  • MemMachine Multi-layered memory system

    Multi-layered open-source memory system for AI agents.

  • MemoraX AI Endogenous / in-model memory (no external bank)

    Shenzhen. Argues attaching external vector stores is architecturally flawed; trains memory as an intrinsic capability via Agentic RL. Plans B2B enterprise KM and C2C personalisation in 12 months. Founded by Tianjin University AI professo…

  • Memoria (MatrixOrigin) Retrieval-strong memory layer

    Memory layer from MatrixOrigin. Strong-retrieval / clear-reader-separation design.

  • MemWal (now Walrus Memory) Decentralised / verifiable on-chain agent memory

    Walrus is a Sui-blockchain decentralised storage protocol; MemWal is its AI-facing SDK that stores encrypted agent memory on-chain — portable, verifiable, shareable across agent systems with no single-vendor lock-in. Targets production a…

  • Microsoft Agent Governance Toolkit Cross-Model Verification Kernel + Agent OS

    Cross-Model Verification Kernel (CMVK) requires majority-voting agreement across multiple model calls before a memory-influenced action. Agent OS package intercepts every action (memory included) at sub-millisecond latency. MIT licensed.

  • NVIDIA Inference Context Memory Storage Platform (now NVIDIA CMX Context Memory Storage Platform) Hardware-accelerated cluster KV-cache storage tier

    Renamed NVIDIA CMX Context Memory Storage Platform (2026). A BlueField-4 (STX) powered "AI-native context tier" that extends GPU memory with a shared pod-level KV-cache tier for long-context, multi-turn agentic inference, with Dynamo rou…

  • O-Mem Omni / self-evolving memory

    Omni memory system for personalised, long-horizon, self-evolving agents. From OPPO PersonalAI.

  • OMEGA Memory engine + 50ms retrieval

    Local context/memory engine for coding agents: stores decisions, docs and agent history on-machine (SQLite + local ONNX embeddings) and serves a ranked slice per task over MCP. Open-core Apache-2.0 core with paid Pro tier.

  • OpenAI Agents SDK Memory Sessions + RunContextWrapper + categorised long-term

    OpenAI's agent SDK. Sessions for working context within an agent loop; RunContextWrapper for structured persistent state. April 2026 update added categorised long-term memory: project / user / policy. Long-term tier typically backed by e…

  • OpenMemory (now LongMemory) Cognitive memory engine

    Renamed LongMemory (repo CaviraOSS/LongMemory; packages longmemory / longmemory-sdk, with openmemory-js@2 / openmemory-py@2 as forwarding bridges). Open-source cognitive memory engine for LLMs and agents.

  • OpenMemory MCP Mem0-hosted MCP memory server (cross-tool memory)

    Mem0's MCP memory layer for coding agents (Claude, Cursor, VS Code, Windsurf, Codex etc.). As of Oct 2026 it is a hosted service: the MCP server runs at mcp.mem0.ai, needs a Mem0 Platform account (browser sign-in or API key, npx mcp-add …

  • Pydantic-AI + Hindsight External memory bolted on

    Pydantic-AI ships no native persistent memory; agents start fresh each run. Long-term memory typically added via third-party integration (e.g. Hindsight) using tools + auto-injected memory instructions.

  • Ratine Offline scanner — memory poisoning detector

    Only tool found that scans the persistent memory layer on disk rather than runtime tracing. Detects injected instructions, obfuscated payloads (zero-width Unicode, base64, homoglyphs, hex), C2-pattern URLs, credential leakage. ratine dif…

  • Reflect Apple-ecosystem second brain

    Daily-notes + backlinks note app now relaunched as Reflect Open: open-source, offline-first, notes stored as local Markdown files synced via iCloud or Git; optional AI with your own API key. Reflect Classic still maintained.

  • Roo Code .roorules Per-mode rules + workspace overrides

    Discontinued: Roo Code (VS Code agent) used .roorules / .roo/rules files as persistent project instructions; the extension shut down on 2026-05-15 and its repo is archived.

  • smolagents Memory In-process Python list (no persistence)

    Hugging Face barebones agent framework. Memory lives as a Python list; no built-in persistence. Step callbacks let you mutate memory between steps. Persistence is left to the user — community proposals exist for "memory bank"-style addit…

  • Strands Agents Memory (AWS) Mem0 + AgentCore-backed

    AWS code-first agent framework. Multi-LLM (Bedrock, Anthropic, Gemini, OpenAI). Memory via Mem0 integration (ElastiCache for Valkey + Neptune Analytics) or Bedrock AgentCore Memory. Local default uses FAISS; OpenSearch for production.

  • Superpowers episodic-memory plugin MCP semantic search over conversations

    Claude Code plugin that indexes prior conversations at session end and exposes search/show tools via MCP. Distributed via obra/superpowers-marketplace ; install with /plugin install episodic-memory@superpowers-marketplace .

  • Sweep AI GitHub-thread-as-implicit-memory

    Superseded: the sweepai/sweep README says the team now builds an AI coding assistant for JetBrains; the GitHub-app product described here is no longer the focus (repo not archived). No dedicated persistent memory layer. Operates as a Git…

Tier 3 — emerging (5)

  • Spring AI ChatMemory Advisor-pattern Java-native memory

    Wraps conversation memory behind an Advisor abstraction. MessageWindowChatMemory default 20-msg sliding window (preserves system messages); pluggable ChatMemoryRepository backends (in-memory, JDBC, Cassandra, Neo4j). Memory injected as c…

  • RETRO Trillion-token retrieval transformer

    DeepMind. Retrieval-Enhanced Transformer with chunked cross-attention over a 2T-token retrieval database. Frozen BERT retriever + differentiable encoder.

  • Atlas Few-shot retrieval-augmented LM

    Meta AI. Jointly fine-tunes retriever + LM for few-shot tasks. The facebookresearch/atlas repo is no longer maintained; the code is provided as is.

  • RAPTOR Recursive abstractive tree RAG

    Stanford recursive-summarisation tree over the corpus — clusters and summarises documents into a hierarchical index; retrieves at multiple levels. ICLR 2024.

  • HippoRAG / HippoRAG2 Personalised PageRank over KG

    Hippocampus-inspired RAG. LLMs + knowledge graphs + Personalized PageRank to mimic neocortex/hippocampus roles. NeurIPS 2024.