Updated

Zep alternatives

For agent memory, the alternatives to Zep that makers' products we track chose most are Letta (3), Mem0 (2) and Supermemory (2). 8 of the 9 are open source or self-hostable (Mem0, Supermemory, Graphiti and 5 more) and 7 have a free tier.

8 open source or self-hostable7 with a free tier0 ready for AI agents

Not a ranking: each option is described by the situation it fits, with its trade-off.

Zep alternatives compared

How many makers' products we track use each for agent memory.

OptionKindMakers' productsFree tierOpen source
ZepHosted memory API0YesNo
Mem0Hosted memory API2YesYes
SupermemoryHosted memory API2YesYes
GraphitiOpen-source library1YesYes
CogneeOpen-source library0YesYes
LettaStateful agent platform3YesYes
Basic MemoryMarkdown knowledge base0NoYes
LangMemOpen-source library0YesYes
MemaryOpen-source library0YesYes
HyperspellHosted memory API0—No

Hosted memory API, an open-source library you run, or a full stateful-agent platform. A hosted API extracts facts from conversations and returns the relevant ones with one call, with nothing to operate but your users' data in its cloud. An open-source library (often backed by a knowledge graph) runs next to your own database, free but yours to tune and host. A stateful-agent platform makes memory part of the agent itself, which saves glue code but means building your agent on that platform.

Zep (Hosted memory API): A context graph per user, account or domain built from business data, documents and conversations, with dated facts and access policies. Trade-off: Paid self-serve plans start at $125/month, and it now targets enterprise data more than simple chat memory; VPC deployment is Enterprise-only.

Mem0

Hosted memory API
Open sourceFree tierFrom $19/mo

Best forA drop-in memory layer that extracts facts from conversations and retrieves them later, as a hosted API or an Apache-licensed library.

Trade-offHosted plans cap add and retrieval requests per month, and graph memory starts on the $249/month Pro plan.

Used by 2 makers' products for this

Supermemory

Hosted memory API
Open sourceFree tierFrom $19/mo

Best forA memory API that learns from users' chats, files and URLs and injects what it knows into the model's context, also available as plugins and an MCP server.

Trade-offCredit-based billing makes heavy ingestion harder to predict; self-hosting is only on the Scale plan and above.

Used by 2 makers' products for this

Graphiti

Open-source library
Open sourceFree tier

Best forA Python library for temporal knowledge graphs that agents update in real time, on Neo4j, FalkorDB, Kuzu or Neptune.

Trade-offA library, not a service — you run the graph database and pay for the LLM calls that extract entities and facts.

Used by 1 maker's product for this

Cognee

Open-source library
Open sourceFree tierFrom $1 per 1M tokens

Best forAgent memory that combines graph, vector and relational retrieval, run locally, self-hosted or on Cognee Cloud.

Trade-offBuilding a graph from your data costs LLM tokens on every ingest, and tuning the pipeline takes more work than a hosted API.

No maker product tracked for this yet

Letta

Stateful agent platform
Open sourceFree tierFrom $20/mo

Best forBuilding the agent itself on a platform where long-term memory, self-editing context and tools are built in.

Trade-offMemory comes with Letta's agent model and API, so moving to another framework later means rebuilding; the company now leads with its own coding agent.

Used by 3 makers' products for this

Basic Memory

Markdown knowledge base
Open sourceFrom $15/seat/mo

Best forA knowledge base of plain Markdown files with semantic and graph search, shared with your AI tools through MCP.

Trade-offAGPL-3.0 if you self-host and modify it; built for people and their assistants, not as a multi-tenant memory API for an app.

No maker product tracked for this yet

LangMem

Open-source library
Open sourceFree tier

Best forAdding long-term memory to a LangGraph agent, with memory tools the agent calls mid-conversation and a background manager that extracts and consolidates facts.

Trade-offPython only and tied most closely to LangGraph; no release since October 2025, only dependency upkeep.

No maker product tracked for this yet

Memary

Open-source library
Open sourceFree tier

Best forExperimenting with knowledge-graph memory for an agent, stored in Neo4j or FalkorDB.

Trade-offUnmaintained since 2024, so expect to fix breakages with newer model and graph libraries yourself.

No maker product tracked for this yet

Hyperspell

Hosted memory API

Best forAgents that needed memory and context drawn from their users' connected data sources.

Trade-offPivoted to a "company brain" for a business's own agents; no longer a memory API for your product's users.

No maker product tracked for this yet

Questions

What is the best alternative to Zep?

It depends on what you need it for; we don't rank them. The one makers' products we track chose most for agent memory is Letta (3 makers' products). You want to add user memory to an existing agent with a few API calls and a free tier to start: Mem0 and Supermemory. Memory must stay on your own infrastructure, built as a graph over your data: Cognee and Graphiti. You'd rather build the agent on a platform where memory is built in: Letta.

Is there a free alternative to Zep?

Yes. For agent memory, Mem0, Supermemory, Graphiti, Cognee, Letta, LangMem and 1 more have a free tier a small product can start on.

Is there an open-source alternative to Zep?

Yes. For agent memory: Mem0, Supermemory, Graphiti, Cognee, Letta, Basic Memory and 2 more.