Unified Memory

•

Manages and searches information, combining robust storage, retrieval, and compression capabilities for AI agents.

Unified Memory is a comprehensive memory server designed for AI agents and MCP clients, integrating robust storage, retrieval, and compression functionalities. Inspired by battle-tested systems like Hermes LCM and Mnemosyne, it offers a powerful SQLite-based backend supporting lossless message logs, canonical slot-facts, typed knowledge graphs, and vector embeddings. It provides sophisticated multi-modal recall across full-text search, vector similarity, and graph traversal, along with intelligent context compression and sensitive data redaction, ensuring efficient and secure information management for dynamic agent operations.

主要功能

01Atomic Batch Operations: Supports all-or-nothing atomic batch operations for managing facts, links, and messages.
02Lossless Storage: Maintains a lossless log of messages, slot-facts with history, and typed links within a SQLite database.
03Sensitive Data Redaction: Protects privacy by redacting API keys, tokens, and other sensitive information at ingest.
04Multi-modal Recall: Combines FTS, vector embeddings, and knowledge graph traversal for comprehensive search.
05Context-aware Compression: Automatically compresses old messages (extractive or LLM-summarized) to manage context window budgets.
060 GitHub stars

使用案例

01Serving as a unified memory backend for AI agents and MCP clients like Hermes Agent or Claude Code.
02Building and querying knowledge graphs to store and retrieve structured facts and relationships for intelligent systems.
03Managing conversation history and long-term memory for LLM-powered applications, including RAG systems.