R

Rememori

Embedded memory engine for AI agents in TypeScript with zero dependencies

Open Source
4.5 (13 reviews)

Gallery

About Rememori

Rememori is an embedded memory engine written entirely in TypeScript that gives AI agents and applications the ability to remember information across sessions. The core library has zero dependencies, requires no external servers, and avoids native bindings altogether. It compresses down to roughly 8 KB and runs anywhere JavaScript executes, whether that's Node, Bun, a browser tab, an edge worker, or an Electron app. For developers building AI-powered tools that need persistent context without the overhead of standing up dedicated infrastructure, Rememori offers a straightforward way to add semantic memory to their stack. The appeal lies in treating memory as a library concern rather than an infrastructure concern, which dramatically simplifies the deployment story for applications that need to remember things.

The system operates around three fundamental actions that map naturally to how memory works. The remember function stores text along with embeddings, tags, and automatically extracted entities, creating rich representations that support multiple retrieval strategies. The recall function retrieves memories by ranking them according to similarity, shared entities, user feedback, importance scores, and time decay, combining these signals to surface the most relevant context for any given query. The forget function removes memories when they're no longer needed. Recent updates introduced reinforce and demote functions that let developers validate memory accuracy based on how well stored information actually performs during real usage. When a memory proves helpful, reinforcing it increases its future retrieval weight. When stored information turns out to be misleading, demoting it reduces its influence. This feedback loop means the memory layer can improve over time rather than accumulating stale context.

Storage adapts to the runtime environment automatically without requiring configuration. In browsers, Rememori uses IndexedDB to persist memories locally, giving web applications genuine persistent memory without server round trips. On servers, it writes to the filesystem. The embedder component is pluggable, so developers can connect Ollama for local embeddings, any OpenAI-compatible endpoint for cloud-based embeddings, or a custom embedding function of their own design. This flexibility means you're not locked into any particular embedding provider. An automatic knowledge graph handles entity extraction and linking, which helps the recall process surface related memories even when the query text doesn't match verbatim. If you ask about a person, the system can retrieve memories about projects they worked on or organizations they belong to.

The target audience includes developers building customer support bots that need to retain conversation history across sessions. Coding agents benefit from cross-session memory of project context, recalling architecture decisions and code patterns across different conversations. Local-first applications requiring semantic search without cloud dependencies can use Rememori to build privacy-preserving search features that work entirely offline. Compliance-sensitive systems in legal, healthcare, or finance sectors can keep memory entirely on-premise, satisfying data residency requirements. Game developers can give NPCs persistent behavior that evolves based on player interactions. Home automation builders can create assistants that learn household patterns over time. The common thread is any application where an AI component benefits from remembering what happened before.

What sets Rememori apart from larger memory solutions is the zero-infrastructure requirement combined with genuine portability across JavaScript runtimes. There's no database to provision, no vector store to configure, and no server to maintain. The same code runs in a serverless function, a desktop app, or a browser extension without modification. The entity-aware recall goes beyond simple vector similarity by considering relationships between concepts, which improves relevance when queries are indirect or contextual. The feedback mechanisms for reinforcing and demoting memories let the system learn which stored information actually proves useful in practice. The library also works as an MCP server, making it accessible to Claude and other AI tools that support the Model Context Protocol.

Rememori is open source under the MIT license, so there's no pricing to consider and no vendor relationship to manage. Developers can install it from npm and start adding memory capabilities immediately. The project maintains documentation and examples covering common integration patterns. For teams already working with TypeScript codebases who want to give their AI features persistent memory without adopting heavyweight infrastructure or depending on external services, Rememori provides a focused solution that stays out of the way while handling the underlying complexity of embeddings, storage, and retrieval.

Key Features

  • Remember, recall, and forget operations
  • Automatic entity extraction and knowledge graph
  • Multi-signal recall ranking with decay
  • Pluggable embedders and storage adapters
  • MCP server for Claude and Cursor
  • Reinforce and demote for self-correction

Pros & Cons

What we like

  • Zero dependencies and under 8KB gzipped
  • Runs in Node, browser, Bun, and edge workers
  • Knowledge graph boosts recall beyond vector search
  • Open source under MIT license

Room for improvement

  • Requires your own embeddings provider
  • No hosted option, fully self-managed
  • Early version with evolving API
  • Documentation assumes TypeScript familiarity

Frequently Asked Questions

What is Rememori?
Rememori is a TypeScript library that gives AI agents memory. It stores, retrieves, and forgets information using embeddings and a knowledge graph, so agents can remember context across sessions without external infrastructure.
Does Rememori require a server?
No. It's fully embedded in your application. Storage defaults to files in Node or IndexedDB in the browser. You don't need a database or hosted service unless you choose to use one.
Is Rememori free?
Yes. It's open source under the MIT license and available on npm. There's no paid tier. You need your own embeddings provider, but that can be a free local option like Ollama.
How does Rememori work with Claude or Cursor?
Rememori includes an MCP server mode. You connect it to Claude Code, Cursor, or Windsurf via the Model Context Protocol, and your assistant gets persistent memory across sessions.

