← Back to Feed
Agent Infrastructure agents mcp open_source memory

ClawMem is an open-source persistent memory engine for AI coding agents, using a hybrid BM25+vector+RRF retrieval pipeli

ClawMem is an open-source persistent memory engine for AI coding agents, using a hybrid BM25+vector+RRF retrieval pipeline with a shared SQLite vault across Claude Code and other agents via MCP/hooks.
Show HN: ClawMem – Open-source agent memory with SOTA local GPU retrieval So I've been building ClawMem, an open-source context engine that gives AI coding agents persistent memory across sessions. It works with Claude Code (hooks + MCP) and OpenClaw (ContextEngine plugin + REST API), and both can share the same SQLite vault, so your CLI agent and your voice/chat agent build on the same memory without syncing anything.

The retrieval architecture is a Frankenstein, which is pretty much always my process. I pulled the best parts from recent projects and research and stitched them together: [QMD](https://github.com/tobi/qmd) for the multi-signal retrieval pipeline (BM25 + vector + RRF + query expansion + cross-encoder reranking), [SAME](https://github.com/sgx-labs/statelessagent) for composite scoring with content-type half-lives and co-activation reinforcement, [MAGMA](https://arxiv.org/abs/2501.13956) for intent classification with multi-graph traversal (semantic, temporal, and causal beam search), [A-MEM](https://arxiv.org/abs/2510.02178) for self-evolving memory notes, and [Engram](

Source
HACKERNEWS (hackernews)
Author
yoloshii
Date
2026-03-22
Relevance
6
Topics
agents, mcp, open_source, memory

View Original Post ↗