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.

Read the docsView on GitHub
Install skill
Install the Remember skill
npx skills add writeitai/remember-stack --skill remember

Knows 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 →
Published LoCoMo scores for AI memory engines. RememberStack 94.09%, Mem0 92.5%, Hindsight 92.0%.

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 →
Coding agents reading and writing one memoryClaude Code, Codex, Antigravity, Grok Build, Muse Code, Pi and any other agent connect through the remember CLI or MCP. Questions and answers travel both ways between each agent and the RememberStack brain, while knowledge flows in from a laptop and a server.
Knowledge from anywhere. Answers for every agent.

Get remember.dev news first

Launch updates and what's new in RememberStack. No spam, unsubscribe anytime.

Get remember.dev product news by email. We'll send a confirmation link first. Unsubscribe anytime. See our privacy notice.

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 →
The launch date moves, and memory keeps upExample. Kickoff notes from 10 January say we launch on 1 March. A standup on 20 February moves the launch to 15 April. An email on 2 April sets a new date, 1 June. The launch-date card updates each time: every new value is a new fact, and each earlier fact keeps the period in which it held: 1 March from January to February, from the kickoff; 15 April from February to April, from the standup; 1 June since 2 April, from the email. Asked when do we launch, the agent gets 1 June, from the email of 2 April. Asked what the plan was in January, it gets 1 March, from the kickoff of 10 January.
Today's answer, or the answer for any date.

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 →
Five mentions resolve to three peopleExample. Slack says John pushed the auth fix. An email thanks John S., backend lead, for the spec. A spec says our backend lead owns the session store. A ticket says Dana from Platform will rotate the API keys. A standup says Dana from Sales meets Acme on Friday. The three John mentions resolve to one person, John S., with John and our backend lead kept as aliases, because the email says who the backend lead is. The two Danas stay two people: one on the Platform team, one in Sales. Result: three identified entities.
Five mentions, three people.

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 →
One question, three lanes, side by sideExample. The question when is the billing cutover searches three lanes. Chunks, the source text, use semantic and BM25 keyword search. Claims, what was said, use semantic and BM25 keyword search. Facts, what is true, use semantic search and, when the question names an entity, the entity graph. Each lane fuses its own channels and confirms its results against live memory. The three answers come back side by side, never blended: a passage saying the cutover moves to 14 March, Dana's claim that it is on 14 March, and the fact Cutover: 14 March with three sources.
Chunks, claims and facts, side by side.

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 →
What happens to a document after you send itExample. A document, standup.md, is converted, given a page index of sections and summaries, cut into chunks, turned into claims checked against the source, and then into facts: observations and the entity graph. Search indexes are written last and the document is ready to recall. Beside it, three claims from an email, notes and a standup, each saying launch is 1 June, become one fact: launch date 1 June, true since 2 April, backed by three sources. On a self-hosted engine each document is also published as a corpus folder for grep.
From a file to facts your agents can use.

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 →
Narrowing one search by entity and timeExample. The question when does Atlas launch searches chunks, claims and facts. An entity filter for Atlas applies to all three lanes and fades results about another project, Beacon. A time filter, as of January, applies to facts and fades the 1 June value, which only holds since April. The answer is 1 March, from the kickoff of 10 January.
Atlas, as of January: 1 March.

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 →
Four ways to reach the same memoryThe remember CLI, the remember mcp server for Claude Code, Codex and other MCP clients, the Python SDK and the HTTP API all reach the same RememberStack memory, with requests going in and answers coming back.
CLI, MCP, Python and HTTP. One memory.

Get going

From a clone to your first answer.

  1. 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 --build
  2. 02

    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-hosted
  3. 03

    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.