Compare / PentestGPT

Open-source tool

Pentest-Swarm vs 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.

Pentest-Swarm is built for real web applications and APIs rather than CTFs, runs its own agents with any model including local ones, and verifies findings independently of the model.

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

At a glance

AttributePentest-SwarmPentestGPT
GitHub stars≈3.3k≈16.6k
Open sourceYes — AGPL-3.0 core on GitHub. Some high-impact capabilities are reserved for the managed platform, behind asset-ownership verification.Yes — MIT.
DeploymentSelf-hosted CLI (npm, Homebrew, Go, Docker) with a TUI and local dashboard; or fully managed by Armur.Python CLI and Docker image. Anonymous telemetry is on by default (opt out with --no-telemetry).
What it testsWeb applications and APIs (REST and GraphQL), plus playbooks for external attack surface, internal network ranges and CTF.CTF by default, plus a pentest mode; categories include web, crypto, reversing, forensics and pwn.
How it worksRecon, classify, exploit and report agents coordinating through a shared, pheromone-weighted blackboard. The swarm scheduler is alpha; the sequential runner is the stable default.Autonomous mode drives Claude Code or Codex through a staged pipeline; legacy mode is human-in-the-loop over a pentesting task tree.
Model choiceYour choice: Claude, Gemini, Together AI (GLM, Qwen, DeepSeek), any OpenAI-compatible API, or fully local Ollama / LM Studio.Autonomous mode: Claude Code or Codex only. Legacy mode: many providers including local Ollama.
Finding validationNon-LLM verification oracles — out-of-band callback, differential response, timing (--verify, beta) — plus sandboxed Python proof-of-concept generation.No validation gate described.
Scope & safety controlsScope enforced in code at the tool layer and again at the executor, fail-closed; egress guard; target authorisation; full audit trail.Usage disclaimer for authorised testing.
PricingFree to self-host. Managed continuous testing (Offensive AI): $3,600 per year.Free.
Key differences

What actually differs.

Real targets vs CTFs

PentestGPT defaults to CTF challenges. Pentest-Swarm's playbooks target production-style web apps and APIs, with bundled labs (crAPI, Juice Shop, VAmPI, DVGA) for practice.

Model freedom in autonomous mode

PentestGPT's autonomous mode needs Claude Code or Codex. Pentest-Swarm's autonomous swarm runs on any supported provider, including fully local models.

Verification

Pentest-Swarm can confirm findings with non-LLM oracles before reporting them.

Choose PentestGPT if
  • You are learning or competing in CTFs.
  • You want an interactive assistant that guides a human tester.

Questions

Is PentestGPT autonomous?

Its v1.0 autonomous mode drives Claude Code or Codex through staged pipelines; its original mode is an interactive assistant with a human in the loop.

Sources

  1. PentestGPT on GitHub
  2. USENIX Security 2024 paper

Competitor details come from their public websites, documentation, repositories and press coverage as of 23 November 2026. Product names and trademarks belong to their owners. Pentest-Swarm details reflect its README and documentation.

More comparisons