MemVid

Normal
GitHub Rust Apache-2.0

Description

MemVid is a long-term memory layer for AI agents that uses video encoding for lightweight single-file storage, replacing complex RAG pipelines with instant retrieval.

Key Features

  • Single-file portable memory layer — no database or server infrastructure required
  • Smart Frame architecture inspired by video encoding for append-only, crash-safe storage
  • Sub-5ms retrieval latency at scale with predictive caching (0.025ms P50)
  • Multi-language SDKs: Rust core, Python SDK, Node.js SDK, and CLI tool
  • Time-travel debugging to rewind, replay, or branch any memory state
  • Feature-rich with full-text search (BM25), vector similarity, CLIP image search, and encryption

Use Cases

💡 Providing persistent long-term memory for AI agents across sessions
💡 Building enterprise knowledge bases with instant retrieval and versioning
💡 Enabling offline-first AI systems that carry memory without cloud dependencies
💡 Supporting customer support agents with context-aware conversation history
💡 Auditing and debugging AI workflows with traceable memory snapshots

Quick Start

Install with `cargo add memvid-core` (Rust), `pip install memvid-sdk` (Python), or `npm install @memvid/sdk` (Node.js). Create a `.mv2` file, add documents with metadata, commit, then search. Supports feature flags like `lex`, `vec`, `clip`, and `encryption`.

Related Projects

Related Articles