# memvid/memvid

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/memvid-memvid).**

13,160 stars · 1,100 forks · Rust · apache-2.0

## Links

- GitHub: https://github.com/memvid/memvid
- Homepage: https://www.memvid.com
- awesome-repositories: https://awesome-repositories.com/repository/memvid-memvid.md

## Topics

`ai` `context` `embedded` `faiss` `knowledge-base` `knowledge-graph` `llm` `machine-learning` `memory` `memvid` `mv2` `nlp` `offline-first` `opencv` `python` `rag` `retrieval-augmented-generation` `semantic-search` `vector-database` `video-processing`

## Description

Memvid is an embedded memory framework designed to provide persistent, versioned context for intelligent agents. It functions as a local vector database library that stores all data within a single binary file, removing the need for external database infrastructure or network dependencies.

The system distinguishes itself by integrating in-process vector indexing with append-only versioning, allowing for high-speed semantic similarity searches alongside the ability to track and roll back state changes over time. It includes built-in transparent data encryption and masking to secure sensitive information at rest, ensuring privacy and compliance during all storage operations.

The framework provides a comprehensive set of tools for managing agent context, including programmatic SDK access for reading and writing data. By combining embedded key-value mapping with low-latency retrieval mechanisms, it enables applications to maintain consistent, long-term memory across sessions.

## Tags

### Artificial Intelligence & ML

- [Agent Memory Engines](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-memory-engines.md) — Provides persistent and versioned context for intelligent agents to maintain state across sessions.
- [Agent Memory Stores](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-memory-stores.md) — Offers a programmatic interface for persisting and querying conversational context across agent sessions.
- [Agent Memory Persistence](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-memory-persistence.md) — Persists conversational history and context in a versioned format for long-term agent memory. ([source](https://www.memvid.com/llms.txt#documentation))
- [Memory Retrieval Systems](https://awesome-repositories.com/f/artificial-intelligence-ml/memory-retrieval-systems.md) — Enables low-latency access to saved data for maintaining accurate context during live conversations. ([source](https://www.memvid.com/llms.txt#memvid))
- [Programmatic Access Interfaces](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-memory-maintenance/programmatic-access-interfaces.md) — Provides programmatic SDK interfaces to read, write, and query stored agent context directly from application code. ([source](https://www.memvid.com/llms.txt#documentation))

### Data & Databases

- [Vector Databases](https://awesome-repositories.com/f/data-databases/vector-databases.md) — Stores and retrieves vector-based data locally within a single binary file for fast semantic search.
- [Vector Indexing](https://awesome-repositories.com/f/data-databases/vector-indexing.md) — Performs high-speed semantic similarity searches directly within the application memory space.
- [Vector Search Engines](https://awesome-repositories.com/f/data-databases/vector-search-engines.md) — Implements a high-performance retrieval system for semantic similarity searches on local data.
- [Append-Only Storage Engines](https://awesome-repositories.com/f/data-databases/append-only-storage-engines.md) — Records every state change as an immutable sequence of entries to enable historical retrieval and rollbacks.
- [Vector Search](https://awesome-repositories.com/f/data-databases/vector-search.md) — Retrieves relevant information from stored memory files using vector-based matching. ([source](https://www.memvid.com/llms.txt#key-concepts))
- [Memory Management Systems](https://awesome-repositories.com/f/data-databases/memory-management-systems.md) — Tracks changes to stored data over time to enable retrieval of previous states and rollbacks. ([source](https://www.memvid.com/llms.txt#documentation))
- [Local File Storage](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/data-persistence-storage/data-storage/file-based-storage/local-file-storage.md) — Maintains persistent and versioned agent data in a single binary file without external dependencies. ([source](https://www.memvid.com/llms.txt#memvid))
- [Key-Value Stores](https://awesome-repositories.com/f/data-databases/key-value-stores.md) — Organizes agent context into indexed key-value structures for rapid data lookups.

### Security & Cryptography

- [Encrypted Persistence](https://awesome-repositories.com/f/security-cryptography/data-encryption/encrypted-persistence.md) — Secures agent information through built-in encryption within a portable binary file.
- [Data Encryption](https://awesome-repositories.com/f/security-cryptography/data-encryption.md) — Secures sensitive information at rest using cryptographic transformations before writing to disk.
- [Data Encryption](https://awesome-repositories.com/f/security-cryptography/privacy-data-protection/data-encryption.md) — Protects stored information through built-in encryption and masking of personally identifiable details. ([source](https://www.memvid.com/llms.txt#key-concepts))
- [Privacy and Data Protection](https://awesome-repositories.com/f/security-cryptography/privacy-data-protection.md) — Protects sensitive information through built-in masking and encryption to ensure data privacy.

### Development Tools & Productivity

- [Single-Binary Distributions](https://awesome-repositories.com/f/development-tools-productivity/single-binary-distributions.md) — Bundles all application data and version history into a single self-contained binary file.

### Software Engineering & Architecture

- [State Persistence](https://awesome-repositories.com/f/software-engineering-architecture/workflow-persistence/state-persistence.md) — Tracks data changes over time to facilitate reliable state rollbacks and consistency.
