CLI quickstart

MemDiver exposes a single console script memdiver with 20 subcommands. The three most common entry points:

# One-shot analysis on a library directory
memdiver analyze <library_dirs> --phase pre_abort --protocol-version TLS13

# Dataset sweep
memdiver scan --root /path/to/dataset

# Batch of analysis jobs
memdiver batch --config batch.json

Complete subcommand list

Detection & analysis

analyze, scan, batch, verify

Consensus (incremental Welford)

consensus, consensus-begin, consensus-add, consensus-finalize

Pipeline (Phase-25 orchestration)

search-reduce, brute-force, n-sweep, emit-plugin

Format conversion

export, import, import-dir

Runtime shells

web, ui, app, mcp, experiment

Run memdiver <subcommand> --help for flags, or see the full autogenerated CLI reference.