LLMind CLI

Published 2026-04-22

LLMind's primary surface is a Python command-line tool. llmind enrich writes a signed semantic layer into any file's XMP packet. llmind verify checks the signature. llmind inspect shows what's embedded. The CLI is how dataset pipelines, build systems, and day-to-day developer workflows use LLMind.

What it does

Enrich any JPEG, PNG, PDF, MP3, WAV, or M4A file with structured semantic metadata — extracted text, description, entities, structural summary, transcription — signed with HMAC-SHA256, stored in the file's XMP packet. Idempotent: running twice on the same file with the same model yields the same output. Portable: the enriched file carries its semantic layer wherever it goes.

Install

Install with pipx from PyPI — sandboxed in its own virtualenv, no system Python pollution:

pipx install 'llmind-cli[all]'
llmind --version

See /docs/install/ for additional installation options and platform-specific guidance.

First commands

Enrich a file:

llmind enrich document.pdf

Processes document.pdf, extracts its structure and content, and writes a signed semantic layer into the file's XMP packet.

Inspect what was written:

llmind inspect document.pdf

Pretty-prints the semantic layer that's embedded in the file. Useful for verification and debugging.

Verify signature integrity:

llmind verify document.pdf

Checks that the signature on the semantic layer is valid and hasn't been tampered with.

Batch-enrich a directory:

llmind enrich --recursive ~/docs/

Recursively enriches all eligible files in a directory. Perfect for enriching an entire dataset or corpus once, then using it everywhere.

Python SDK usage

The CLI wraps a Python module you can import directly for custom workflows:

from llmind import enrich, verify

enrich("document.pdf", sign=True)
result = verify("document.pdf")

Useful when you're building a custom pipeline and want to call LLMind from Python rather than shell out to the CLI. Lets you integrate enrichment into your build system, dataset curation scripts, or data processing workflows.

Related

Star on GitHub · pipx install 'llmind-cli[all]'