Skip to main content

Installation

Get HackAgent up and running in seconds.

Quick Install

Requirements

  • Python 3.10+
  • pip or uv package manager

Production Installation

uv add hackagent

Verify Installation

After installation, verify everything works:

hackagent --version

Initial Setup

After installation, run the interactive setup wizard:

hackagent init

This will guide you through:

  1. 🔑 Enter your API key — Get yours at app.hackagent.dev
  2. 📊 Set output format — Choose between table, json, or csv
  3. 🔊 Set verbosity level — Control logging detail (0=ERROR to 3=DEBUG)
  4. 💾 Save configuration — Stored securely for future use

Development Installation

For development or to access the latest features:

# Clone the repository
git clone https://github.com/AISecurityLab/hackagent.git
cd hackagent

# Install with uv
uv sync --group dev

Next Steps