Skip to main content

Prerequisites

Install Kong

Environment Variables

Kong uses environment variables for API keys and optional path overrides. Set at least one API key before running analysis.
VariableRequiredDefaultDescription
ANTHROPIC_API_KEYAt least one API keyAnthropic API key for Claude models
OPENAI_API_KEYAt least one API keyOpenAI API key for GPT-4o models
GHIDRA_INSTALL_DIRNoAuto-detectedPath to Ghidra installation directory
JAVA_HOMENoAuto-detectedPath to JDK installation
KONG_CONFIG_DIRNo~/.config/kongOverride config directory location
Set your API key in your shell profile so it persists across sessions:
# ~/.zshrc or ~/.bashrc
export ANTHROPIC_API_KEY="sk-ant-..."
# and/or
export OPENAI_API_KEY="sk-..."
You only need one API key. Kong’s smart routing will use whichever provider has a valid key configured. If you have both, the setup wizard lets you pick a default.

Verify Installation

Confirm that Kong is installed and accessible:
kong --version
You should see output like:
kong, version 0.2.2

Ghidra Auto-Detection

Kong automatically searches for Ghidra in common installation locations. If auto-detection fails (for example, if you installed Ghidra to a non-standard path), set the GHIDRA_INSTALL_DIR environment variable:
export GHIDRA_INSTALL_DIR="/opt/ghidra_11.3.1_PUBLIC"
The same applies to the JDK — Kong will find it automatically in most cases, but you can set JAVA_HOME explicitly if needed.

Next Steps

Once installed, run the setup wizard to configure your LLM providers, or jump straight to the Quickstart to analyze your first binary.
Last modified on March 20, 2026