AI memory engine · Open source
Stop re-explaining your projectto your agents.
RememberStack is the AI memory engine that turns your docs, chats and meeting notes into settled facts your agents can query, with sources, from CLI, MCP or API.
Paste into your coding agent
Read https://docs.remember.dev/llms.txt. Run the self-hosted quickstart, connect this coding agent, then ingest and query a sample Markdown file.
Install skill
npx skills add writeitai/remember-stack --skill rememberKnows what changed
Facts carry the period in which they held. Old ones stay on record.
Cites every answer
Every fact links to its claims, and every claim to its source passage.
Same question, same answer
No language model rewrites, ranks or summarises answers at read time.
Open source, all of it
Apache-2.0. Everything that decides what memory holds is in the repository.
LoCoMo benchmark
94.09% on LoCoMo.Ahead of Mem0 and Hindsight.
Mem0 reports 92.5% and Hindsight 92.0% on the same long-term memory benchmark.
How we measured →
Works with your agents
Agents love working with RememberStack.
With the open-source engine, Claude Code, Codex, Antigravity, Grok Build, Muse Code, Pi or any other agent connects through the remember CLI or MCP.
Your agents use the memory to answer questions and get their work done. The knowledge can come from anywhere: your laptop, your servers, exports from your team's tools.
Connect your agent →Get remember.dev news first
Launch updates and what's new in RememberStack. No spam, unsubscribe anytime.
How it works
Memory that understands your work, not just your text.
RememberStack gives your agents settled, dated facts about the right people, with the sources to prove them.
01 · Time
Knows what was true then, and what is true now.
The launch moved twice. RememberStack updates what it holds true with every new source, and keeps each earlier value with the period in which it held.
Ask when you launch and you get 1 June. Ask what the plan was in January and you get 1 March. Each answer comes with its source.
How memory handles time →02 · Entities
Knows who is who.
“John”, “John S.” and “our backend lead” can resolve to one person, because the sources say who the backend lead is. Two people called Dana stay two: one is on the Platform team, the other in Sales.
Each entity keeps every spelling the sources used, and a name lookup returns ranked candidates, never a silent guess.
Entities and identity →03 · Hybrid retrieval
Finds it by meaning, by keyword and by connection.
One question searches the source text, what was said and what is true. Chunks, claims and facts each run their own independent channels: semantic search for meaning, BM25 for exact names, codes and numbers, and for facts, the entity graph.
Each lane fuses its channels and checks every result against live memory. The answers come back side by side, never blended.
How retrieval works →04 · Pipeline
Does the thinking when you write, not when you ask.
Each document is converted, indexed by section with summaries, cut into chunks and turned into claims checked against the source. Claims become facts about the people, systems and decisions in your work, linked in a graph.
Claims are what each source said. Facts are what memory concludes is true, with every claim behind it.
A self-hosted engine also publishes every document as a folder your agents can browse.
The pipeline, stage by stage →05 · Precise questions
Ask exactly what you mean.
Narrow any search to a person, a project or a point in time.
An entity filter narrows chunks, claims and facts; a date picks the facts that held then. Filters for documents, tags and relation types are there when you need them.
The operations and their filters →06 · Built for agents
Connect your agent in one command.
pip install remember gives you a CLI, an MCP server for Claude Code, Codex and other MCP clients, and a Python SDK. remember setup configures them in one command.
Everything is also plain HTTP.
Connect your agent →Get going
From a clone to your first answer.
01
Run the engine
In a clone of the repository, after the quickstart has set up .env: generated passwords and your OpenRouter key.
docker compose up -d --build02
Install the client and connect your agent
The CLI, the MCP server and the Python SDK in one package.
pip install remember remember setup --self-hosted03
Send a document, then ask
Processing takes minutes; then answers come with their sources.
remember ingest standup.md remember query "Who owns billing?"
Give your agents a memory.
RememberStack is open source under Apache-2.0. Read the docs, run the quickstart on your own machine, and connect your agent.