Enrichment
Theenrich command extracts structured memory cards (Subject-Predicate-Object triplets) from frames using various extraction engines.
Synopsis
Options
Available Engines
Examples
Response
JSON Output
Memories
Thememories command displays extracted memory cards from enriched frames.
Synopsis
Options
Examples
Response
JSON Output
State
Query current entity state with O(1) lookup. This is the fastest way to get an entity’s current attributes.Synopsis
Arguments
Options
Examples
Response
JSON Output
Facts
Audit fact changes with provenance and filtering.Synopsis
Options
Examples
Response
Export
Export facts to various formats.Synopsis
Options
Examples
Output Formats
N-Triples (RDF):Schema
Infer and manage predicate schemas.Synopsis
Subcommands
schema infer
Infer schema from existing facts.schema list
List known schemas.Response
Models
Themodels command manages local models for enrichment, embeddings, and visual search.
Subcommands
Install Models
Available Models
List Models
Model Types
Remove and Verify Models
Follow (Logic-Mesh Traversal)
Thefollow command traverses the entity-relationship graph built from extracted entities.
Logic-Mesh must be enabled during ingestion with
memvid put --logic-mesh to use follow commands.Subcommands
Traverse Relationships
Traverse Options
Traverse Examples
List Entities
Entity Types
Mesh Statistics
Stats Output
Audit
Theaudit command generates sourced reports on specific topics from your knowledge base.
Basic Usage
Options
Examples
Output Formats
Text (default):Session Recording (Time-Travel Replay)
Thesession command enables recording and replaying agent sessions for debugging RAG failures and testing different search strategies.
Subcommands
Start Session
put, find, ask) will be recorded until the session is ended.
End Session
List Sessions
Replay Session
The key feature: replay a recorded session with different parameters to understand how results change.Replay Options
Delete Session
Use Case: Debugging RAG Failures
When a query fails to find relevant results:- Start a session before ingesting data
- Ingest documents with different terminology
- Run queries that show the failure
- End the session
- Replay with adaptive retrieval to see if results improve
Best Practices
Enrichment Strategy
Combining Search Modes
Compliance and Audit
Environment Variables
Next Steps
Entity Extraction
Learn about Logic-Mesh and entity extraction
Visual Embeddings
Enable visual search with CLIP
Local Models
Configure local model inference
Python SDK
Use these features programmatically