Skip to content

mxr ask

Generated from mxr ask --help. Edit the clap definitions in crates/daemon/src/cli/ and re-run npm run build in site/ to regenerate.

Ask a question against the local archive. Returns a citation- validated answer; the daemon rejects LLM citations that point to messages outside the retrieved set

mxr ask [OPTIONS] <QUESTION>
FlagDescription
<QUESTION>The question to ask
FlagDescription
--account <ACCOUNT>
--from <FROM>
--to <TO>
--after <AFTER>
--before <BEFORE>
--mode <MODE>[default: hybrid] [possible values: hybrid, lexical, semantic]
--limit <LIMIT>[default: 8]
--format <FORMAT>[possible values: table, json, jsonl, csv, ids]
-h, --helpPrint help

Synthesize a citation-backed answer over your local mail. Every claim cites a retrieved message id; uncited LLM output is rejected. See archive intelligence.

Terminal window
mxr ask 'what did Alice and I decide about pricing in Q2?'
mxr ask 'launch timeline' --from alice@example.com --after 2026-01-01 --format json
mxr ask 'open infra questions' --mode lexical # skip semantic when index is rebuilding
mxr ask 'who owns the legal review' --format json | jq -r '.citations[].message_id' | xargs -I{} mxr cat {} --view reader