Skip to main content
Back to Docs
Reference

CLI Reference

Complete command-line interface documentation for llmverify.

Installation

# Global install (optional)
npm install -g llmverify

# Or use npx (recommended)
npx llmverify <command>

Quick Reference

CommandDescription
llmverify run★ Master command — run all engines with presets
llmverify wizard★ Interactive setup wizard
llmverify verifyRun multi-engine verification (default)
llmverify presetsList available preset configurations
llmverify benchmarkBenchmark latency across presets
llmverify enginesList all verification engines
llmverify explain <engine>Explain how an engine works
llmverify adaptersList available LLM adapters
llmverify doctorCheck system health
llmverify initInitialize config file
llmverify privacyShow privacy guarantees
llmverify infoShow package information
llmverify tutorialShow usage examples

llmverify run ★

Master command that runs all verification engines with preset configurations. Recommended for most use cases.

llmverify run [content] [options]

Options

OptionDescriptionDefault
-f, --file <path>Read content from file-
-p, --preset <mode>Preset: dev, prod, strict, fast, cidev
--prompt <text>Original prompt for classification-
--input <text>User input to check for injection-
-o, --output <format>Output: text, json, summarytext
--parallelRun engines in paralleltrue
--no-parallelRun engines sequentially-

Presets

PresetDescriptionSpeedThoroughness
devDevelopment — balanced output●●●○○●●●●○
prodProduction — optimized for speed●●●●●●●●○○
strictStrict — maximum scrutiny●●○○○●●●●●
fastFast — minimal checks●●●●●●●○○○
ciCI — optimized for pipelines●●●●○●●●●○

Examples

# Development mode (recommended for starting)
npx llmverify run "Your AI output" --preset dev

# Production mode
npx llmverify run "Your AI output" --preset prod

# From file with strict checking
npx llmverify run --file output.txt --preset strict

# JSON output for CI/CD
npx llmverify run "Your AI output" --preset ci --output json

# With original prompt for classification
npx llmverify run "The capital is Paris" --prompt "What is the capital of France?"

Exit Codes (CI/CD)

CodeMeaningAction
0Low riskAllow
1Moderate riskReview
2High/Critical riskBlock

llmverify wizard ★

Interactive setup wizard that guides you through configuration.

npx llmverify wizard

# Creates .llmverifyrc.json with your preferences
# Asks about: engines, thresholds, output format, presets

llmverify doctor

Check system health and verify installation.

npx llmverify doctor

# Checks:
# ✓ Node.js version
# ✓ Package installation
# ✓ Configuration file
# ✓ Engine availability
# ✓ Disk space for audit logs

llmverify benchmark

Benchmark latency across all presets.

npx llmverify benchmark

# Output:
# Preset   | Avg Latency | Engines
# dev      | 25ms        | 5/5
# prod     | 12ms        | 3/5
# strict   | 45ms        | 5/5
# fast     | 5ms         | 2/5
# ci       | 18ms        | 4/5