Prerequisites
- Python 3.11+ — python.org or your system package manager
- uv — Python package manager (Install uv)
- Ghidra — NSA’s reverse engineering framework (Install Ghidra)
- JDK 21+ — Required by Ghidra (Adoptium)
- LLM API key — At least one of:
Install Kong
- From PyPI (recommended)
- From source
kong CLI and all dependencies, including PyGhidra, the Anthropic SDK, the OpenAI SDK, and z3-solver.Environment Variables
Kong uses environment variables for API keys and optional path overrides. Set at least one API key before running analysis.
Set your API key in your shell profile so it persists across sessions:
Verify Installation
Confirm that Kong is installed and accessible: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 theGHIDRA_INSTALL_DIR environment variable:
JAVA_HOME explicitly if needed.

