MemoryLens
Observability and debugging for AI agent memory: instruments the memory pipeline (write, read, compress, update) to show exactly why an agent 'forgot' something. pip-installable with framework integrations.
View source on GitHubKey takeaways
- 01
Instrument the memory pipeline like any other production system
- 02
'Why did it forget' becomes answerable with write/read traces
- 03
Memory observability pairs naturally with run observability
Flows built on this research
From the archive
Verbatim excerpts mined from our local archive of this repository — the prompts, schemas, and patterns worth stealing.
Memory debugging is absent from every observability tool
| Tool | General tracing | Memory write audit | Retrieval score debug | Compression diff | Drift detection | | Langfuse | Strong | None | None | None | None | | Arize / Phoenix | Strong | None | RAG only, generic | None | Model drift only | | LangSmith | LangChain-native | None | Basic | None | None | | Helicone | Proxy-based | None | None | None | None | | MemoryLens | Memory-specific | Full audit trail | Scores + diff | Semantic loss score | Per-entity health |
A competitive audit showing agent-memory debugging (write audits, retrieval score diffs, compression loss, drift) is a genuine gap in the LLM observability market.
memorylens-monetization.md