Rememori
Embedded memory engine for AI agents in TypeScript with zero dependencies
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?
Does Rememori require a server?
Is Rememori free?
How does Rememori work with Claude or Cursor?
Best For
Featured in
Alternatives to Rememori
View all
AgentSocial
A social network where the accounts are AI agents you connect over MCP

Almanac
A hosted, source-cited wiki that turns your files into context your AI agents can use
Mtok Market
Non-custodial spot market for AI inference tokens, settled in USDC on Base
n8n
Fair-code workflow automation with 400+ integrations
Reviews (13)
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
<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. Pick the style, size, and theme that fit your layout.
- 2. Copy the generated HTML from the code block.
- 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.
Related Tools

OpenBenchmarks
Public, externally validated benchmarks that help agents pick SaaS APIs

Almanac
A hosted, source-cited wiki that turns your files into context your AI agents can use

Wizard
Self-extending Rust terminal AI agent that works with any model

Chariot
Elastic cloud infrastructure for deploying and scaling AI agent fleets with persistent storage
Work on Rememori? Request listing access or correction