Skip to content

CLI Flags

Run caboose --help to see all available options. Flags override values set in config files.

caboose [OPTIONS]
FlagShortValueDefaultDescription
--prompt-p<PROMPT>(interactive)Run a single prompt non-interactively and exit.
--model-m<MODEL>Config valueModel to use, e.g. claude-sonnet-4, gpt-4.1.
--provider<PROVIDER>Config valueProvider to use: anthropic, openai, gemini, ollama.
--session-s<SESSION>(new session)Resume a previous session by its ID.
--cwd-d<CWD>Current directorySet the working directory for the session.
--mode<MODE>defaultPermission mode. See below.
--debugfalseEnable debug logging to stderr.
--help-hPrint help and exit.
--version-VPrint version and exit.

The --mode flag accepts one of:

ModeBehavior
planAgent reasons and responds but never executes tools.
defaultAgent prompts for approval before each tool call.
auto-editFile edits are auto-approved; destructive tools still prompt.
chugAll tools auto-approved. Use with caution.
SubcommandDescription
caboose daemon startStart the background daemon for persistent circuits.
caboose daemon stopStop the running daemon.
caboose daemon statusShow whether the daemon is running and its PID.
caboose updateSelf-update to the latest release, detecting your install method.

Non-interactive single prompt — run a task and exit:

Terminal window
caboose -p "Add error handling to src/main.rs"

Specify a model and provider on the fly:

Terminal window
caboose -m gpt-4.1 --provider openai

Resume a previous session to continue where you left off:

Terminal window
caboose -s abc123

Run in a different directory without changing your shell’s cwd:

Terminal window
caboose -d /path/to/project

Full auto mode for scripting or batch operations:

Terminal window
caboose -p "Run the test suite and fix any failures" --mode chug