---
slug: "mem0"
name: "Mem0"
effect: "Adds long-term user, session and agent memory to AI apps through a Python or TypeScript SDK"
category: "memory"
url: "https://mem0.ai"
github: "mem0ai/mem0"
pricing: "open-source"
license: "Apache-2.0"
tags: ["python", "typescript", "memory-layer", "self-hosted", "personalization"]
platforms: []
install_kind: "pip"
date_added: "2026-10-14"
drop_score: 66
stars: 67205
pushed_at: "2026-10-14T15:40:09Z"
signals_status: "ok"
signals_fetched_at: "2026-10-15T01:19:01.821Z"
page: "https://agenttooldrop.com/tools/mem0"
---

# Mem0

Adds long-term user, session and agent memory to AI apps through a Python or TypeScript SDK

Category: Memory. Pricing: Open source. License: Apache-2.0.

## Why you would want it

Mem0 extracts facts from conversations with an LLM call and stores them so later turns can search them by user, session or agent. Retrieval combines semantic search, BM25 keyword matching and entity linking, with time-aware ranking for questions about current state versus past events. You can run it as a library from pip or npm, as a self-hosted server with a dashboard and API keys through Docker Compose, or on the managed Mem0 Platform.

## Best for

- Personalized assistants and support bots
- Remembering user preferences across sessions
- Starting with a library and moving to a managed service later

## Use it when

Your agent should remember facts about users or its own past actions between conversations without you designing the storage and retrieval.

## Skip it if

You want memory with no LLM or embedding calls: Mem0 requires an LLM and defaults to OpenAI models. The README notes its benchmark scores come from the managed platform, which includes optimizations not in the open-source SDK.

## Install

Install with pip:

```sh
pip install mem0ai
```

Source: https://github.com/mem0ai/mem0#readme

## Live signals

Fetched 2026-10-15T01:19:01.821Z (status: ok).

- Repository: mem0ai/mem0
- Stars: 67,205
- Forks: 7,909
- Open issues and PRs: 831
- License (GitHub): Apache-2.0
- Last push: 2026-10-14
- Latest release: ts-v3.3.1 (2026-09-25)

## Links

- Website: https://mem0.ai
- GitHub: https://github.com/mem0ai/mem0
- Install instructions verified at: https://github.com/mem0ai/mem0#readme
- Source for this entry: https://github.com/mem0ai/mem0#readme
- AgentToolDrop page: https://agenttooldrop.com/tools/mem0
- Full catalog (JSON): https://agenttooldrop.com/tools.json
