YourMemory: AI memory with biological decay hits 59% recall on LoCoMo-10

YourMemory implements persistent memory for AI agents using the Ebbinghaus forgetting curve — memories decay unless reinforced by recall, and unused data is pruned when it hits a threshold. Built as a local-first MCP server on DuckDB, it combines BM25, vector search, and a graph layer to solve the "logical neighbor" problem where semantic search misses relevant but non-similar nodes.
Benchmarks
On the LoCoMo-10 benchmark (1,534 QA pairs across 10 multi-session conversations):
- YourMemory: 59% Recall@5 (95% CI: 56–61%)
- Zep Cloud: 28% (95% CI: 26–30%)
That's 2× better recall than Zep Cloud. Stateless vector stores reportedly suffer 84% more token waste.
Quick Start
Python 3.11–3.14. No Docker or external services needed.
pip install yourmemory
yourmemory-setupGet your config path:
yourmemory-pathMCP Configuration
Claude Code — add to ~/.claude/settings.json:
{
"mcpServers": {
"yourmemory": {
"command": "yourmemory"
}
}
}Claude Desktop — add to the appropriate config file:
{
"mcpServers": {
"yourmemory": {
"command": "yourmemory"
}
}
}Cline, Cursor, OpenCode, and any MCP-compatible client (Windsurf, Continue, Zed) can wire it in using the full path from yourmemory-path.
Memory Workflow
Copy the sample instructions:
cp sample_CLAUDE.md CLAUDE.mdThen edit CLAUDE.md with your name and user ID. Claude follows a recall → store → update workflow on every task using three MCP tools:
recall_memory(query)— surfaces relevant memories at start of taskstore_memory(content, importance)— embeds and stores with biological decayupdate_memory(id, new_content)— re-embeds and replaces outdated info
Example: store_memory("Sachit prefers tabs over spaces in Python", importance=0.9, category="fact")
Who It's For
Developers building AI coding agents that run long-lived projects and need to remember user preferences, project context, and avoid retraining from scratch each session.
📖 Read the full source: HN LLM Tools
👀 See Also

Claude Skills Silently Override Instructions: Undocumented Pitfalls Exposed
User discovers Claude skills silently enforce hard limits on user input via `ask_user_input_v0` (max 3 questions, 4 options each), `Write` overwrites files while `create_file` refuses on Claude.ai, and relative paths in `references/` don't resolve. A community repo catalogs findings.

Zerostack 1.0.0: A Unix-Inspired Coding Agent in Pure Rust
Zerostack is a coding agent written in pure Rust, modeled on Unix philosophy — small composable tools piped together via stdin/stdout.

LightMem: Lightweight Memory System for LLM Agents with 10×+ Gains and 100× Lower Cost
LightMem is a modular memory system for LLM agents that achieves up to 10.9% accuracy improvement while reducing tokens by up to 117×, API calls by up to 159×, and runtime by over 12×. It's designed for scalable long-context reasoning across agent workflows.

Freestyle Launches Sandboxes for AI Coding Agents with Live Forking
Freestyle provides cloud sandboxes for AI coding agents that start in ~500ms and feature live forking with <400ms pause, allowing full VM clones including memory state. They run full Debian with hardware virtualization on bare metal infrastructure.