OpenAI Whisper CLI
$ whisper Official Low RiskOpenAI's whisper CLI runs local automatic speech recognition across 99+ languages using PyTorch and ffmpeg. It outputs .txt, .srt, .vtt, .tsv, or timestamped .json files via --output_format json and --output_dir.
brew install openai-whisper Offline audio/video transcription directly to local .json or .srt files; keeps multi-megabyte media out of LLM context.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Outputs clean --output_format json files and supports --verbose False and --output_dir, though writes to disk files rather than JSON stdout.
- Supports
--output_format json|txt|srt|vtt|tsv,--output_dir, and--verbose False
100% offline local audio processing with zero API keys or cloud uploads after model weight cache download.
- Offline local inference; writes transcript artifacts only to
--output_dir
Requires Python + heavy PyTorch installation plus system ffmpeg binary.
- Requires PyTorch (~2+ GB) and
ffmpegonPATH
High-accuracy multilingual speech-to-text with word/segment timestamps, though CPU runs are slow on larger models.
- 99+ language ASR with timestamped JSON and SRT/VTT outputs
Official openai/whisper repository under MIT license (largely stable/mature).
- Official
openai/whisperrepository
Clear README and --help option reference.
- README and
--helpat github.com/openai/whisper
Security, Auth & Guardrails
Fully offline local inference after downloading model weights into ~/.cache/whisper/; no API keys required.
Free, MIT open-source local Python CLI; requires PyTorch and ffmpeg.
# Whisper CLI Agent Rules - Always specify `--model` (e.g. `tiny` or `small` for fast CPU runs), `--output_format json`, `--output_dir`, and `--verbose False`. - Ensure `ffmpeg` is installed on `PATH`, and check disk space before pulling `large` (~3 GB) weights.
Agent-Ready Command Recipes
Safe Read-Only Queries
whisper --help
Lists supported --model sizes (tiny, base, small, medium, large, turbo) and output formats.
Controlled Writes & Previews
whisper audio.mp3 --model small --output_format json --output_dir ./transcripts --verbose False
Writes ./transcripts/audio.json with segment timestamps while keeping stdout quiet (--verbose False).
Strengths for Agents
- + 100% private, offline speech-to-text with timestamped
--output_format jsonand SRT/VTT. - + Supports
--verbose Falseand--output_dirfor clean scripted runs.
Caveats & Pitfalls
- ! Heavy PyTorch dependency and requires
ffmpeginstalled onPATH. - ! CPU transcription on
medium/largemodels can take minutes per file.