Backed by

Y Combinator Logo

Y Combinator

AI memory that persists across sessions and agents

Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

SDK Integration

Agent Harness

Python

NodeJS

# Install the SDK
pip install mem0ai

# Initialize the client
from mem0 import MemoryClient
client = MemoryClient(api_key="your-api-key")
# Add a memory
messages = [
    {"role": "user", "content": "I'm a vegetarian and allergic to nuts."},
    {"role": "assistant", "content": "Got it! I'll remember your dietary preferences."}
]
client.add(messages, user_id="user123")

# Search memories
results = client.search("What are my dietary restrictions?", filters={"user_id": "user123"})
print(results)

SDK Integration

Agent Harness

Python

NodeJS

# Install the SDK
pip install mem0ai

# Initialize the client
from mem0 import MemoryClient
client = MemoryClient(api_key="your-api-key")
# Add a memory
messages = [
    {"role": "user", "content": "I'm a vegetarian and allergic to nuts."},
    {"role": "assistant", "content": "Got it! I'll remember your dietary preferences."}
]
client.add(messages, user_id="user123")

# Search memories
results = client.search("What are my dietary restrictions?", filters={"user_id": "user123"})
print(results)

90,000+

90,000+

90,000+

90,000+

90,000+

90,000+

Developers build with Mem0

Built for <developers> who want proof,
not promises

Built for <developers> who want proof,
not promises

Built for <developers> who want proof,
not promises

Mem0 gives agents persistent memory without pipeline changes. Less redundant context, lower token costs, measurably faster responses.

Mem0 gives agents persistent memory without pipeline changes. Less redundant context, lower token costs, measurably faster responses.

Efficiency

Visibility

Control

Memory Compression Engine

Automatically condenses chat history into compact memories that cut tokens and latency while keeping the right context.

Efficiency

Memory Compression Engine

Automatically condenses chat history into compact memories that cut tokens and latency while keeping the right context.

Visibility

Control

How it works

Add anything. Mem0 learns

Add

Input data in seconds with
no config or boilerplate

Learn

Mem0 extracts and

updates memories

Retrieve

Mem0 retrieves key memories as users interact

Add

Input data in seconds with no config or boilerplate

Learn

Mem0 extracts and

updates memories

Retrieve

Mem0 retrieves key memories as users interact

AI memory that adapts
to your domain

Mem0 helps AI remember what matters.

Mem0 helps AI remember what matters.

Healthcare

Education

E-commerce

Customer Support

Sales & CRM

Smart Patient Care Assistant

Remembers patient history, allergies, and treatment preferences across visits therefore providing personalized care that improves with every interaction.

Chronic Condition Companion

Learns what works (and what doesn’t) for the patient over time, offering thoughtful reminders and insights tailored to each patient’s journey.

Therapy Progress Tracker

Builds on previous sessions to deliver consistent, context-aware mental health support. Creates trust through conversations that remember what matters to each patient.

HEALTHCARE

Smart Patient Care Assistant

Remembers patient history, allergies, and treatment preferences across visits therefore providing personalized care that improves with every interaction.

Education

Adaptive Learning Tutor

Adapts to each student's pace and learning style, remembering what works best. Transforms one-size-fits-all education into personalized learning that evolves with every lesson.

Sales & CRM

Sales Assistant with Persistent Context

Track every interaction, objection, and milestone across long sales cycles ensuring reps have instant recall at every touchpoint.

New Algorithm

Benchmarking Mem0

Single-pass hierarchical distillation. Multi-signal retrieval. Benchmarked across LoCoMo, LongMemEval, and BEAM.

Single-pass hierarchical distillation. Multi-signal retrieval. Benchmarked across LoCoMo, LongMemEval, and BEAM.

Built for enterprise
Designed for control

Built for enterprise
Designed for control

Memory at scale is infrastructure. Mem0 gives enterprise teams governance, reliability, and full observability so engineers spend time building, not recovering lost context.

Memory at scale is infrastructure. Mem0 gives enterprise teams governance, reliability, and full observability so engineers spend time building, not recovering lost context.

Governance

SOC 2, HIPAA, BYOK, zero-trust. Your data stays yours.

Portable

Kubernetes, private cloud, or air-gapped. Same API everywhere.

Auditable

Every read and write logged. Know what, who, and when.

We take security and privacy seriously. Mem0 is SOC 2 and HIPAA compliant, ensuring your data is protected with industry-standard safeguards at every step.

We take security and privacy seriously. Mem0 is SOC 2 and HIPAA compliant, ensuring your data is protected with industry-standard safeguards at every step.