Open Source โ€” MIT Licensed

Your AI has amnesia.
Fix it.

Self-hosted AI memory for OpenClaw agents. Auto-captures facts, recalls context, resolves contradictions. Runs 100% locally for ~$1/month.

Get Started โ†’ View Source
# Install in 3 commands
$ docker run -d --name qdrant -p 6333:6333 qdrant/qdrant
$ pip install mem0ai fastapi uvicorn
$ ./install.sh

๐Ÿง  Mnemonic is running. Your AI will now remember everything.

# What it captures automatically:
โ†’ "User moved from NYC to SF" # supersedes old location
โ†’ "Prefers Python over Java" # stored as preference
โ†’ "Meeting tomorrow at 3pm" # temporal, auto-expires
Features

Memory that actually works

Not a vector dump. An intelligent memory layer that thinks about what to remember.

๐Ÿ”„

Auto-Capture

Extracts facts, preferences, and decisions from every conversation automatically. No manual tagging needed.

๐Ÿ”

Auto-Recall

Before each AI turn, semantically searches memories and injects relevant context. Your AI always has the full picture.

โšก

Contradiction Resolution

"Moved to SF" automatically supersedes "Lives in NYC." Old facts get updated, not duplicated.

๐Ÿ‘ค

User Profiles

Builds persistent profiles from conversations. View everything your AI knows about each user.

๐Ÿ 

100% Self-Hosted

Your data never leaves your server. Qdrant + mem0 + OpenAI embeddings โ€” all running locally.

๐Ÿ”ง

OpenClaw Native

Drop-in plugin. Registers as memory slot, provides tools (store/recall/forget/profile), works instantly.

How It Works

Five steps, fully automatic

1

You say something

"My company just landed a new client in Dubai."

2

Auto-Recall triggers

Plugin searches mem0 for relevant context โ€” surfaces what it already knows about your business.

3

AI responds with context

Your agent sees all relevant memories, responds intelligently without you repeating yourself.

4

Auto-Capture extracts facts

An LLM processes the conversation and extracts: "Company landed new client in Dubai."

5

Memory updates intelligently

New facts get added. Contradictions get resolved. Duplicates get merged. Your memory stays clean.

OpenClaw Gateway โ””โ”€โ”€ openclaw-mem0 plugin (TypeScript) โ”œโ”€โ”€ before_agent_start โ†’ search mem0 โ†’ inject context โ”œโ”€โ”€ agent_end โ†’ extract last turn โ†’ feed to mem0 โ””โ”€โ”€ tools: mem0_store, mem0_recall, mem0_forget, mem0_profile โ”‚ โ–ผ mem0 API Server (Python/FastAPI, localhost:8765) โ”‚ โ”œโ”€โ”€ LLM Extraction (OpenAI GPT โ€” fact extraction + contradiction resolution) โ””โ”€โ”€ Qdrant Vector DB (Docker, localhost:6333)
Compare

Why Mnemonic?

FeatureMnemonicSupermemorymem0 CloudLanceDB (built-in)
Self-hostedโœ“โœ— Cloud onlyโœ— Cloud onlyโœ“
LLM fact extractionโœ“โœ“โœ“โœ—
Contradiction resolutionโœ“โœ“โœ“โœ—
User profilesโœ“โœ“โœ“โœ—
Auto-recall + captureโœ“โœ“โœ“โœ“
Monthly cost~$1$20+$20+~$0
Setup time10 min2 min2 min1 min
Data privacyโœ“ Your serverโœ— Their cloudโœ— Their cloudโœ“ Your server
Qdrant + mem0
$0
Self-hosted, open source
OpenAI API
~$1
Embeddings + extraction/month
Total RAM
130MB
Qdrant ~30MB + API ~100MB

Give your AI a memory.

10 minutes to install. Your conversations will never be the same.

Get Started โ†’ Star on GitHub โญ