Agent Memory

•

Persist, search, and manage typed memories across AI agent sessions and runtimes using a local, embedded SQLite database.

Agent Memory solves context loss between AI agent sessions by providing a lightweight, offline-first stdio server backed by an embedded SQLite database. Any MCP-compatible runtime can store, update, link, and search structured memories classified under specific types like DECISION, PATTERN, ERROR, and ARCHITECTURE. The system supports rank-fused hybrid search combining local Ollama embeddings with SQLite FTS5 keyword retrieval, decay-based relevance scoring that preserves data without accidental deletion, and graph-style memory relations. Because all agents can point to a single shared database file, decisions and context documented by one agent are immediately accessible to others across sessions without relying on cloud services.

주요 기능

01Hybrid search integrating local Ollama embeddings and SQLite FTS5 full-text search via Reciprocal Rank Fusion
02Decay-based relevance ranking that deprioritizes older entries over time while preventing unwanted deletions
03Categorized memory storage supporting structured types such as DECISION, PATTERN, ERROR, TODO, ARCHITECTURE, and CONSTRAINT
040 GitHub stars
05Cross-runtime state sharing enabling multiple agent tools to access and query the same local database concurrently
06Typed relationship linking between memories using directed edges like relates_to, supersedes, and caused_by

사용 사례

01Sharing persistent task states and cross-session knowledge between separate developer runtimes and CLI agents
02Tracking recurring errors and bug fixes so agents can instantly recall established solutions
03Preserving architectural decisions, constraints, and project conventions across different AI coding assistant sessions