npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mnemosyne-eurydice/langchain

v0.1.4

Published

LangChain.js BaseChatMemory implementation backed by Mnemosyne. Persistent, searchable, container-scoped chat history with hybrid BM25+vector recall. Replaces LangChain's in-process BufferMemory and ZepMemory. Per-conversation thread tracking, automatic r

Downloads

570

Readme

mnemosyne-langchain

Orpheus lost Eurydice because he looked back. Mnemosyne, titaness of memory, is the one who kept her name. This package family is the instrument of that preservation: adapters, SDKs, and runtimes that let AI agents store, recall, and forget without ever looking at the wrong thing at the wrong time.


npm version License: MIT

LangChain.js BaseChatMemory implementation backed by Mnemosyne. Persistent, container-scoped chat history with hybrid BM25+vector recall. Per-session thread tracking, automatic redaction, TTL support, drop-in replacement for BufferMemory and ZepMemory.

Install

npm install @mnemosyne-eurydice/langchain @langchain/core

Quick start

import { MnemosyneChatHistory, MnemosyneRetriever } from "@mnemosyne-eurydice/langchain";

const history = new MnemosyneChatHistory({
  sessionId: "alice-1",
  containerTag: "alice",
  apiKey: process.env.MNEMOSYNE_API_KEY,
});

await history.addMessage({ type: "human", data: { content: "Hello!", role: "user" } });
await history.addMessage({ type: "ai", data: { content: "Hi there!", role: "assistant" } });

const messages = await history.getMessages();
console.log(messages);

const retriever = new MnemosyneRetriever({ containerTag: "alice", k: 5 });
const docs = await retriever.getRelevantDocuments("what did we discuss?");
for (const d of docs) console.log(d.pageContent);

Security

@langchain/core is an optional peer dependency. To stay clear of GHSA-r399-636x-v7f6 (deserialization-injection in @langchain/core 0.2.x), install @langchain/core at >=0.3.80. The 0.3.80 line ships the upstream fix and is API-compatible with 0.2.x.

npm install @langchain/core@^0.3.80

License

MIT © Geass Labs