cd /news/ai-agents/i-built-a-memory-for-my-ai-that-says… · home › topics › ai-agents › article
[ARTICLE · art-183048] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

I built a memory for my AI that says "not sure" instead of making things up

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.

recommendation

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.

more in playbook: Retrieval and RAG
by read2 min views3 publishedDec 6, 2026

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.

So 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.

Most memory tools return the closest match and let the model run with it. That is how you get confident nonsense.

Synapse 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.

I measured it on ABCD, a public customer-support dataset: 1,004 held-out conversations to route to one of 55 procedures, through the real MCP server.

Recall mode Answers Right when it answers Right procedure first
Keywords only 24% 53% 39%
Local embeddings (Ollama + EmbeddingGemma) 57% 86% 67%

With 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.

npx synapse-brain init

It 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.

To look first, npx synapse-brain demo opens the map on a demo memory, kept apart from yours.

For good recall, run Ollama with:

ollama pull embeddinggemma

Synapse picks it up automatically and falls back to keywords when it isn't running.

It's one SQLite file per memory, no dependencies, MIT licensed.

Repo: https://github.com/farithjhg/synapse-brain

I'd love feedback, especially on cases where it said "not sure" and shouldn't have, or answered when it should have abstained.

── more in #ai-agents 4 stories · sorted by recency
── more on @synapse 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-built-a-memory-for…] indexed:0 read:2min 2026-12-06 · —