Prerequisites
Install the CLI using one of these methods:- macOS
- Linux
- Windows
- Cargo
Step 1: Create Your First Memory
Create a new.mv2 memory file:
Step 2: Add Documents
Add Text Content
Add some text directly:Add Files
Add documents from your filesystem:Add with Metadata
Organize your content with tracks and tags:Step 3: Search Your Memory
Basic Search
Search Modes
- Hybrid (Default)
- Lexical
- Semantic
Combines keyword and semantic search for best results:
JSON Output
Get results in JSON format for scripting:Step 4: Ask Questions
Use AI to synthesize answers from your documents:Step 5: Browse Timeline
View documents chronologically:Step 6: Verify Integrity
Ensure your memory file is healthy:Next Steps
You’ve created your first memory, added documents, and run searches. Here’s what to explore next:CLI Reference
Complete reference for all CLI commands
Python SDK
Build applications with the Python SDK
Node.js SDK
Build applications with the Node.js SDK
Concepts
Understand how Memvid works