Skip to main content
Get started with Mem0 Platform’s hosted API in under 5 minutes. This guide shows you how to authenticate and store your first memory.
Are you an AI agent? See Sign up as an agent: mint a working API key in four commands, no email or dashboard required.

Prerequisites

Installation

1

Install SDK

2

Set your API key

3

Add a memory

4

Search memories

Output:
Pro Tip: Want AI agents to manage their own memory automatically? Use Mem0 MCP to let LLMs decide when to save, search, and update memories.

What’s next?

You stored and searched your first memory. Keep going:

How it works

See how Mem0 extracts, stores, and retrieves memories under the hood.

Memory operations

Go beyond add and search: update, delete, and the full memory lifecycle.

Build an AI companion

Put it to work in a real app, end to end, in about 10 minutes.
Stuck on setup? See the FAQs and troubleshooting.