Skip to content

mxr llm

Generated from mxr llm --help. After editing crates/daemon/src/cli/, update and review the snapshots with scripts/cargo-test -p mxr --test integration cli_help::, then rebuild site/.

Inspect local/cloud LLM provider status

mxr llm [OPTIONS] [COMMAND]
Subcommand Purpose
status Show each AI feature’s model, the providers it goes through and their health
key Manage the Anthropic, OpenAI and OpenRouter API keys used for hosted models
help Print this message or the help of the given subcommand(s)
Flag Description
--format <FORMAT> [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Check which LLM provider and model each feature uses, and manage the Anthropic and OpenRouter keys for Claude models. See LLM features.

Terminal window
mxr llm status
mxr llm status --format json
op read "op://<vault>/<item>/credential" | mxr llm key set anthropic
mxr llm key status
mxr llm key remove anthropic --dry-run

Manage the Anthropic, OpenAI and OpenRouter API keys used for hosted models

mxr llm key [OPTIONS] <COMMAND>
Subcommand Purpose
set Store a key read from stdin (never from an argument, so it stays out of shell history and process listings)
status Show which providers have a key and where it comes from (never the key)
remove Delete a stored key
help Print this message or the help of the given subcommand(s)
Flag Description
--format <FORMAT> [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Delete a stored key

mxr llm key remove [OPTIONS] <PROVIDER>
Flag Description
<PROVIDER> [possible values: anthropic, openai, openrouter]
Flag Description
--dry-run Show what would be removed, without removing it
--format <FORMAT> [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Store a key read from stdin (never from an argument, so it stays out of shell history and process listings)

mxr llm key set [OPTIONS] <PROVIDER>
Flag Description
<PROVIDER> [possible values: anthropic, openai, openrouter]
Flag Description
--dry-run Check the key and show what would be stored, without storing it
--format <FORMAT> [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Show which providers have a key and where it comes from (never the key)

mxr llm key status [OPTIONS]
Flag Description
--format <FORMAT> [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Show each AI feature’s model, the providers it goes through and their health

mxr llm status [OPTIONS]
Flag Description
--format <FORMAT> [possible values: table, json, jsonl, csv, ids]
-h, --help Print help