Reference

The command line and the library share one code path, so they never diverge.

Commands

Flags shared by inspect, run, and roundtrip: --shape takes one of utterance-list, utterances, transcript-utterances, messages, deepgram-utterances, deepgram-transcript, aws-transcribe-segments, aws-transcribe-transcript, azure-speech, google-stt, whisper, rev-ai, text. run and roundtrip also take --runs-dir (default runs/), --no-trace, and --env-file PATH (a KEY=VALUE file of credentials loaded first, never overriding a variable already set); run takes --tokenized-out (where the tokenized transcript goes when send_tokenized_transcript is on). send, pull, and roundtrip take --key-file and --tacit-url. pull and roundtrip take --max-turns, --timeout, --interval, and --stall. roundtrip takes --planted FILE (the path to a JSON file listing the case’s own identifiers, as plain strings or as {"type": "direct", "category", "value"} entries) and --out (the full verdict, owner-only).

Detectors on the command line

run, roundtrip, and inspect --stage0 or --survey build the stack named by detectors in the config, [presidio, gliner-pii-open] when it is unset (inspect without --config uses the same default). A GLiNER member without the gliner extra stops the command with the install line before any transcript is processed. The first use of gliner-pii-open downloads about 0.7 GB unless TACIT_DEID_GLINER_PII_OPEN_MODEL names a local directory. A run or roundtrip whose stack has no model member prints one warning to stderr that names the recall gap. See Configuration.

Library

Everything below is importable from tacit_deid.

Pipeline

Inputs

Contract

Verification

Tacit transport

Configuration