memvid/memvid
Memory layer for AI Agents. Replace complex RAG pipelines with a serverless, single-file memory layer. Give your agents instant retrieval and long-term memory.
What it solves
Memvid 提供一个可移植、无服务器的 AI 代理记忆层,消除复杂的 RAG 流程或外部向量数据库的需求。它让代理能够拥有持久的长期记忆,存储在单个可共享的文件中,使记忆层与模型无关且无需基础设施。
How it works
Memvid 将 AI 记忆组织为“Smart Frames”的追加序列——不可变的单元,包含内容、时间戳和元数据。此设计受视频编码启发,实现高效压缩、崩溃安全以及查询过去记忆状态的能力。所有数据,包括嵌入、搜索结构(全文和向量)以及元数据,均打包进单个 .mv2 文件。系统支持本地文本嵌入(ONNX)、视觉嵌入(CLIP)和音频转录(Whisper),以及通过 OpenAI 的云端嵌入。
Who it’s for
适用于构建长期运行的 AI 代理、离线优先的 AI 系统、企业知识库,或需要快速本地记忆召回且不想管理数据库服务器的可审计 AI 工作流的开发者。
Highlights
- Single-File Storage: Packages all data and indices into one
.mv2file with no sidecar files. - High Performance: Offers ultra-low latency (0.025ms P50) and high throughput for memory retrieval.
- Multi-modal Support: Includes built-in capabilities for PDF extraction, CLIP visual search, and Whisper audio transcription.
- Time-Travel Debugging: Allows users to rewind, replay, or branch memory states.
- Model Agnostic: Works with various local embedding models (BGE, Nomic, GTE) or cloud APIs (OpenAI).