Lucid Mem

•

Provide durable, git-backed persistent memory and knowledge management across sessions, repositories, and AI coding tools.

Lucid Mem acts as an autonomous, persistent memory infrastructure for AI coding agents to ensure architectural knowledge, user preferences, and prior fixes compound over time rather than resetting with each context window. Built upon the Agent Memory Repo specification and backed entirely by Git, it enforces deterministic retrieval without relying on model judgment during read paths. It intelligently records and curates entries with automated secret detection, deduplication, time-to-live expiration policies, and background compaction loops, while bridging seamlessly into over 15 major coding agents and IDEs via rules, hooks, and MCP interfaces.

Key Features

01Git-backed, private local-or-remote storage featuring atomic writes, lock safeguards, and full revision history
02Intelligent lifecycle controls including automatic TTL expiration, consolidation proposals, and backlog triage
03Deterministic, ranked context injection that respects character budgets without LLM interference
04Built-in guardrails against secret leaks, redundant entries, and ephemeral context pollution
05Cross-tool interoperability with 16+ coding environments through rules, lifecycle hooks, and stdio MCP server support
060 GitHub stars

Use Cases

01Preserving repository-specific architectural decisions and developer preferences across multiple agent sessions
02Sharing contextual lessons and project fixes between different AI coding environments like Cursor, Claude Code, and Devin
03Triggering relevant failure-resolution context automatically when terminal commands or build tools produce errors