Engram

•

Provides durable, model-agnostic long-term memory for AI agents, enabling them to remember facts, observations, and decisions.

Engram is a lightweight, durable, and model-agnostic long-term memory solution specifically designed for AI agents. It allows any agent, regardless of its underlying LLM or runtime, to store and recall relevant information efficiently. The entire memory resides in a single SQLite file, and recall is powered by a self-contained TF-IDF + cosine-similarity ranker, eliminating the need for external embedding APIs, vector databases, or network access. This design prioritizes portability, inspectability, and independence from specific model providers, making Engram an ideal choice for building flexible, self-hosted, and robust AI applications.

주요 기능

01Model-agnostic memory storage and retrieval without requiring an LLM
02Portable memory store in a single `.sqlite` file for easy backup and transfer
03Stdlib-only implementation (Python standard library) with no third-party dependencies
04Inspectable recall logic based on TF-IDF and cosine similarity for auditability
05Built-in Model Context Protocol (MCP) server for native integration with MCP-aware clients
060 GitHub stars

사용 사례

01Integrating long-term memory capabilities with Model Context Protocol (MCP) clients for enhanced agent functionality
02Equipping AI agents with persistent memory for continuous learning and operation
03Storing and retrieving user preferences, operational facts, or historical data for AI systems