HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
yoloshii
ClawMem
TypeScript2026–2026
yoloshii / ClawMem

ClawMem

On-device memory layer for AI agents. Claude Code, OpenClaw and Hermes. Hooks + MCP server + hybrid RAG search.

2Distinct people
2Mentions
0Explicit recommenders
212GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

On-device memory layer for AI agents. Claude Code, OpenClaw and Hermes. Hooks + MCP server + hybrid RAG search.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2026-03-22 00:13:15 UTC to 2026-03-22 21:37:11 UTC.

012026-03-22 00:00:00 UTC to 2026-03-22 01:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsMar 22, 00:002026-03-22 01:00:00 UTC to 2026-03-22 02:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 02:00:00 UTC to 2026-03-22 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 03:00:00 UTC to 2026-03-22 04:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 04:00:00 UTC to 2026-03-22 05:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 05:00:00 UTC to 2026-03-22 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 06:00:00 UTC to 2026-03-22 07:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 07:00:00 UTC to 2026-03-22 08:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 08:00:00 UTC to 2026-03-22 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 09:00:00 UTC to 2026-03-22 10:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 10:00:00 UTC to 2026-03-22 11:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsMar 22, 10:002026-03-22 11:00:00 UTC to 2026-03-22 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 12:00:00 UTC to 2026-03-22 13:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 13:00:00 UTC to 2026-03-22 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 14:00:00 UTC to 2026-03-22 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 15:00:00 UTC to 2026-03-22 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 16:00:00 UTC to 2026-03-22 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 17:00:00 UTC to 2026-03-22 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 18:00:00 UTC to 2026-03-22 19:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 19:00:00 UTC to 2026-03-22 20:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 20:00:00 UTC to 2026-03-22 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 21:00:00 UTC to 2026-03-22 22:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsMar 22, 21:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Mar 22, 00:002026-03-22 00:00:00 UTC2026-03-22 01:00:00 UTC110
Mar 22, 01:002026-03-22 01:00:00 UTC2026-03-22 02:00:00 UTC000
Mar 22, 02:002026-03-22 02:00:00 UTC2026-03-22 03:00:00 UTC000
Mar 22, 03:002026-03-22 03:00:00 UTC2026-03-22 04:00:00 UTC000
Mar 22, 04:002026-03-22 04:00:00 UTC2026-03-22 05:00:00 UTC000
Mar 22, 05:002026-03-22 05:00:00 UTC2026-03-22 06:00:00 UTC000
Mar 22, 06:002026-03-22 06:00:00 UTC2026-03-22 07:00:00 UTC000
Mar 22, 07:002026-03-22 07:00:00 UTC2026-03-22 08:00:00 UTC000
Mar 22, 08:002026-03-22 08:00:00 UTC2026-03-22 09:00:00 UTC000
Mar 22, 09:002026-03-22 09:00:00 UTC2026-03-22 10:00:00 UTC000
Mar 22, 10:002026-03-22 10:00:00 UTC2026-03-22 11:00:00 UTC000
Mar 22, 11:002026-03-22 11:00:00 UTC2026-03-22 12:00:00 UTC000
Mar 22, 12:002026-03-22 12:00:00 UTC2026-03-22 13:00:00 UTC000
Mar 22, 13:002026-03-22 13:00:00 UTC2026-03-22 14:00:00 UTC000
Mar 22, 14:002026-03-22 14:00:00 UTC2026-03-22 15:00:00 UTC000
Mar 22, 15:002026-03-22 15:00:00 UTC2026-03-22 16:00:00 UTC000
Mar 22, 16:002026-03-22 16:00:00 UTC2026-03-22 17:00:00 UTC000
Mar 22, 17:002026-03-22 17:00:00 UTC2026-03-22 18:00:00 UTC000
Mar 22, 18:002026-03-22 18:00:00 UTC2026-03-22 19:00:00 UTC000
Mar 22, 19:002026-03-22 19:00:00 UTC2026-03-22 20:00:00 UTC000
Mar 22, 20:002026-03-22 20:00:00 UTC2026-03-22 21:00:00 UTC000
Mar 22, 21:002026-03-22 21:00:00 UTC2026-03-22 22:00:00 UTC110

What Hacker News says

2 sources
yoloshii·Mar 22, 2026Submission

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
Read the rest
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](https://github.com/Gentleman-Programming/engram) for deduplication patterns and temporal navigation. None of these were designed to work together. Making them coherent was most of the work. On the inference side, QMD's original stack uses a 300MB embedding model, a 1.1GB query expansion LLM, and a 600MB reranker. These run via llama-server on a GPU or in-process through node-llama-cpp (Metal, Vulkan, or CPU). But the more interesting path is the SOTA upgrade: ZeroEntropy's distillation-paired zembed-1 + zerank-2. These are currently the top-ranked embedding and reranking models on MTEB, and they're designed to work together. The reranker was distilled from the same teacher as the embedder, so they share a semantic space. You need ~12GB VRAM to run both, but retrieval quality is noticeably better than the default stack. There's also a cloud embedding option if you're tight on vram or prefer to offload embedding to a cloud model. For Claude Code specifically, it hooks into lifecycle events. Context-surfacing fires on every prompt to inject relevant memory, decision-extractor and handoff-generator capture session state, and a feedback loop reinforces notes that actually get referenced. That handles about 90% of retrieval automatically. The other 10% is 28 MCP tools for explicit queries. For OpenClaw, it registers as a ContextEngine plugin with the same hook-to-lifecycle mapping, plus 5 REST API tools for the agent to call directly. It runs on Bun with a single SQLite vault (WAL mode, FTS5 + vec0). Everything is on-device; no cloud dependency unless you opt into cloud embedding. The whole system is self-contained. This is a polished WIP, not a finished product. I'm a solo dev. The codebase is around 19K lines and the main store module is a 4K-line god object that probably needs splitting. And of course, the system is only as good as what you index. A vault with three memory files gives deservedly thin results. One with your project docs, research notes, and decision records gives something actually useful. Two questions I'd genuinely like input on: (1) Has anyone else tried running SOTA embedding + reranking models locally for agent memory, and is the quality difference worth the VRAM? (2) For those running multiple agent interfaces (CLI + voice/chat), how are you handling shared memory today?
5 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.