Top AI Agent Memory Frameworks (2026)
Agents forget between runs unless something gives them memory that lasts. Memory frameworks store, fetch, and update what an agent has learned. Often that lives in a vector store or a temporal knowledge graph. This list covers the frameworks developers reach for.
- 1
Mem0
An open-source (Apache-2.0) memory layer for any AI agent. It ships as a library and server you can self-host. It also comes as a hosted cloud platform.
- License:
- Apache-2.0
- Self-host:
- Yes
- 2
Zep
A managed agent-memory platform, Zep Cloud. Its public GitHub repo holds Apache-2.0 example code and integrations. It is not a server you can self-host.
- Delivery:
- Managed cloud
- Repo license:
- Apache-2.0
An open-source (Apache-2.0) platform for stateful agents with long-term memory. Formerly MemGPT. You can self-host it via its app server. It is wired up with OpenTelemetry.
- License:
- Apache-2.0
- OTel:
- Yes
An open-source (Apache-2.0) AI memory platform. It gives agents long-term memory that lasts. The knowledge-graph engine behind it can be self-hosted. It supports the OpenTelemetry collector.
- License:
- Apache-2.0
- Self-host:
- Yes
An open-source (Apache-2.0) library for building temporal knowledge graphs for AI agents. You can self-host it against graph backends: Neo4j, FalkorDB, Kuzu, Neptune. It comes with OpenTelemetry tracing.
- License:
- Apache-2.0
- OTel:
- Yes
An open-source (MIT) memory layer for autonomous agents. You can self-host it with local models via Ollama. It uses self-hosted graph databases, Neo4j or FalkorDB.
- License:
- MIT
- Self-host:
- Yes
LangChain's open-source (MIT) SDK. It helps agents learn and adapt over time. You can self-host it with pluggable storage backends, including Postgres.
- License:
- MIT
- Self-host:
- Yes
An open-source (Apache-2.0) memory layer from Redis. It gives AI agents short-term memory and long-term memory that lasts. It ships a reference implementation you can self-host.
- License:
- Apache-2.0
- Self-host:
- Yes
Reviewed quarterly. Business models shift here. A tool can move between managed cloud and self-host. So re-check that line per release. Durable facts only. Each row carries its last-checked date and source.
Common questions
- What is an agent memory framework?
- A layer that gives an AI agent memory that lasts across turns and runs. It stores what the agent learns, as vectors, a knowledge graph, or both. It fetches the relevant pieces later. It updates or replaces stale facts. Without one, an agent starts fresh every session.
- Which agent memory frameworks are self-hostable?
- Mem0, Letta, Cognee, Graphiti, memary, and LangMem are open source and self-hostable. So is the Redis Agent Memory Server. Zep is now a managed cloud platform. Its public repo is example code, not a server you can self-host.