Skip to main content

Web

hackagent web launches the local dashboard for browsing runs, results, and attack traces.

  • Local mode (default, no API key): starts a local NiceGUI server reading directly from your SQLite database.
  • Remote mode (API key configured): opens the HackAgent cloud dashboard instead.

Usage

hackagent web # http://127.0.0.1:7860 (default)
hackagent web --port 8080 # custom port
hackagent web --host 0.0.0.0 # expose on all interfaces
hackagent web --no-browser # skip opening a browser tab

Options

OptionDefaultDescription
--host127.0.0.1Host to bind the dashboard server
--port7860Port to run the dashboard server on
--db-path~/.local/share/hackagent/hackagent.dbSQLite database path
--no-browserFalseDo not auto-open a browser tab on start

See Also

  • Results — Command-line access to the same underlying data
  • Config — Switch between local and remote mode