Stash (GitHub repository)
Key point
Stash is an open-source AI agent memory layer that retains memory across sessions.
Details
Stash is an open-source, self-hosted memory layer that retains memory even as sessions change. It accumulates episodes into facts, and facts into relationships and patterns, letting AI agents keep building context beyond the conversation.
Setup is simple. Just clone the repository, put your API key and model into .env, and run docker compose up to bring up Postgres + pgvector, migrations, the MCP server, and background integration all at once.
- An 8-stage consolidation pipeline turns new observations into structured knowledge.
- The items processed are facts, relationships, causal links, goal tracking, failure patterns, hypothesis verification, and confidence decay.
- Each stage processes only the new data that has come in since the last run.
- It connects to MCP-compatible agents such as Claude Desktop, Cursor, Windsurf, Cline, Continue, OpenAI Agents, Ollama, and OpenRouter.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.