MLMS

•

Equips LLM agents with persistent, multi-layered cross-session memory using PostgreSQL, pgvector, TimescaleDB, and Redis.

MLMS (Multi-Layer Memory System) is a self-hosted Model Context Protocol server that provides LLM agents like Claude Code and Claude Desktop with durable, cross-session memory. Modeled after the CoALA architecture, it structures memory into four distinct layers: semantic facts with embedding-based conflict resolution and versioning, episodic project timelines via TimescaleDB hypertables, un-deleted procedural skills, and short-term working context cached in Redis. With integration across standard stdio and authenticated HTTP transports, MLMS empowers autonomous coding assistants and conversational agents to retain context, track decisions, and evolve their knowledge base over time without requiring explicit user prompts to save data.

주요 기능

01PostgreSQL backing with pgvector for semantic search and TimescaleDB for time-series timeline events
02CoALA-inspired four-layer memory architecture covering semantic facts, episodic events, procedural skills, and working memory
03Redis-powered session-scoped working memory cache and 24-hour embeddings cache
04Automated conflict detection and non-destructive versioning with soft-delete and fact reversion capabilities
05Flexible deployment support via stdio transport or HTTP (SSE and streamable-http) with shared-secret authentication
060 GitHub stars

사용 사례

01Retaining architectural decisions, project context, and past solutions across long-term coding agent sessions in Claude Code
02Equipping conversational AI assistants with continuous procedural memory for complex workflows and customized debugging routines
03Maintaining an auditable, versioned repository of facts and project milestones without manual memory logging prompts