Open Source MCP Server Solves Cross-Session Memory Loss in AI Agents
Far_Froyo_3548 · reddit · 2026-08-01
A developer noticed that AI agents like Claude Code and Cursor forget previous decisions (like library choices or bug root causes) in every new session, leading to redundant reasoning or re-arguing settled topics.
To fix this, they open-sourced an MCP server, engram-memory. The core design principle is to only store what the agent would otherwise re-learn. If information can be found by grepping code or reading git log, it isn't stored, preventing a drifting, inferior copy of the codebase.
Technical Details:
- Storage uses Markdown files with frontmatter
- Search index relies on keywords and a small local embedding model (no external API calls)
- Entries can link to each other to connect decisions with subsequent bugs
The author benchmarked it and found it significantly reduces tool call costs for equivalent answers compared to having the agent grep a folder.
Related event: Open-Source MCP Server mem-port Enables Cross-Tool AI Memory Sharing(3 posts)→
More from coding & agent
- banger: open-source agent skill writes hit-style Suno songs hook-first — tetsuoai · 2026-12-02
- Agent skills cut AI music video generation to under 2 hours, Suno skill released — tetsuoai · 2026-12-02
- Redditor secretly undid Claude Code's work every 10s; agent honestly reported a "ghost" — 32minutos · 2026-12-02
- UNC's Wanda: agentic AI for neuroimaging validated on 123,000 brains — PTenigma · 2026-12-02
- Software products need an API/MCP/plugin now: agents will drive acquisition and retention — omooretweets · 2026-12-02
- AI coding tools are self-configuring: install Claude Code and you're done — _jaydeepkarale · 2026-12-02