LLMind CLI reference
Published 2026-04-22 · 6 min read
Complete reference for the llmind command-line tool. Learn all commands, flags,
and exit codes.
Commands
Common flags
-
--recursive -
Apply the command to all matching files in a directory tree. Example:
llmind enrich --recursive ~/documents -
--sign -
Sign the semantic layer with a cryptographic signature during enrichment (or when re-signing).
Verifies that the layer has not been modified since creation.
-
--layer <name> -
Specify a custom XMP namespace for the semantic layer. Default is
http://llmind.org/semantic/. Useful for versioning or multi-layer enrichment.
-
--from-stdin -
Read file content from standard input instead of a file path. Useful for piping or processing
streams.
-
--ocr-provider <name> -
Specify the OCR provider for image and scanned PDF enrichment. Example:
--ocr-provider openai. Defaults to built-in provider.
-
--lineage-source <url> -
Embed a URL indicating where the file came from. Useful for tracking provenance in datasets
and training pipelines.
-
--lineage-license <spdx> -
Embed an SPDX license identifier indicating how the file may be used. Example:
--lineage-license CC-BY-4.0.
Exit codes
Examples
Enrich a single file
llmind enrich report.pdf
Enrich an entire directory recursively
llmind enrich --recursive ~/documents
Enrich and sign
llmind enrich --sign report.pdf
Verify an enriched file has not been tampered with
llmind verify report.pdf
Inspect the semantic layer
llmind inspect report.pdf
Enrich with provenance metadata
llmind enrich --lineage-source https://example.com/dataset.pdf --lineage-license CC-BY-4.0 report.pdf
Next steps