🧩 Plugin & Tiện ích mở rộng•Mã nguồn mở•Đang hoạt động

MemPalace

Hệ thống AI memory mã nguồn mở lưu verbatim conversations và tổ chức thành memory palace để truy xuất long-term context hiệu quả hơn.

#mempalace
Danh mục
🧩 Plugin & Tiện ích mở rộng
Giá
Mã nguồn mở
GitHub Stars
⭐ 59,382
Ngôn ngữ
Python
License
MIT
Ngày thêm
2026-04-08
Tóm tắt từ README GitHub
MemPalace Local-first AI memory. Verbatim storage, pluggable backend, 96.6% R@5 raw on LongMemEval — zero API calls. Beware of impostor sites. MemPalace has no other official websites. The only official sources are this GitHub repository , the PyPI package , and the docs at mempalaceofficial.com . Any other domain (including , , or other variants) is an impostor and may distribute malware. Details and timeline: docs/HISTORY.md. Claude Code sessions expire in 30 days without auto-save hooks wired. Read this → Need the shortest recovery/setup path? Use the Claude Code retention setup checklist. --- What it is MemPalace stores your conversation history as verbatim text and retrieves it with semantic search. It does not summarize, extract, or paraphrase. The index is structured — people and projects become wings , topics become rooms , and original content lives in drawers — so searches can be scoped rather than run against a flat corpus. The retrieval layer is pluggable. The current default is ChromaDB; the interface is defined in and alternative backends can be dropped in without touching the rest of the system. Nothing leaves your machine unless you opt in. Architec
Xem thêm từ README.md

Đánh giá chi tiết

Tổng quan

MemPalace là hệ thống memory cho AI, tập trung vào long-term memory theo hướng lưu nguyên văn hội thoại thay vì tóm tắt quá sớm. Repo này đi ngược với kiểu memory system hay cố đoán xem phần nào quan trọng, bằng cách giữ lại toàn bộ nội dung rồi tổ chức thành cấu trúc memory palace để truy xuất dễ hơn.

Ý tưởng nghe đơn giản nhưng khá hợp lý: đừng để một LLM khác quyết định thứ gì đáng nhớ, cứ giữ nguyên dữ liệu rồi dùng semantic search và cấu trúc tốt để tìm lại sau. Với ai làm agent workflows dài ngày, đây là một hướng rất đáng chú ý.

Tính năng chính

  • Lưu verbatim exchanges thay vì rút gọn quá sớm thành memory snippets
  • Tổ chức dữ liệu theo mô hình palace, có wings, halls và rooms thay vì một index phẳng
  • Chạy local, không cần external API, phù hợp với dữ liệu nhạy cảm hoặc workflow cá nhân
  • Dùng ChromaDB và semantic search để truy xuất long-term context
  • Có hướng thử nghiệm thêm lớp nén AAAK cho scale lớn hơn

Ai nên dùng

Hợp với người xây AI agents, memory systems hoặc workflow cần giữ ngữ cảnh lâu dài giữa nhiều phiên làm việc.

Hạn chế

  • Giữ nguyên toàn bộ dữ liệu verbatim sẽ làm storage phình nhanh hơn các hệ thống memory nén mạnh
  • Cách tổ chức này phù hợp với người chịu đầu tư vào memory architecture, không phải plugin cắm phát ăn ngay
  • Dù benchmark rất đẹp, vẫn cần tự kiểm chứng trên dữ liệu thật của từng workflow
MemPalace | Atlas for AI