Memvid
8K+ stars in 2 weeks

Store AI Memoryas Video Files

Turn millions of text chunks into a single MP4 file. Search semantically in milliseconds.No databases. No servers. Just portable knowledge that works offline.

8K+
GitHub Stars
in 2 weeks
600+
Active Developers
building with MemVid
<50KB
Memory Capsule
entire AI history
terminal
memvid-demo.sh
$pip install memvid
# Store text as video • Search in milliseconds
$python -c "from memvid import MemvidEncoder"
$memvid-cli build --input docs/ --output knowledge.mp4
🎬 Building video memory from 1,247 documents...
✓ Created knowledge.mp4 & knowledge_index.json
$memvid-cli chat knowledge.mp4_

Join 600+ developers building the future of AI memory

Your data never leaves your infrastructure

Why developers love MemVid

No more re-indexing gigabytes. Just share a 50KB memory capsule.

Vector DBs

Cold-start cost

Re-embed every record

Disk / RAM ratio

3-5× data size

Live branching

Not supported

Portability

Complex infrastructure

Multi-modal

Mostly text only

MemVid

Cold-start cost

Zero — pre-encoded

Disk / RAM ratio

0.4× thanks to video codec

Live branching

Create branches in milliseconds

Portability

One .mv2 file

Multi-modal

Text • Images • Model Weights

Built for real-world AI workflows

Everything you need to manage AI memory at scale

Video-Based Storage

Store millions of text chunks as frames in MP4 files. 10x more efficient than traditional databases.

Single portable MP4 file

Semantic Search

Find relevant information instantly using natural language queries. No SQL, no complex queries.

Sub-second retrieval

100% Offline Capable

No internet required. No API calls. Your knowledge stays on your device, always accessible.

Complete privacy & control

Interactive Chat Interface

Built-in Q&A interface to chat with your stored knowledge. Supports multiple LLM providers.

Start chatting in seconds

Drop-in CLI & SDK

Get started in seconds with our intuitive command-line interface

Create Video Memory

from memvid import MemvidEncoder

# Create encoder and add text chunks
encoder = MemvidEncoder()
encoder.add_chunks([
"The Earth orbits the Sun.",
"Water boils at 100°C.",
"Python is a programming language."
])

# Build video memory
encoder.build_video("knowledge.mp4", "index.json")

Chat with Your Memory

from memvid import MemvidChat

# Initialize chat with video memory
chat = MemvidChat("knowledge.mp4", "index.json")
chat.start_session()

# Ask questions
response = chat.chat("What temperature does water boil?")
print(response)

# Output: Water boils at 100 degrees Celsius.

PDF Document Support

from memvid import MemvidEncoder, MemvidChat

# Index PDF documents
encoder = MemvidEncoder()
encoder.add_pdf("research_paper.pdf")
encoder.add_pdf("documentation.pdf")
encoder.build_video("docs.mp4", "docs_index.json")

# Search across all PDFs
chat = MemvidChat("docs.mp4", "docs_index.json")
answer = chat.chat("What are the key findings?")

# Instant semantic search across all documents
Coming Soon

MemVid Cloud

Manage your MP4 memory files in the cloud. Version control, collaboration, and seamless sync.

Version Control

Git-like version control for your memory files. Branch, merge, and track changes.

  • Track memory evolution
  • Collaborative editing

Cloud Storage

Store and manage your MP4 memory files in the cloud. Access from anywhere.

  • Automatic backups
  • Global CDN

Team Collaboration

Share memory files with your team. Control access and permissions.

  • Role-based access
  • Real-time sync

Be the first to know when MemVid Cloud launches

Get early access to cloud storage, version control, and team collaboration features.

MemVid 2.0

Ready for the Future ofAI Memory?

Join 600+ developers using MemVid to build the next generation of AI applications.Store as video. Branch like Git. Carry anywhere in 50KB.

MemVid 2.0 Coming Soon!

Living AI Memory

First memory engine that grows forever with your AI

Branch & Rewind

Git for AI Memory - branch and rewind anywhere on timeline

50KB Capsules

Portable capsule carries entire history to any AI agent

Open source • Apache 2.0 licensed • Your data never leaves your infrastructure