v1.0 — Open Source

The Memory OS
for AI that
Never Forgets

Six months of AI conversations, decisions, and context - gone when the session ends. Mempalace fixes this. Store everything. Structure it like a palace. Find anything in milliseconds.

96.6%
LongMemEval R@5
100%
with Haiku rerank
+34%
Palace structure boost
$0
No subscription needed

Built on three pillars

Every design decision in Mempalace serves one goal: your AI should know everything you've ever told it.

The Palace Structure

Ancient Greek orators memorized speeches by placing ideas in rooms of an imaginary palace. Mempalace applies this to AI memory: wings (people and projects), halls (memory types), rooms (specific ideas). That structure alone boosts retrieval by 34%.

AAAK Compression

A lossless shorthand dialect designed for AI agents. 30x compression with zero information loss. Your AI loads months of context in 120 tokens. Works with any model that reads text - Claude, GPT, Gemini, Llama, Mistral. No decoder required.

100% Local

Runs entirely on your machine. No external APIs required. No cloud sync. No data leaves your device. Works with local models like Llama and Mistral. Your memories stay yours, forever.

MCP Integration

19 tools available through Model Context Protocol. Connect once, and your AI uses Mempalace automatically. Ask Claude anything - it calls mempalace_search and answers with your own context. No manual commands.

Knowledge Graph

A temporal entity-relationship graph built on SQLite. Time-filtered queries, fact invalidation, BFS traversal across wings. Your AI knows not just what you decided, but when and why you changed your mind.

Three Mining Modes

Mine projects (code and docs), convos (Claude, ChatGPT, Slack exports), or general (auto-classifies into decisions, preferences, milestones, problems, and emotional context). Everything indexed to ChromaDB.

Set up once. Works forever.

Three steps from install to having an AI with perfect memory of your entire working history.

1

Install and Init

Install via pip. Run mempalace init to define your world - who you work with, what your projects are. Takes two minutes.

2

Mine Your Data

Point Mempalace at your chat exports, code directories, and notes. It mines and indexes everything - decisions, preferences, milestones, conversations - into your palace.

3

AI Remembers Everything

Connect via MCP or use wake-up context. Your AI now has access to your entire history. Ask it anything you've ever discussed. It searches your palace and answers with your own words.

Numbers that speak for themselves

Highest LongMemEval score ever published. Reproducible - all benchmark runners are open source in the repo.

System LongMemEval R@5 Score Cost API Required
Mempalace You are here
96.6%
96.6 / 100 Free No
Mempalace + Haiku rerank
100%
100 / 100 Minimal Haiku only
Mem.ai Pro
72%
72 / 100 $14.99/mo Yes
OpenAI Memory
68%
68 / 100 ChatGPT Plus Yes
Zep Cloud
61%
61 / 100 Paid Yes

All benchmarks are reproducible. Runners available in benchmarks/. Results verified on LongMemEval dataset.

Five commands to perfect AI memory

pip install mempalace

# Tell Mempalace your world
mempalace init ~/projects/myapp

# Mine your data
mempalace mine ~/projects/myapp
mempalace mine ~/chats/ --mode convos

# Search anything
mempalace search "why did we switch to GraphQL"

# Connect to Claude (MCP)
claude mcp add mempalace -- python -m mempalace.mcp_server

Your AI has been forgetting.
Fix it today.

Mempalace is free, open source, and runs entirely on your machine. No subscription. No cloud. No compromise.