Basic usage
./kong_output/.

TUI vs headless mode
By default, Kong runs with a terminal UI that shows real-time progress — current phase, function count, confidence distribution, and running cost. For CI pipelines, Docker containers, or environments without a terminal, use--headless:
Choosing a provider and model
Kong uses your default provider (set duringkong setup). Override at runtime:
Output control
Directory
Results go to./kong_output by default. Override with --output:
Formats
Kong supports three output formats. The CLI default issource + json. Specify explicitly with -f:
See Output Formats for details on each.
Advanced flags
The
--max-* flags are mainly useful for custom endpoints where local models may have smaller context windows.
Common workflows
What to expect
Analysis time and cost scale with function count and binary complexity:
See the XZ Backdoor case study for a real-world example: 396 functions analyzed in 15 minutes for $6.63.
Further reading
- Pipeline Overview — understand what each phase does
- CLI Reference:
kong analyze— full flag reference - Output Formats — details on each output format

