Somnia: Open-Source Local-First Long-Term Memory MCP Server for Coding Agents
ShelfPolishDev · reddit · 2026-12-06
The author open-sourced Somnia, a local-first long-term memory MCP server for coding agents. When a session goes idle it consolidates the conversation into scoped memories, each required to quote the original conversation for traceability. It also writes a cited 'Dream Journal' and keeps restorable snapshots, all on the local machine. Works with Claude Code, Codex and Gemini CLI; run via npx -y @cliping2077/somnia.
More from coding & agent
- App Store Connect CLI Hits 8.6k Stars, Lets AI Agents Drive Apple Developer Workflows From Terminal — rudrank · 2026-12-06
- Claude Community Weekly: 'Dumber Model' Panic, Projects Renamed, 400K Autocompact Default — ClaudeAI-mod-bot · 2026-12-06
- Microsoft Paper: Giving Agents Only a Shell Beats First-Party Harnesses by 5.1 Points at 49% Lower Cost — Eliv_nurotic · 2026-12-06
- Qwen4-35B-A3B vs Qwen3.8-27B on 108 Agent Sessions: 40% Faster, Slightly Worse, Unusable Without Reasoning — CarstenSpraener · 2026-12-06
- User deploys AI agents to scrape public data and auto-write a dossier on an X account — ezshine · 2026-12-06
- 108 agent sessions: Qwen4-35B-A3B is 40% faster than Qwen3.8-27B but loops forever without reasoning — CarstenSpraener · 2026-12-06