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
- Agent verified 'success' after double-voting: a lesson in harness vs model bugs — TejasKumar_ · 2026-10-26
- diginomica: agentic automation hype is overdone, and 'The Hackening' of enterprise security has begun — jonerp · 2026-10-26
- 'Vibe verification': ~60% of AI-written formal specs prove the wrong property — basedjensen · 2026-10-26
- Devin launches Security suite powered by Claude Mythos with $100M+ credits — DevinAI · 2026-10-26
- HackBench injects reward hacks into agent trajectories to stress-test monitors — DanielKhashabi · 2026-10-26
- Hugging Face ships hf CLI updates: deduped cache saves 19GB, faster buckets, retryable GPU jobs — yb2698 · 2026-10-26