Open source memory layer so any AI agent can do what Claude.ai and ChatGPT do

Stash is a persistent cognitive layer that provides AI agents with long-term memory across sessions. Unlike traditional RAG, it synthesizes experiences into a knowledge graph, allowing any model to learn and evolve like Claude or ChatGPT.
Stash makes your AI remember you. Every session. Forever. No more explaining yourself from scratch. Stash is a persistent cognitive layer that sits between your AI agent and the world. It doesn't replace your model — it makes your model continuous. Episodes become facts. Facts become patterns. Patterns become wisdom. "Your AI is the brain. Stash is the life experience." Not all memory is equal. What your agent learns about you is different from what it learns about a project, which is different from what it knows about itself. Namespaces let the agent organize what it learns into clean, separate buckets — just like folders on your computer. Each namespace is a path. Paths are hierarchical. Reading from /projects automatically includes everything under /projects/stash, /projects/cartona, and so on. You never have to think about it — the agent does. You've probably heard of RAG — Retrieval Augmented Generation. It's clever. But it's not memory. RAG is like giving the AI a pile of documents to search. Stash learns from everything your agent experiences — conversations, decisions, successes, failures. It synthesizes raw observations into facts, connects facts into a knowledge graph, detects contradictions, tracks goals, and builds an understanding of you that deepens over time. Claude.ai and ChatGPT have memory, but they are locked to one platform. Stash works for everyone, everywhere, forever. It supports MCP natively, works with Docker, and is compatible with any OpenAI-compatible backend including OpenRouter, Ollama, vLLM, and more.
Source: Hacker News















