Reference

CLI commands

Every command and its common options.

This page is the command-line reference. The macOS app does these tasks through its own menus, Settings, and drag-and-drop instead — see the How-to guides.

bristlenose <folder> is shorthand for bristlenose run <folder> — if the first argument is an existing folder, run is assumed.

Commands

Command What it does
bristlenose run <folder> Transcribe, analyse, and open the report in your browser.
bristlenose serve <folder> Open a previously analysed report in the browser. No analysis is run. Also prints the details for connecting an AI agent.
bristlenose transcribe <folder> Transcription only — no analysis, no API key required.
bristlenose analyze <folder> Run the analysis on existing transcripts; skip transcription.
bristlenose status <folder> Show which pipeline stages have completed. Read-only; no network.
bristlenose doctor Check dependencies, API keys, and configuration.
bristlenose configure <provider> Store credentials for a provider: claude, chatgpt, gemini, azure, local, any-llm, or miro. Also makes that provider current for analysis. configure any-llm asks for a model as provider:model, then that provider’s key (other providers).
bristlenose use <provider> Switch the current analysis provider: claude, chatgpt, gemini, azure, local, any-llm, or a model as provider:model (mistral:mistral-large-latest). Keys stay stored.
bristlenose codebooks List the codebook frameworks available to AutoCode.
bristlenose pipeline Show which models each pipeline stage currently uses. Read-only.
bristlenose help [topic] Detailed help. Topics: commands, config, workflows.

Common options

These apply to run (and analyze where relevant) unless noted.

Option Effect
--llm, -l Provider for the analysis pass, for this run only: claude, chatgpt, gemini, azure, local, any-llm. If not given, the provider you last set with configure or use is used — or your sole configured provider.
--output, -o Output directory. Defaults to bristlenose-output/ inside the input folder.
--project, -p Project name shown in the report. (On serve, -p sets the port instead.)
--whisper-model, -w Transcription model: tiny, base, small, medium, large-v3, large-v3-turbo. Default large-v3-turbo. A Hugging Face repo id (org/name) or a local model folder also works; any other name is refused before anything downloads.
--whisper-backend, -b auto, mlx, or faster-whisper. Default auto.
--whisper-language Spoken language of the recordings, as a Whisper code (es, ne, yue — 100 are supported), or auto to detect it per file. Default auto. Set it only when you already know the corpus; detection handles a study whose sessions are in different languages, which a fixed value cannot. Also on transcribe.
--redact-pii Detect and remove personal data from transcripts before analysis. Off by default.
--retain-pii Keep personal data in transcripts (the default). Mutually exclusive with --redact-pii.
--codebook Apply a codebook framework during analysis.
--skip-transcription Skip transcription (transcripts already present).
--clean Start afresh. The previous report is replaced once the fresh analysis has produced a session; if the run produces nothing, it is put back. Exported clips/ and screens/ folders move into the new output, named with the previous analysis’s date. If the previous report holds stars, tags or edits, --clean lists them and asks before discarding them; without a terminal to ask on, it refuses.
--yes, -y With --clean, don’t ask before discarding the previous report’s stars, tags and edits.
--no-serve Finish without starting the report server: print the summary and exit. By default an interactive run serves the report and waits for Ctrl-C; a run with no terminal (cron, a pipe, CI) never starts the server, with or without this option.
--no-fetch Abort rather than download a missing model.
-v Verbose output.
--version Print the version and exit.

--lang is a root option, not a command one — it goes before the command: bristlenose --lang de run interviews. Putting it after the command fails with No such option: --lang.

Options specific to other commands:

Option Command Effect
--port, -p serve Port for the local server. Default 8484.
--palette serve Colour palette for the report: default or edo. See Appearance.
--fetch doctor Pre-download the transcription model (~1.6 GB for the default), and the 40 MB voice model when the voice extra is installed, for offline use.
--self-test doctor Verify a bundled installation’s data files.
--key, -k configure Provide the key non-interactively.
--stage pipeline Show one stage only, by id — for example quote_extraction.
--json pipeline Machine-readable output, for scripting.

Exit codes

Code Meaning
0 Success.
1 Error during the run.
2 A pre-run check failed — a missing dependency, an uncached model with --no-fetch, a rejected API key, or --clean with work to discard and no terminal to ask on (add --yes).