Installation
See Installation Guide for platform-specific instructions and troubleshooting.
Command Categories
| Category | Commands | Description |
|---|---|---|
| Creation | create, open | Create and inspect memory files |
| Data | put, put-many, update, delete, api-fetch | Add, modify, and remove documents |
| Search | find, ask, vec-search, timeline, when, audit | Query and retrieve information |
| Enrichment | enrich, memories, state, facts, export, schema | Extract and query structured facts |
| Tables | tables import, tables list, tables export, tables view | PDF table extraction |
| Maintenance | verify, doctor, nudge | File integrity and repair |
| Sessions | session start, session end, session replay | Time-travel debugging |
| Security | lock, unlock, binding, unbind | Encryption and access control |
| Tickets | tickets sync, tickets apply, plan show | Capacity and subscription management |
| Models | models install, models list, models remove | LLM and embedding model management |
Global Options
These options apply to all commands:Environment Variables
| Variable | Description | Example |
|---|---|---|
MEMVID_API_KEY | Dashboard API key for sync | mv_live_xxx |
OPENAI_API_KEY | OpenAI API key for embeddings/LLM | sk-xxx |
NVIDIA_API_KEY | NVIDIA API key for embeddings | nvapi-xxx |
GEMINI_API_KEY | Google Gemini API key | AIzaxxx |
MISTRAL_API_KEY | Mistral API key | xxx |
MEMVID_TELEMETRY | Disable telemetry (set to 0) | 0 |
MEMVID_LLM_CONTEXT_BUDGET | Max context chars for LLMs | 8000 |
Common Workflows
Basic Document Ingestion
Search and Retrieval
Fact Extraction and Entity Queries
PDF Table Extraction
Output Formats
Most commands support--json for machine-readable output:
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | General error |
| 2 | File not found |
| 3 | Permission denied |
| 4 | Capacity exceeded |
| 5 | Lock conflict |