talira

MemPalace

Local-first AI memory. Verbatim storage, pluggable backend, 96.6% R@5 raw on LongMemEval, zero API calls.

open sourceMITself-hostablefreeMCP

MemPalace is a local-first memory system for AI agents that stores conversation history as verbatim text and retrieves it with semantic search, without summarising or extracting facts. Its index is organised like a memory palace (people and projects are wings, topics are rooms, original content sits in drawers), so searches can be scoped. It mines Claude Code sessions and other transcripts, has auto-save hooks for Claude Code, Codex CLI and Cursor, a temporal knowledge graph in SQLite, per-agent diaries, and an MCP server with 47 tools. Storage is pluggable: Chroma by default, or SQLite, a native Rust engine, Milvus, Qdrant or pgvector. Nothing leaves your machine unless you opt in.

Problems it solves

  • my coding agent forgets everything we discussed in last week's sessions
  • Claude Code deletes my session transcripts after 30 days and I lose the history
  • agent memory tools summarise my conversations and lose the exact wording
  • search months of past AI chat transcripts by meaning, scoped to one project
  • give Claude Code, Codex and Cursor a shared long-term memory that stays on my machine
  • AI memory without sending my conversations to a cloud service or calling an LLM API
  • track facts that change over time, with when each one stopped being true
  • let several specialist agents keep their own diaries and hand work to each other
  • store agent memory in Postgres with pgvector instead of a local file
  • load the right context from past sessions at the start of a new one

Features

  • verbatim storage of conversations
  • wings, rooms and drawers for scoped search
  • mining of Claude Code sessions and other transcripts
  • auto-save hooks for Claude Code, Codex CLI and Cursor
  • MCP server with 47 tools
  • temporal knowledge graph in SQLite
  • per-agent wings and diaries; logstream events and artifact handoffs
  • pluggable backends: Chroma, SQLite exact, native Rust, Milvus, Qdrant, pgvector
  • agent skills for guided setup and recall
  • Docker image for amd64 and arm64
View 1 more
  • published LongMemEval, LoCoMo, ConvoMem and MemBench results

Limitations

  • Doesn't install natively on Android Termux: it runs there in a Debian PRoot container1

Capabilities

Has a command line toolplan not known
Has an MCP serverplan not known
Takes pluginsplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what MemPalace does.

  1. Letta Build stateful agents with memory that can learn and improve over time
  2. Honcho Memory infrastructure for building stateful agents
  3. Mem0 The memory layer for AI agents
  4. Supermemory Memory and context layer for AI: memory, RAG, user profiles and connectors in one API
  5. Cognee The open-source AI memory platform for agents
  6. Zep The enterprise context layer for reliable agents

Compare MemPalace with the top 3