Best For

Adding persistent memory to coding assistantsBuilding support bots that remember user historyCreating game characters with context retentionRunning local-first agents without server dependencies

Featured in

Alternatives to Rememori

View all

Reviews (13)

S
Sana Larsen

Genuinely impressed

Tried Rememori on a side project first, then rolled it out everywhere. It handles the boring parts so I can focus on the work that matters. Mostly using it for building support bots that remember user history. Glad I made the switch.

6/9/2026 14 found this helpful
M
Maja Karlsson

Worth a look

Picked Rememori for the price, stayed for the quality. Their take on zero dependencies and under 8kb gzipped is genuinely good. It has shaved real time off my week. Worth it for what I get out of it.

6/24/2026 13 found this helpful
R
Ren Nowak

Exactly what I needed

Found Rememori on a Show HN thread and I am glad I clicked. Where it really wins is multi-signal recall ranking with decay. It does what it says, which is rarer than it should be. No regrets so far.

6/11/2026 13 found this helpful
A
Antoine Larsen

Quietly excellent

Rememori has quietly become part of my daily flow. Their take on knowledge graph boosts recall beyond vector search is genuinely good. Mostly using it for running local-first agents without server dependencies. Easy yes for anyone weighing the same trade offs.

6/1/2026 13 found this helpful
M
Mia Petrov

Exactly what I needed

Tried Rememori on a side project first, then rolled it out everywhere. What stands out is how it handles knowledge graph boosts recall beyond vector search. It fits well for creating game characters with context retention. Worth it for what I get out of it.

6/1/2026 11 found this helpful
L
Lucas Saito

Pulled its weight from week one

Rememori has quietly become part of my daily flow. Where it really wins is knowledge graph boosts recall beyond vector search. Would sign up again without thinking twice.

7/16/2026 9 found this helpful
N
Nadia Nakamura

Quietly excellent

Found Rememori on a Show HN thread and I am glad I clicked. Where it really wins is zero dependencies and under 8kb gzipped. The defaults are sensible, so I was not fighting settings on day one. Found it works best for building support bots that remember user history. Hard to imagine going back to my old setup.

5/6/2026 7 found this helpful
N
Nia Romano

Does the job, a few gripes

Started using Rememori casually, now it is pinned in my dock. Where it really wins is mcp server for claude and cursor. It does what it says, which is rarer than it should be. It would be a five if not for no hosted option, fully self-managed.

4/1/2026 4 found this helpful
C
Chen Ferrari

Decent with some rough edges

Rememori has quietly become part of my daily flow. Got real value out of runs in node, browser, bun, and edge workers. It fits well for running local-first agents without server dependencies. One thing that bugs me is documentation assumes typescript familiarity. Worth it for what I get out of it.

7/18/2026 2 found this helpful
F
Freya Ferrari

Recommended without reservation

Rememori solves a real problem for me without making a fuss about it. It slotted into my routine without much fuss. Performance has been steady even when I lean on it hard. It fits well for building support bots that remember user history. Hard to imagine going back to my old setup.

4/7/2026 1 found this helpful
W
William Tanaka

Worth a look

Rememori solves a real problem for me without making a fuss about it. Where it really wins is pluggable embedders and storage adapters. It handles the boring parts so I can focus on the work that matters. Mostly using it for running local-first agents without server dependencies.

8/10/2026
C
Chioma Gupta

Solid daily driver

Found Rememori on a Show HN thread and I am glad I clicked. The zero dependencies and under 8kb gzipped is more useful than I expected. Performance has been steady even when I lean on it hard. Found it works best for creating game characters with context retention.

8/5/2026
Z
Zahra Lindqvist

Solid daily driver

Rememori solves a real problem for me without making a fuss about it. What stands out is how it handles remember, recall, and forget operations. Would sign up again without thinking twice.

7/29/2026

Badge builder

Add Rememori to your website

Choose a badge style and size, preview it here, then copy the generated HTML. Badge images are self-contained SVGs and do not require an external script.

Rememori badge preview
<a href="https://toolindex.net/tools/rememori?ref=badge" target="_blank" rel="noopener">
  <img src="https://toolindex.net/badge/rememori/medium.svg" alt="Rememori - Listed on Tool Index" width="180" height="50" />
</a>

How to use the badge

  1. 1. Pick the style, size, and theme that fit your layout.
  2. 2. Copy the generated HTML from the code block.
  3. 3. Paste it into your footer, homepage, or press page.

Score badge available

Rememori qualifies for the score and circle badges based on its current top-10 positionin AI Agents.

Badge clicks return visitors to this profile with a referral tag so the source remains identifiable.