Skip to main content
Learn how to create new memory files and ingest documents using the Memvid CLI.

Creating a Memory File

Basic Usage

Create a new .mv2 memory file:

Options

Examples

memvid create is capped at 50MB. To go beyond 50MB, create the file and then apply a signed capacity ticket (see memvid tickets sync/apply).

JSON Output


Inspecting a Memory File

The open command shows metadata and manifests of an existing memory file.

Synopsis

Options

Examples

Response

JSON Output


Ingesting Documents

The put command adds documents to your memory file as frames.

Basic Usage

Core Options

Metadata Options

CLIP & Entity Extraction (Auto-Enabled)

When the CLIP and NER models are installed, the CLI automatically enables visual embeddings for images/PDFs and entity extraction.
Install models manually:

Embedding Options

Embedding Model Options:

Table Extraction Options

Duplicate Handling

Lock Control

Ingesting Different File Types

Memvid automatically detects and processes various file formats:

Adding Metadata

Organize your documents with tracks, tags, and timestamps:

Parallel Ingestion

For large datasets, enable multi-threaded processing:

Ingesting from Stdin

Useful for piping data from other commands:

PDF Table Extraction

Extract structured tables from PDFs (invoices, financial reports, pay stubs):

Basic Usage

Detection Methods

The table extractor uses multiple detection methods: The extractor automatically tries each method and picks the best results.

Viewing Extracted Tables

After extraction, use the tables command to view and export:

Example: Invoice Processing


Updating Documents

The update command modifies an existing frame.

Synopsis

Options

Examples

Response


Deleting Documents

The delete command removes a frame from the memory.

Synopsis

Options

Examples

Response


Remote API Ingestion

The api-fetch command fetches remote content from APIs and ingests as frames.

Synopsis

Options

Config File Format

Examples


Real-World Examples

Documentation Knowledge Base

Research Paper Archive

Code Repository


Troubleshooting

File Locked

Solutions:

Capacity Exceeded

Solutions:

Embedding Model Issues

Solution:

Next Steps

Search & Ask

Query your memories with lexical, semantic, and hybrid search

Timeline & View

Explore your memories chronologically