A layered memory system for AI Agents that combines symbolic short-term memory with hierarchical long-term storage. It optimizes performance by offloading verbose tool logs into compact Mermaid symbols, reducing token usage by up to 61% while improving accuracy. The system organizes experiences into a semantic pyramid (L0-L3), enabling structured persona management instead of flat vector retrieval. Integrated with OpenClaw and Hermes, it provides a traceable and lossless memory architecture.
MemPalace is a local-first AI memory tool designed to store conversation history verbatim and retrieve it through semantic search, without summarizing or paraphrasing. It utilizes a structured index, categorizing information into "wings," "rooms," and "drawers" to enable scoped searches. The retrieval layer is pluggable (ChromaDB by default), ensuring all data remains on the user's machine unless opted out. It achieves an impressive 96.6% R@5 raw recall on the LongMemEval benchmark, notably without requiring LLMs or API calls, showcasing high performance in a local environment.