Compare / PentestGPT vs HexStrike AI

Head to head

PentestGPT vs HexStrike AI

PentestGPT: A research-born, open-source AI penetration testing assistant, now with an autonomous mode built on Claude Code or Codex. HexStrike AI: An open-source MCP server that exposes 150+ security tools to an AI client such as Claude Desktop or Cursor. All both are open-source projects that test web applications, so they are often shortlisted together.

We also show where Pentest-Swarm, our open-source autonomous pentester, fits — and say plainly when one of these is the better choice.

Last reviewed 23 November 2026 from the public sources listed below. Spotted something out of date? Tell us.

The short answer

Open-source tool

PentestGPT

Best for: CTFs, learning and guided human-in-the-loop testing.

Open-source tool

HexStrike AI

Best for: Driving 150+ security tools from an MCP client such as Claude Desktop or Cursor.

Open source · ours

Pentest-Swarm

Best for: Open-source, self-hosted autonomous testing of web apps and APIs with verified findings.

Capabilities at a glance

CapabilityPentestGPTHexStrike AIPentest-Swarm
Open source●●●
Self-hosted●●●
Runs on local models●○●
Choose your own model●●●
Autonomous AI agents●◐●
Tests web apps●●●
Tests APIs○●●
Tests networks / AD○◐◐
Public pricing or free●●●
Capabilities ticked7 / 97 / 98.5 / 9

● yes · ◐ partly · ○ no. Pentest-Swarm ticks the most boxes here — but a checklist is not a verdict: depth of testing, maturity and support matter too, and are covered below.

Side by side

AttributePentestGPTHexStrike AIPentest-Swarm
Open sourceYes — MIT.Yes — MIT.Yes — AGPL-3.0 core on GitHub. Some high-impact capabilities are reserved for the managed platform, behind asset-ownership verification.
DeploymentPython CLI and Docker image. Anonymous telemetry is on by default (opt out with --no-telemetry).Python server plus MCP client configuration.Self-hosted CLI (npm, Homebrew, Go, Docker) with a TUI and local dashboard; or fully managed by Armur.
What it testsCTF by default, plus a pentest mode; categories include web, crypto, reversing, forensics and pwn.Network, web, API, cloud, binary, CTF and bug bounty tooling.Web applications and APIs (REST and GraphQL), plus playbooks for external attack surface, internal network ranges and CTF.
How it worksAutonomous mode drives Claude Code or Codex through a staged pipeline; legacy mode is human-in-the-loop over a pentesting task tree.MCP tool server; the external MCP client's model drives the work.Recon, classify, exploit and report agents coordinating through a shared, pheromone-weighted blackboard. The swarm scheduler is alpha; the sequential runner is the stable default.
Model choiceAutonomous mode: Claude Code or Codex only. Legacy mode: many providers including local Ollama.Whatever model your MCP client uses.Your choice: Claude, Gemini, Together AI (GLM, Qwen, DeepSeek), any OpenAI-compatible API, or fully local Ollama / LM Studio.
Finding validationNo validation gate described.Not described.Non-LLM verification oracles — out-of-band callback, differential response, timing (--verify, beta) — plus sandboxed Python proof-of-concept generation.
Scope & safety controlsUsage disclaimer for authorised testing.The project advises running it isolated with oversight because agents can execute arbitrary security tools. Google's threat intelligence team reported Hexstrike abuse in incident response engagements (October 2026).Scope enforced in code at the tool layer and again at the executor, fail-closed; egress guard; target authorisation; full audit trail.
PricingFree.Free.Free to self-host. Managed continuous testing (Offensive AI): $3,600 per year.
Key differences

What actually differs.

What each one tests

Only HexStrike AI covers APIs, networks and cloud. PentestGPT adds nothing the others lack on coverage, so compare depth instead.

Pricing model

PentestGPT and HexStrike AI are free. The table above has the detail each vendor publishes.

Finding validation

PentestGPT: No validation gate described. HexStrike AI: Not described.

About each tool

Open-source tool

PentestGPT

PentestGPT began as academic research (USENIX Security 2024) and became one of the best-known open-source AI pentest tools, with about 16,600 GitHub stars. Its original mode guides a human tester; its v1.0 autonomous mode drives the Claude Code or Codex CLI through staged pipelines, with a CTF focus by default.

Choose PentestGPT if:

  • You are learning or competing in CTFs.
  • You want an interactive assistant that guides a human tester.
Open-source tool

HexStrike AI

HexStrike AI is an MCP server: it exposes more than 150 security tools to whichever AI client you connect, such as Claude Desktop or Cursor. The reasoning happens in that client; HexStrike supplies the tools.

Choose HexStrike AI if:

  • You want to drive a large toolset interactively from your AI assistant.
The open-source option

Where Pentest-Swarm fits.

Pentest-Swarm is an open-source swarm of AI agents — recon, classification, exploitation and reporting — that coordinate on a shared blackboard to find, prove and report vulnerabilities in web apps and APIs. Compared with PentestGPT and HexStrike AI:

  • Findings are confirmed by non-LLM verification oracles — out-of-band callbacks, differential responses and timing — before they reach you.
npm install -g @armurai/pentestswarm
pentestswarm run

Questions

What is the difference between PentestGPT and HexStrike AI?

PentestGPT — A research-born, open-source AI penetration testing assistant, now with an autonomous mode built on Claude Code or Codex. HexStrike AI — An open-source MCP server that exposes 150+ security tools to an AI client such as Claude Desktop or Cursor.

Is PentestGPT or HexStrike AI open source?

PentestGPT and HexStrike AI are open source. Pentest-Swarm is also open source (AGPL-3.0).

How much do PentestGPT and HexStrike AI cost?

PentestGPT: Free. HexStrike AI: Free. For comparison, Pentest-Swarm is free to self-host and Armur's managed version costs $3,600 per year.

Is there an open-source alternative to PentestGPT or HexStrike AI?

Yes. Pentest-Swarm is an open-source autonomous pentester: a swarm of AI agents that finds, verifies and reports vulnerabilities in web apps and APIs. You can self-host it with any model, including local models via Ollama, or have Armur run it for you.

Sources

  1. PentestGPT on GitHub
  2. USENIX Security 2024 paper
  3. HexStrike AI on GitHub
  4. Check Point on HexStrike (Sep 2025)
  5. Google Threat Intelligence & Mandiant: ARTEX and Friends (31 Oct 2026)

Details come from each vendor's public website, documentation, repositories and press coverage as of 23 November 2026. Product names and trademarks belong to their owners. Armur makes Pentest-Swarm, so weigh our view accordingly.

Related comparisons