memvid-cli
Command-line interface for Memvid v2 - AI memory with crash-safe, single-file storage.
Installation
Or with specific features:
# Without llama.cpp (for Docker/ARM emulation, Windows ARM, or systems without LLVM)
# With Metal acceleration (macOS)
# With audio playback
Note: The default installation includes llama.cpp which requires LLVM/libclang. If you encounter build errors related to libclang on Windows or ARM platforms, use the --no-default-features command above.
Quick Start
# Create a new memory file
# Add content
# Search
# Q&A with retrieval
# Timeline queries
# View a specific frame
Commands
| Command | Description |
|---|---|
create |
Create a new .mv2 memory file |
put |
Ingest content (files, directories, URLs) |
find |
Search with lexical or semantic queries |
ask |
Q&A with retrieval-augmented generation |
timeline |
Query frames by time range |
view |
Display frame content and metadata |
update |
Modify frame metadata |
delete |
Remove frames by URI or ID |
verify |
Check file integrity |
doctor |
Repair and rebuild indices |
stats |
Show memory statistics |
tickets |
Manage capacity tickets |
Features
- Single File: Everything in one portable
.mv2file - Crash Safe: Embedded WAL ensures data durability
- Hybrid Search: Lexical (Tantivy) + Semantic (HNSW) search
- Multi-Format: PDF, DOCX, XLSX, images, audio, video
- Local LLM: Built-in Q&A with Phi-3 or llama.cpp
- Timeline: Time-based document organization
- Offline: Works completely offline after model download
Environment Variables
| Variable | Description |
|---|---|
MEMVID_MODELS_DIR |
Model cache directory (default: ~/.memvid/models) |
MEMVID_OFFLINE |
Skip model downloads (use cached) |
MEMVID_API_URL |
Control plane endpoint |
MEMVID_API_KEY |
API authentication key |
License
Apache-2.0