R

Rememori

Embedded memory engine for AI agents in TypeScript with zero dependencies

Open Source
4.4 (10 reviews)

Gallery

About Rememori

Rememori is a memory engine for AI agents written in pure TypeScript. It lets agents remember, recall, and forget information across sessions without requiring external infrastructure. The library is tiny, about 8KB gzipped, with zero dependencies, so it slots into existing projects without bloating your bundle or complicating your deploy.

The API has three primary operations. Remember stores text along with embeddings, tags, and extracted entities. Recall retrieves relevant memories by combining cosine similarity, knowledge graph connections, user feedback, importance scores, and time decay. Forget removes memories you no longer need. The recall system is where most of the intelligence lives, because it ranks memories across multiple signals rather than just doing a naive vector search.

Entity extraction happens automatically. When you store a memory, Rememori identifies entities and builds a bipartite knowledge graph. That means recall can find relevant memories not just by semantic similarity but by shared entities. If two memories mention the same person or project, they get a boost even if the text itself isn't similar. This is useful for agents that need to connect information across conversations.

Storage is pluggable. In Node or Bun, it defaults to file-based storage. In the browser, it uses IndexedDB. For edge workers, there's a KV adapter. You can also bring your own storage if you need something custom. Embeddings are similarly pluggable: Ollama for local and private setups, any OpenAI-compatible endpoint, or a custom function you provide.

The library also works as an MCP server. You can connect it to Claude Code, Cursor, or Windsurf so your coding assistant gets persistent memory without any additional setup. That's one of the more immediate use cases: wire it up to your editor, and the assistant remembers context across sessions.

Version 0.7 added reinforce and demote functions. These let the agent self-correct its memory based on verifiable outcomes. If a recalled memory led to a good result, you reinforce it. If it led to a mistake, you demote it. Over time, the ranking improves without manual curation. The project is open source under MIT, available on npm, and runs anywhere JavaScript runs.

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 (10)

S
Sana Larsen Verified

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 Verified

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 Verified

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 Verified

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 Verified

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 Verified

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