YourMemory
by sachitrafa·★ 220·Score 51
Agentic AI memory system with Ebbinghaus forgetting curve decay, improving recall over competitors.
Overview
YourMemory is a persistent memory layer for AI agents that mimics human memory through scientific decay principles. It combines vector search, BM25, and entity graph retrieval with a biological forgetting curve model to automatically strengthen important memories and prune outdated ones. The system requires no external infrastructure, working entirely locally with DuckDB, and provides both MCP tools and a direct query interface to answer questions from memory without LLM API calls.
Try asking AI
After installing, here are 7 things you can ask your AI assistant:
When to choose this
Choose YourMemory when you need persistent memory for AI agents with biologically-inspired decay and superior recall capabilities compared to alternatives like Mem0 or Zep.
When NOT to choose this
Not suitable for large-scale deployments due to its local-first architecture; also limited by CC BY-NC 4.0 license which prohibits commercial use.
Tools this server exposes
3 tools extracted from the READMErecall_memoryrecall_memory(query, current_path?)Surfaces relevant memories ranked by similarity × strength; boosts spatially matched memories
store_memorystore_memory(content, importance, context_paths?)Embeds and stores with biological decay; tags optional file/dir paths for spatial recall
update_memoryupdate_memory(id, new_content)Re-embeds and replaces outdated memories; logs old content to audit trail
Comparable tools
Installation
# Install YourMemory
pip install yourmemory
# Get your config path
yourmemory-path
# Add to Claude Desktop config
{
"mcpServers": {
"yourmemory": {
"command": "yourmemory"
}
}
}First start automatically initializes the database and downloads required models.
FAQ
- What databases does YourMemory use?
- DuckDB locally and Postgres in production. No database setup required for local use.
- How does memory decay work?
- Memory strength decays exponentially based on the Ebbinghaus forgetting curve, with importance and recall frequency slowing the decay. Memories below strength 0.05 are pruned automatically.
- Can I query memory without an LLM API call?
- Yes. YourMemory has a built-in 'ask' command that answers simple factual queries directly from memory without any LLM API call or cost.
On Hacker News
Recent discussion from the developer community.
- Story by SachitRafa · 2026-04-26
Compare YourMemory with
Last updated · Auto-generated from public README + GitHub signals.