Menu

I built a local MCP memory server in Rust that failed its own benchmark (and all the bugs I hit after)
📰

I built a local MCP memory server in Rust that failed its own benchmark (and all the bugs I hit after)

DEV Community: rust·tazwar devp·2 days ago
#wYFr8SSh
#devtorust#devto#dev#memoire#memory
Long article (711 words) — no AI summary yet.
Reading 0:00
15s threshold

Every plain vector memory server for coding agents has the same failure mode: if your agent saves a bad workaround once, the server keeps retrieving it with high cosine similarity forever.

I'm a student developer building Memoire (MIT), a local MCP memory server written in Rust + bundled SQLite using local all-MiniLM-L6-v2 ONNX embeddings ( fastembed ). Instead of treating every note as permanent truth, each memory starts in trial with a hand-set Beta trust score (2+s)/(4+s+f) plus time decay, and moves between live ( trial / active ) and hidden ( probationary / quarantined ) states as you reinforce or penalize it.

Shipping it over the last couple of weeks taught me more from things breaking than from writing the engine itself.

1. My own pre-registered benchmark didn't pass

Before promoting anything, I ran a pre-registered held-out eval ( methodology ) on Gemini 3.1 Flash Lite across 32 tasks per condition.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.