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/sdk

v0.1.4

Published

Typed JavaScript/TypeScript client for the Mnemosyne memory substrate. Fetch, store, search, and delete memories over HTTP. Container-scoped queries with metadata filters, BM25 + vector hybrid search, and automatic container-tag injection from the API key

Readme

mnemosyne-sdk

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 npm downloads CI License: MIT TypeScript Bundle Size

Typed JavaScript/TypeScript client for the Mnemosyne memory substrate. Container-scoped storage, hybrid BM25+vector recall, async/sync APIs, full TypeScript definitions. Talks to any Mnemosyne endpoint over HTTPS.

Install

npm install @mnemosyne-eurydice/sdk
# or
pnpm add @mnemosyne-eurydice/sdk
# or
yarn add @mnemosyne-eurydice/sdk

Quick start

import { Mnemosyne } from "@mnemosyne-eurydice/sdk";

const mn = new Mnemosyne({
  apiKey: process.env.MNEMOSYNE_API_KEY!,
  // baseUrl defaults to https://api.mnemosyne.geasslabs.xyz
});

await mn.add("The dock-A camera lost calibration at 14:32 UTC", {
  containerTag: "fleet-ops",
});

const results = await mn.search("when did dock A fail?", {
  containerTag: "fleet-ops",
  limit: 5,
});
for (const r of results) {
  console.log(`${r.score.toFixed(3)}  ${r.content}`);
}

Framework adapters

| Adapter | Import | Peer dep | |---|---|---| | Vercel AI SDK | import { MnemosyneVercelAdapter } from "@mnemosyne-eurydice/sdk/vercel" (in dedicated package) | ai@^3 | | LangChain.js | import { MnemosyneChatHistory } from "@mnemosyne-eurydice/langchain" | langchain@^0.2 |

The framework adapters live in their own dedicated packages (@mnemosyne-eurydice/langchain, @mnemosyne-eurydice/vercel-ai, etc.). This package stays framework-agnostic.

API

// Add a memory
const memory: Memory = await mn.add(content: string, options?: AddOptions);

// Search memories
const results: SearchResult[] = await mn.search(query: string, options?: SearchOptions);

// Get / delete
const one: Memory = await mn.get(memoryId: string);
const ok: boolean = await mn.delete(memoryId: string);

// Profile
const profile: Profile = await mn.getProfile(containerTag: string);

Error handling

import {
  MnemosyneError,
  AuthenticationError,
  NotFoundError,
  RateLimitError,
  ServerError,
  ValidationError,
} from "@mnemosyne-eurydice/sdk";

try {
  await mn.add("...");
} catch (e) {
  if (e instanceof RateLimitError) {
    await new Promise((r) => setTimeout(r, (e.retryAfter ?? 1) * 1000));
    return retry();
  }
  if (e instanceof AuthenticationError) {
    // bad API key
  }
  if (e instanceof MnemosyneError) {
    // generic fallback
  }
  throw e;
}

Configuration

| Env var | Description | Default | |---|---|---| | MNEMOSYNE_API_KEY | API key (overridden by constructor) | - | | MNEMOSYNE_BASE_URL | Server URL | https://api.mnemosyne.geasslabs.xyz |

License

MIT © Geass Labs. The Mnemosyne engine this SDK talks to is licensed under the Mnemosyne Source-Available License v1.0. See NOTICE for the dual-license arrangement.

Links

  • Homepage: https://mnemosyne.geasslabs.xyz
  • Documentation: https://docs.geasslabs.xyz/mnemosyne-sdk
  • Repository: https://github.com/synet-systems/mnemosyne
  • Issues: https://github.com/synet-systems/mnemosyne/issues
  • Changelog: CHANGELOG.md