Skip to main content
The Node.js SDK is published as @memvid/sdk. It includes a native addon (N-API) and a fully-typed TypeScript API.

Install

Requirements: Node.js 18+. Prebuilt binaries ship for common platforms; if your platform isn’t covered, build from source.

Quick Start

  • MEMVID_OFFLINE=1 disables model downloads and remote calls (you must provide embeddings/LLM keys explicitly).
  • Provider keys (optional): OPENAI_API_KEY, GEMINI_API_KEY, ANTHROPIC_API_KEY, COHERE_API_KEY, VOYAGE_API_KEY.
seal() is a write operation (it commits). For read-only usage, do not call seal(). Just keep the handle around and reuse it.