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.