Skip to main content

Reference

VariableRequiredDefaultDescription
ANTHROPIC_API_KEYAt least one API keyAPI key for Anthropic (Claude) models. Get one at console.anthropic.com.
OPENAI_API_KEYAt least one API keyAPI key for OpenAI (GPT-4o) models. Get one at platform.openai.com.
GHIDRA_INSTALL_DIRNoAuto-detectedPath to your Ghidra installation directory. Only needed if auto-detection fails.
JAVA_HOMENoAuto-detectedPath to your JDK installation. Only needed if auto-detection fails.
KONG_CONFIG_DIRNo~/.config/kongOverride the directory where Kong stores its configuration database.

API keys

You need at least one API key — either Anthropic or OpenAI. If you’re using a custom endpoint, no API key is required (or you can set one during kong setup if your endpoint requires authentication).
# Set your API key(s)
export ANTHROPIC_API_KEY="sk-ant-api03-..."
export OPENAI_API_KEY="sk-..."
Add these to your shell profile (~/.zshrc, ~/.bashrc) so they persist across sessions.

Ghidra and JDK auto-detection

Kong searches common installation paths for Ghidra and JDK. You only need to set GHIDRA_INSTALL_DIR and JAVA_HOME if:
  • You installed Ghidra in a non-standard location
  • Auto-detection picks the wrong version
  • You’re running in a container or CI environment
export GHIDRA_INSTALL_DIR="/opt/ghidra_11.3"
export JAVA_HOME="/usr/lib/jvm/java-21-openjdk"

Config directory

Kong stores its configuration (enabled providers, default provider, custom endpoint settings) in an SQLite database at ~/.config/kong/config.db. Override the location:
export KONG_CONFIG_DIR="/path/to/custom/config"

Further reading

Last modified on March 20, 2026