--- title: "past.dev vs mem0: agent memory APIs compared" description: "Compare past.dev and mem0 by storage model, input format, deployment, changed-fact handling, recall output, and operational requirements." canonical: https://past.dev/vs/mem0 last-updated: 2026-11-16 --- # past.dev vs mem0 Source: https://past.dev/vs/mem0 mem0 is an open-source memory layer that extracts memories from conversations and stores them in a vector store you configure, scoped per user, session or agent. past.dev is a memory API that accepts timestamped text and returns ranked documents with dated source excerpts. It runs as a managed service or, on an Enterprise agreement, in your own cloud. ## What mem0 is [mem0](https://github.com/mem0ai/mem0) is an Apache 2.0 memory layer for AI agents, with Python and TypeScript SDKs. It can run three ways: as a library inside your process, as a self-hosted server, or as their managed platform. The core surface is small, `add()` writes memories from messages and `search()` retrieves them, and memory is scoped at user, session and agent level. A language model extracts memories as short statements about a user. A configured vector store keeps those statements for retrieval by user, session or agent scope. ## What past.dev is past.dev runs as a managed service or, on an Enterprise agreement, in your own cloud. You `POST` raw text with its original timestamp, wait until ingestion completes, and query it later. `/recall` returns ranked documents with occurrence dates and source excerpts for the requested identity. Stable source ids support replacement, ingestion ids support deletion, and an optional recall timestamp supplies a historical query perspective. ## Architecture differences | | mem0 | past.dev | | --- | --- | --- | | Licence | Apache 2.0 | Commercial | | How you run it | Library, self-hosted server, or managed platform | Managed API, or your own cloud on an Enterprise agreement | | What you send | Conversation messages | Any text plus the timestamp it happened, backdatable | | Unit sent | Conversation messages | Timestamped source text | | Storage | A vector store you configure | Managed by past.dev, or your own database on an Enterprise agreement | | Scoping | user, session and agent identifiers | Project, audience slug, and identity | | A source changed | The memory is updated | Reuse its stable source id for the new revision | | Reading | Search returns memories | `/recall` returns ranked documents | | Says it does not know | Your code decides | Your code evaluates returned documents | | Cost visibility | Your model provider's bill | Accounted per call on the console dashboard | ## How to choose Choose based on the requirements below. - **Choose mem0** if you want to own the whole memory in your own infrastructure, if your input is chat and your questions are about a user's stable preferences, or if an Apache 2.0 licence is a requirement. - **Choose past.dev** if you ingest timestamped emails, transcripts, tickets, and notes, or if recall must return dated source excerpts under identity and audience scoping. - **Neither is a framework.** Both leave your agent, your model and your prompts where they are. ## Published figures | BEAM history size | past.dev | mem0 | | --- | --- | --- | | 1M | 90.65% | 64.1% | | 10M | 85.03% | 48.6% | Each figure is the system's own published result: ours on [benchmarks](/benchmarks), mem0's at [mem0.ai](https://mem0.ai/blog/ai-memory-benchmarks-in-2026). mem0 publishes no figure at the other sizes, so those sizes are left out rather than shown as a gap. | DolphinBench, 600 tasks | Tasks passed | Share | | --- | --- | --- | | past.dev | 490 | 81.7% | | mem0 | 424 | 70.7% | DolphinBench is Mem0's benchmark and it scores what an agent does with its memory rather than what it recalls. mem0's run is Mem0's own, from their published run records. Ours is self-administered on the same commit, with the [harness public](https://github.com/pastdotdev/benchmarks) so it can be rerun against us. Read it with that asymmetry in mind. Benchmarks are the part of a decision that is easiest to publish. The requirements above are what differs in use. ## Related - [What is agent memory?](https://past.dev/what-is-agent-memory) - [past.dev vs Zep](https://past.dev/vs/zep) - [past.dev vs Letta](https://past.dev/vs/letta) - [API reference](https://past.dev/docs/memory-api/api-reference) - [How we measure memory](https://past.dev/benchmarks)