{"slug": "i-built-a-memory-for-my-ai-that-says-not-sure-instead-of-making-things-up", "title": "I built a memory for my AI that says \"not sure\" instead of making things up", "summary": "A developer built Synapse, an open-source shared memory layer that Claude, Cursor, Claude Code and other MCP apps can use, backed by a single SQLite file per memory and released under the MIT license. Rather than returning the closest match, Synapse abstains with \"uncertain\" or \"unknown\" unless the best fact clearly beats any conflicting fact. Tested on the ABCD customer-support dataset (1,004 held-out conversations routed to one of 55 procedures through the real MCP server), local embeddings via Ollama and EmbeddingGemma answered 57% of the time and were correct 86% of those, versus 24% answer rate and 53% accuracy for keyword-only recall.", "body_md": "Every new chat, I explained the same things again: how my project deploys, what we decided last week, which tools I prefer. The built-in memories didn't fix it. Each one is locked to one app, hard to inspect, and sometimes states something stale with full confidence.\n\nSo I built Synapse: one memory that Claude, Cursor, Claude Code and any MCP app share. You teach it once and it's there everywhere. A live map shows exactly what it knows.\n\nMost memory tools return the closest match and let the model run with it. That is how you get confident nonsense.\n\nSynapse answers only when the best fact clearly beats every fact that gives a different answer. Otherwise it reports \"uncertain\" or \"unknown\", and your AI asks you instead of guessing.\n\nI measured it on [ABCD](https://github.com/asappresearch/abcd), a public customer-support dataset: 1,004 held-out conversations to route to one of 55 procedures, through the real MCP server.\n\n| Recall mode | Answers | Right when it answers | Right procedure first | \n|---|---|---|---|\n| Keywords only | 24% | 53% | 39% | \n| Local embeddings (Ollama + EmbeddingGemma) | 57% | 86% | 67% | \n\nWith embeddings, when it answers it's right 86% of the time. The rest of the time it says it isn't sure. I'd rather have that than a 100% answer rate with a third of the answers wrong.\n\n```\nnpx synapse-brain init\n```\n\nIt finds Claude Code, Claude Desktop, Cursor and Windsurf, adds Synapse to each, keeps your other servers and saves a `.bak` of every file it touches. Restart the app and tell your assistant something worth remembering.\n\nTo look first, `npx synapse-brain demo` opens the map on a demo memory, kept apart from yours.\n\nFor good recall, run [Ollama](https://ollama.com) with:\n\n```\nollama pull embeddinggemma\n```\n\nSynapse picks it up automatically and falls back to keywords when it isn't running.\n\nIt's one SQLite file per memory, no dependencies, MIT licensed.\n\n**Repo:** [https://github.com/farithjhg/synapse-brain](https://github.com/farithjhg/synapse-brain)\n\nI'd love feedback, especially on cases where it said \"not sure\" and shouldn't have, or answered when it should have abstained.", "url": "https://wpnews.pro/news/i-built-a-memory-for-my-ai-that-says-not-sure-instead-of-making-things-up", "canonical_source": "https://dev.to/jose_heras_45914f114047c9/i-built-a-memory-for-my-ai-that-says-not-sure-instead-of-making-things-up-3hom", "published_at": "2026-12-06 20:37:45+00:00", "updated_at": "2026-12-06 20:44:29.111958+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "large-language-models", "developer-tools"], "entities": ["Synapse", "Claude", "Cursor", "Claude Code", "Windsurf", "Ollama", "EmbeddingGemma", "ABCD"], "also_reported_by": [], "takeaway": "Gating memory retrieval on an abstention rule—answering only when the top fact clearly beats conflicting facts—raised answer accuracy from 53% with keywords to 86% with local embeddings, at the cost of answering only 57% of queries.", "recommendation": {"advice": "Add an abstention threshold to your retrieval layer so the model says \"uncertain\" when top facts conflict, and use embeddings over keyword-only matching to lift answer accuracy.", "playbook": "rag-retrieval", "playbook_url": "https://wpnews.pro/playbooks/rag-retrieval"}, "alternates": {"html": "https://wpnews.pro/news/i-built-a-memory-for-my-ai-that-says-not-sure-instead-of-making-things-up", "markdown": "https://wpnews.pro/news/i-built-a-memory-for-my-ai-that-says-not-sure-instead-of-making-things-up.md", "text": "https://wpnews.pro/news/i-built-a-memory-for-my-ai-that-says-not-sure-instead-of-making-things-up.txt", "jsonld": "https://wpnews.pro/news/i-built-a-memory-for-my-ai-that-says-not-sure-instead-of-making-things-up.jsonld"}}