---
title: "Project Summary"
description: "Mem0 (\"mem-zero\") is an intelligent memory layer designed to enhance AI assistants and agents, enabling personalized AI interactions. Its core purpose is to allow AI systems to remember user prefer..."
last_updated: "2026-05-07T04:45:15.257781+00:00"
canonical_url: "https://www.doc0.dev/docs/faa36707-7c28-4f69-a18f-700ff61c704e/technical/section-1/project-summary"
---

<details>
<summary>Relevant source files</summary>

The following files were used as context for generating this wiki page:

- [README.md](https://github.com/blade47/mem0/blob/main/README.md)
</details>

Mem0 ("mem-zero") is an intelligent memory layer designed to enhance AI assistants and agents, enabling personalized AI interactions. Its core purpose is to allow AI systems to remember user preferences, adapt to individual needs, and continuously learn over time. This makes it suitable for a wide range of applications, including customer support chatbots, general AI assistants, and autonomous systems that require consistent context and personalization.

The project emphasizes performance and cost-efficiency, claiming significant improvements in accuracy, response speed, and token usage compared to traditional memory approaches. It offers both a hosted platform for quick setup and a self-hosted open-source package, providing flexibility for developers.
Sources: [README.md:33-36](https://github.com/blade47/mem0/blob/main/README.md#L33-L36), [README.md:27-29](https://github.com/blade47/mem0/blob/main/README.md#L27-L29)

## Key Features and Capabilities

Mem0 provides core capabilities centered around multi-level memory retention and developer-friendly integration. It is designed to support various AI applications by offering adaptive personalization.

### Core Capabilities

<Callout title="Mem0 v1.0.0 Release" variant="info">
The `mem0ai v1.0.0` release includes API modernization, improved vector store support, and enhanced GCP integration. A migration guide is available for existing users.
Sources: [README.md:31](https://github.com/blade47/mem0/blob/main/README.md#L31)
</Callout>

| Capability            | Description                                                                 |
| :-------------------- | :-------------------------------------------------------------------------- |
| **Multi-Level Memory** | Seamlessly retains User, Session, and Agent state with adaptive personalization |
| **Developer-Friendly** | Intuitive API, cross-platform SDKs, and a fully managed service option      |
Sources: [README.md:40-42](https://github.com/blade47/mem0/blob/main/README.md#L40-L42)

### Applications

Mem0 can be applied across various domains requiring personalized and context-aware AI.

| Application           | Description                                                        |
| :-------------------- | :----------------------------------------------------------------- |
| **AI Assistants**     | Provides consistent, context-rich conversations                    |
| **Customer Support**  | Recalls past tickets and user history for tailored help            |
| **Healthcare**        | Tracks patient preferences and history for personalized care       |
| **Productivity & Gaming** | Enables adaptive workflows and environments based on user behavior |
Sources: [README.md:44-50](https://github.com/blade47/mem0/blob/main/README.md#L44-L50)

### Research Highlights

Mem0's design focuses on improving performance metrics for AI agents.

| Metric               | Improvement                                       | Comparison Basis        |
| :------------------- | :------------------------------------------------ | :---------------------- |
| **Accuracy**         | +26%                                              | OpenAI Memory (LOCOMO)  |
| **Response Speed**   | 91% Faster                                        | Full-context            |
| **Token Usage**      | 90% Lower                                         | Full-context            |
Sources: [README.md:27-29](https://github.com/blade47/mem0/blob/main/README.md#L27-L29), [README.md:22-25](https://github.com/blade47/mem0/blob/main/README.md#L22-L25)

## Architecture Overview

Mem0 operates as an intelligent memory layer that integrates with Large Language Models (LLMs) to provide context-aware responses. The basic interaction flow involves retrieving relevant memories based on user input, using these memories to inform the LLM's response, and then storing new conversational context back into memory.


Sources: [README.md:70-89](https://github.com/blade47/mem0/blob/main/README.md#L70-L89)

The system manages different levels of memory, including User, Session, and Agent states, to provide adaptive personalization. This multi-level approach allows for a nuanced understanding and retention of context over time.


Sources: [README.md:40](https://github.com/blade47/mem0/blob/main/README.md#L40)

## Quickstart Guide

To get started with Mem0, you can choose between a hosted platform or a self-hosted open-source package.

<Steps>
<Step>
### Choose Deployment Method
Mem0 offers two primary deployment options:

*   **Hosted Platform**: Sign up on the [Mem0 Platform](https://app.mem0.ai) to use a fully managed service with automatic updates, analytics, and enterprise security. Embed the memory layer via SDK or API keys.
*   **Self-Hosted (Open Source)**: Install the Mem0 SDK directly into your project.
</Step>
<Step>
### Install the SDK
For self-hosted deployments, install the SDK using your preferred package manager.

<Tabs items={["pip", "npm"]}>
<Tab value="pip">
```bash
pip install mem0ai
```
</Tab>
<Tab value="npm">
```bash
npm install mem0ai
```
</Tab>
</Tabs>
Sources: [README.md:55-65](https://github.com/blade47/mem0/blob/main/README.md#L55-L65)
</Step>
<Step>
### Basic Usage
Mem0 requires an LLM to function, with `gpt-4.1-nano-2025-04-14` from OpenAI as the default. It supports a variety of LLMs, which can be configured as detailed in the [Supported LLMs documentation](https://docs.mem0.ai/components/llms/overview).

The following Python example demonstrates how to instantiate Mem0, search for relevant memories, use them to generate an LLM response, and add new memories from the conversation.

```python
from openai import OpenAI
from mem0 import Memory

openai_client = OpenAI()
memory = Memory()

def chat_with_memories(message: str, user_id: str = "default_user") -> str:
    # Retrieve relevant memories
    relevant_memories = memory.search(query=message, user_id=user_id, limit=3)
    memories_str = "\n".join(f"- {entry['memory']}" for entry in relevant_memories["results"])

    # Generate Assistant response
    system_prompt = f"You are a helpful AI. Answer the question based on query and memories.\nUser Memories:\n{memories_str}"
    messages = [{"role": "system", "content": system_prompt}, {"role": "user", "content": message}]
    response = openai_client.chat.completions.create(model="gpt-4.1-nano-2025-04-14", messages=messages)
    assistant_response = response.choices[0].message.content

    # Create new memories from the conversation
    messages.append({"role": "assistant", "content": assistant_response})
    memory.add(messages, user_id=user_id)

    return assistant_response

def main():
    print("Chat with AI (type 'exit' to quit)")
    while True:
        user_input = input("You: ").strip()
        if user_input.lower() == 'exit':
            print("Goodbye!")
            break
        print(f"AI: {chat_with_memories(user_input)}")

if __name__ == "__main__":
    main()
```
For more detailed integration steps, refer to the [Quickstart](https://docs.mem0.ai/quickstart) and [API Reference](https://docs.mem0.ai/api-reference) documentation.
Sources: [README.md:67-97](https://github.com/blade47/mem0/blob/main/README.md#L67-L97)
</Step>
</Steps>

## Integrations and Demos

Mem0 provides various integrations and live demonstrations to showcase its capabilities.

| Integration/Demo      | Description                                                              | Link                                                                                                                                                                 |
| :-------------------- | :----------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **ChatGPT with Memory** | Personalized chat powered by Mem0                                        | [Live Demo](https://mem0.dev/demo)                                                                                                                                   |
| **Browser Extension** | Stores memories across ChatGPT, Perplexity, and Claude                   | [Chrome Extension](https://chromewebstore.google.com/detail/onihkkbipkfeijkadecaafbgagkhglop?utm_source=item-share-cb)                                                |
| **Langgraph Support** | Guide to build a customer bot with Langgraph + Mem0                      | [Guide](https://docs.mem0.ai/integrations/langgraph)                                                                                                                 |
| **CrewAI Integration** | Example of tailoring CrewAI outputs with Mem0                            | [Example](https://docs.mem0.ai/integrations/crewai)                                                                                                                  |
Sources: [README.md:100-107](https://github.com/blade47/mem0/blob/main/README.md#L100-L107)

## Documentation and Support

For further information and community engagement:

*   **Full Documentation**: [https://docs.mem0.ai](https://docs.mem0.ai)
*   **Community**: [Discord](https://mem0.dev/DiG) · [Twitter](https://x.com/mem0ai)
*   **Contact**: founders@mem0.ai
Sources: [README.md:109-111](https://github.com/blade47/mem0/blob/main/README.md#L109-L111)

## Citation

If you use Mem0 in your research, please cite the following paper:

```bibtex
@article{mem0,
  title={Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory},
  author={Chhikara, Prateek and Khant, Dev and Aryan, Saket and Singh, Taranjeet and Yadav, Deshraj},
  journal={arXiv preprint arXiv:2504.19413},
  year={2025}
}
```
Sources: [README.md:115-121](https://github.com/blade47/mem0/blob/main/README.md#L115-L121)

## License

Mem0 is released under the Apache 2.0 License.
Sources: [README.md:124](https://github.com/blade47/mem0/blob/main/README.md#L124)

## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/faa36707-7c28-4f69-a18f-700ff61c704e/llms.txt) for all pages in this wiki.
