Mnema: Shared Memory for Coding Agents
fatihsrb · reddit · 2026-07-19
The author developed a self-hosted MCP server called Mnema, designed to let different AI coding tools like Claude Code and Cursor share the same long-term memory, rather than starting from scratch in every session.
Core features include:
- Cross-tool shared memory: Project decisions, context, and history are stored centrally, accessible by any MCP-compatible agent.
- Shared skills / prompts repository: Centralizes reusable prompts and skills to avoid duplication across tools.
- Hybrid retrieval: Combines BM25 and vector search to quickly recall relevant information from memory and documents.
- Local execution: Runs on a Raspberry Pi using SQLite, with no cloud dependencies.
The motivation is straightforward: AI tools often "lose their memory" when switching, requiring users to repeatedly explain project backgrounds. Mnema aims to turn this context into a "shared brain" for all agents.
More from coding & agent
- Dev builds interactive 3D product experience with GPT-6 Astra + Hyper3D Rodin — nikola_mr64990 · 2026-09-11
- Codex tip: use Sol with Astra and Luna sub-agents to save usage — pvncher · 2026-09-11
- agents-best-practices: a provider-neutral Agent Skill for designing and auditing agentic harnesses — tom_doerr · 2026-09-11
- Cognition's SWE-2 uses a KKT duality argument in RL to shift the effort Pareto curve — YouJiacheng · 2026-09-11
- First-ever Three.js Conference lands in Paris, with a panel on AI-shortened design workflows — OdinLovis · 2026-09-11
- Data engineering, not agent frameworks, is the real bottleneck for enterprise AI agents — dhruv2038 · 2026-09-11