MemoryLens is an open-source benchmark for LLM memory decay — measuring how AI memory architectures forget over long conversations. This document tracks what's shipped, what's in progress, and what's next.
Want to pick something up? Check CONTRIBUTING.md and claim an item by opening an issue.
-
pip install memorylens-bench— proper PyPI package (the barememorylensname was already taken on PyPI): singlememorylensimport namespace, valid build backend,memorylensCLI entry point, lean core deps with[dashboard]/[server]/[faiss]/ provider extras - CI matrix: Python 3.10–3.13 on Linux + Windows + macOS, plus a package build/validation job
- EntityMemory — structured key-value fact extraction
- GraphMemory — NetworkX knowledge graph with in-place fact updates
- FAISSMemory — FAISS vector index (optional dependency)
- Scenario framework —
Scenariodataclass + registry; scenarios plug into CLI, API, and multi-seed runs - EdTech (student-tutor), Customer Support (ticket lifecycle), Medical (synthetic patient consultations)
- contradiction_score — detects when context surfaces both old and new values of an updated fact
- Cold-tier recall regression fixed — a cold-summary merge-order bug silently destroyed early facts (cascading recall at T=100 fell to ~8%); root-caused and fixed with regression tests
- Ebbinghaus + exponential forgetting-curve fitting (
--fit-curves)
- FastAPI server — async job-based REST API (
uvicorn memorylens.api:app) - Dashboard Run History tab — compare past benchmark runs side-by-side
- Experiment logger schema migration (rotates CSV on metric changes)
- Multi-seed statistical validation — 5 personas, mean ± std, 95% CI (
--seeds) - Ebbinghaus decay + ablation (linear / exponential / Ebbinghaus / heuristic)
- Bounded Chunked RAG (chunking + FIFO index eviction)
- Two-stage LLM answer+judge pipeline; 5 providers (Groq · OpenAI · Anthropic · OpenRouter · Ollama)
- SummaryMemory backend, experiment logger, zero-API-key mode
- Harder fact templates — free-form paraphrased injections so extraction-based backends (entity, graph) can't pattern-match; today's templated facts let them score 100% by construction
- Varied persona injection timing — randomise injection turns per seed so timing-deterministic backends show real cross-seed variance
- Longer horizons — 500–1,000-turn runs where bounded indexes and context budgets genuinely saturate
- Qdrant backend — hosted vector DB, benchmark at 10K+ turns
- Redis-backed memory — persistence across session boundaries
- LangChain memory adapter — wrap
ConversationSummaryMemory/VectorStoreRetrieverMemoryas backends
- Publish to PyPI (package is release-ready; needs a maintainer
twine upload) - Docker image
- HuggingFace Spaces / Streamlit Cloud demo (community contribution welcome — see issue #28)
- RAGAS adapter — export checkpoints as RAGAS-compatible samples
- Async benchmark runner — parallel backend evaluation
- Plugin architecture — register custom backends/metrics via entry points
- Pick any unchecked item above
- Open an issue to claim it (prevents duplicate work)
- Reference the roadmap item in your PR
Have an idea not on this list? Open a Feature Request.