lmc-5
Living Memory Coordinate-5: five-axis memory architecture for long-running LLM agents. Minimal SQLite + production PostgreSQL/pgvector reference impls, multi-ch
What is lmc-5?
Living Memory Coordinate-5: five-axis memory architecture for long-running LLM agents. Minimal SQLite + production PostgreSQL/pgvector reference impls, multi-channel recall pipeline, LLM-proposed hippocampus, persona policies, VPS 7×24 deployment shape. Not another vector DB.
Overview of lmc-5
What it is
Living Memory Coordinate-5 (LMC-5) is a five-axis memory architecture for long-running LLM agents. It provides two reference implementations: a minimal SQLite version with zero dependencies, and a production PostgreSQL/pgvector backend. The system is designed to provide recoverable continuity for coding agents like Claude Code and Codex, rather than relying on infinite context windows. It is not another vector database.
Key features
- Five-axis memory model: Timeline (X), Relations (Y), Fact Evolution (Z), Experience Signals (E), and Metabolism (M)
- Two reference implementations: minimal SQLite (zero deps) and production PostgreSQL/pgvector with 3-tier cascade recall
- Raw event journal for black-box session capture, separate from curated memories
- FTS5 lexical recall with LIKE fallback and portable cosine-similarity vector search
- Two-hop typed relation expansion with relation-type weights and distance decay
- Night hippocampus pass for gated chunk-to-memory promotion with dry-run mode
- VPS-friendly 7×24 lifecycle for always-on event capture, scheduled consolidation, and patrol checks
Use cases
LMC-5 is intended for Claude Code, Codex-style coding agents, personal assistant agents, local CLI workflows, and other long-running LLM tools that need memory without hard-binding to one model provider. It is suitable for prototypes, demos, and local experiments with the minimal implementation, or production deployments requiring PostgreSQL/pgvector, LLM-proposed hippocampus candidates, and session continuity patterns.
Getting started
See the repository README for installation and quick-start instructions.
License and pricing
Licensed under AGPL-3.0. Open source.
Based on the project's public README and repository metadata.