open-index/open-npm huggingface dataset:
npm package: @memonest/sdk
Description: A tiny TypeScript/JavaScript client for the Memonest API. It makes it easy to **store, search, and auto-extract memories about your users** with just a few lines of code.
Latest version: 0.0.12

## @memonest/sdk

A tiny TypeScript/JavaScript client for the Memonest API.
It makes it easy to **store, search, and auto-extract memories about your users** with just a few lines of code.

### Installation

```bash
npm install @memonest/sdk
# or
yarn add @memonest/sdk
# or
pnpm add @memonest/sdk
```

### Quick start

```ts
import MemoryClient from "@memonest/sdk";

const client = new MemoryClient({
  // If omitted, the client will fall back to process.env.MEMONEST_API_KEY (in Node)
  apiKey: process.env.MEMONEST_API_KEY,
});

// Add a memory
await client.add({
  userId: "user_123",
  content: "Meeting notes from Q1 planning",
});

// Find memories
const result = await client.find({
  userId: "user_123",
  query: "planning notes",
  // optional:
  // limit: 10,
  // relevanceThreshold: 0.7,
});

console.log(result); // { memories: [...] }
```

### API Overview

The client exposes a **small, ergonomic surface** on top of the HTTP API:

- **`new MemoryClient(options)`**
  - `apiKey?: string` – Your Memonest API key. If omitted (Node), falls back to `process.env.MEMONEST_API_KEY` (and also supports `process.env.YOURAIMEMORY_API_KEY` for backward compatibility).
  - `baseUrl?: string` – Override the API base URL (defaults to `https://api.getmemonest.xyz`).
  - `fetchFn?: typeof fetch` – Custom fetch implementation (for tests, Node polyfills, etc.).

- **High-level helpers**
  - `client.add({ userId, content, metadata? })`
    Store a single memory for a user.
  - `client.find({ userId, query, limit?, relevanceThreshold? })`
    Search for the most relevant memories for a user.
  - `client.auto({ userId, messages, maxMemories?, importanceThreshold? })`
    Send a conversation transcript and let the API extract and store memories automatically.
  - `client.list({ userId, limit?, offset? })`
    List recent memories for a user.
  - `client.deleteMemory(memoryId)`
    Delete a memory by its ID.

- **Low-level access**
  - `client.memories.auto(...)`
  - `client.memories.search(...)`
  - `client.memories.store(...)`
  - `client.memories.list(...)`
  - `client.memories.delete(...)`

These map 1:1 to the underlying `/v1/memories` HTTP endpoints and accept the full typed request payloads from `@aimemory/shared`.

### Why use Memonest?

- **Long‑term memory for your AI apps**
  Store user profile details, preferences, tasks, and episodic events so your AI can stay consistent over time.

- **Smart retrieval**
  Hybrid search (vectors + keywords), recency, importance, usage frequency, and memory type signals are combined to surface the most relevant memories.

- **Automatic extraction**
  Send raw conversation logs and let the API extract structured memories for you.

- **Simple integration**
  Just a few lines of code with `client.add` and `client.find` – no need to manage embeddings, indexes, or ranking logic yourself.
npm package: @memoorje/api
Description: OpenAPI client for @memoorje/api
Author: OpenAPI-Generator
Latest version: 0.7.0

# @memoorje/api

This package contains the memoorje API client auto-generated by `openapi-generator`.

Install it with:

```sh
npm install @memoorje/api
```

We’re a little short of documentation now but promise to be better once we’ve shipped the first production version :).
npm package: @memoorje/crypto
Description: Encryption container formats based on the Web Cryptography API
Latest version: 0.1.0

# memoorje crypto

This repository contains implementations of our cryptographic helpers and container formats.
Implementations should share a similar interface and must be kept in sync.

HUGE WARNING: This code has not been reviewed yet. If you care about your data DON’T use it.

# TypeScript implementation

The TypeScript implementation of memoorje crypto is based on the
[Web Cryptography API](https://w3c.github.io/webcrypto/).

Build with: `npm run build`. \
Test with: `npm run test`.

# Python implementation

The python implementation of memoorje crypto is based on [PyCryptodome](https://pypi.org/project/pycryptodome/).

Test with: `tox`.