Join the conversation

Join the community of Machine Learners and AI enthusiasts.

Sign Up
7bunnies 
posted an update 1 day ago
Post
66
amem: retrieval for coding-agent memory without an embeddings API

Coding agents need recall over small, fast-changing facts. amem does it locally: SQLite FTS5 with BM25, a 256-dimension n-gram encoder running in-process, and recency, usage and pin signals, all packed into a caller-set token budget.

Its CI benchmark (36 memories, 32 natural questions, 8 vague prompts): the right memory first 88%, in the top 3 97%, and no irrelevant memory for vague prompts.

Facts are anchored to files by content hash, so a changed file marks dependent facts stale rather than serving them silently.

Works with Claude Code, Cursor, Codex, LM Studio and any MCP client. MIT. https://getamem.com · https://github.com/sslugic/amem
In this post