Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Command-Line Options

🎛️ Complete reference for all CLI flags and options.

ReasonKit’s CLI is designed for power users and automation. Every option has both a short and long form.

Global Options

These options work with all commands:

ShortLongDefaultDescription
-v--verbose0 (warn)Increase logging verbosity (-v info, -vv debug)
-c--config~/.config/reasonkit/config.tomlConfig file path
-d--data-dir./dataData directory path
-h--help-Show help message
-V--version-Show version information

think Command Options

Execution Control

ShortLongDescription
-p--protocol <NAME>Specific protocol to execute (gigathink, laserlogic, etc.)
--profile <NAME>Execution profile (quick, balanced, deep, paranoid)
-b--budget <BUDGET>Adaptive compute budget (e.g., “30s”, “5m”, “$0.50”)
--mockUse mock LLM (no API calls)

LLM Configuration

ShortLongDefaultDescription
--provider <NAME>anthropicLLM provider to use
-m--model <NAME>(Provider default)Specific model ID
-t--temperature <FLOAT>0.7Generation temperature (0.0-2.0)
--max-tokens <INT>2000Maximum tokens to generate

Output & Tracing

ShortLongDefaultDescription
-f--format <FORMAT>textOutput format (text, json)
--save-tracefalseSave execution trace to disk
--trace-dir <DIR>Directory to save traces
--listList available protocols and profiles

web Command Options

ShortLongDefaultDescription
-d--depth <DEPTH>standardDepth of research (quick, standard, deep, exhaustive)
--web <BOOL>trueInclude web search results
--kb <BOOL>trueInclude knowledge base results
--provider <NAME>anthropicLLM provider
-f--format <FORMAT>textOutput format (text, json, markdown)
-o--output <FILE>Save research report to file

verify Command Options

ShortLongDefaultDescription
-s--sources <INT>3Minimum number of independent sources required
--web <BOOL>trueInclude web search for verification
--kb <BOOL>trueInclude knowledge base sources
--anchorfalseAnchor verified content to ProofLedger
-f--format <FORMAT>textOutput format (text, json, markdown)
-o--output <FILE>Save verification report to file

Environment Variables

Most options can be set via environment variables. See Environment Variables for details.

Option Precedence

Options are applied in this order (later overrides earlier):

  1. Built-in defaults
  2. Config file settings (REASONKIT_CONFIG)
  3. Environment variables
  4. Command-line flags
# Config says balanced, but CLI overrides to deep
rk think "question" --profile deep