PentestGPT
Best for: CTFs, learning and guided human-in-the-loop testing.
Compare / PentestGPT vs RedAmon
PentestGPT: A research-born, open-source AI penetration testing assistant, now with an autonomous mode built on Claude Code or Codex. RedAmon: A self-hosted, open-source AI pentesting platform that maps the attack surface into a knowledge graph, runs autonomous agents and proposes code fixes. 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.
Best for: CTFs, learning and guided human-in-the-loop testing.
Best for: Self-hosted, multi-user AI pentest platform with remediation.
Best for: Open-source, self-hosted autonomous testing of web apps and APIs with verified findings.
| Capability | PentestGPT | RedAmon | Pentest-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 ticked | 7 / 9 | 7.5 / 9 | 8.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.
| Attribute | PentestGPT | RedAmon | Pentest-Swarm |
|---|---|---|---|
| Open source | Yes — MIT. | Yes, MIT licence. | Yes — AGPL-3.0 core on GitHub. Some high-impact capabilities are reserved for the managed platform, behind asset-ownership verification. |
| Deployment | Python CLI and Docker image. Anonymous telemetry is on by default (opt out with --no-telemetry). | Self-hosted via Docker Compose (around nine containers), locally or on a single server; web UI on localhost. | Self-hosted CLI (npm, Homebrew, Go, Docker) with a TUI and local dashboard; or fully managed by Armur. |
| What it tests | CTF by default, plus a pentest mode; categories include web, crypto, reversing, forensics and pwn. | Web applications and external attack surface, with recon of subdomains, ports and endpoints and CVE exploitability testing. | Web applications and APIs (REST and GraphQL), plus playbooks for external attack surface, internal network ranges and CTF. |
| How it works | Autonomous mode drives Claude Code or Codex through a staged pipeline; legacy mode is human-in-the-loop over a pentesting task tree. | Parallel recon into a Neo4j knowledge graph, then autonomous agents (including parallel specialist teams) for exploitation and post-exploitation, plus AI triage and code fixes. | 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 choice | Autonomous mode: Claude Code or Codex only. Legacy mode: many providers including local Ollama. | OpenAI, Anthropic, OpenRouter, AWS Bedrock or any OpenAI-compatible endpoint such as Ollama or vLLM. | Your choice: Claude, Gemini, Together AI (GLM, Qwen, DeepSeek), any OpenAI-compatible API, or fully local Ollama / LM Studio. |
| Finding validation | No validation gate described. | Agents validate exploitability; the maintainers publish raw agent sessions for their benchmark solves. | Non-LLM verification oracles — out-of-band callback, differential response, timing (--verify, beta) — plus sandboxed Python proof-of-concept generation. |
| Scope & safety controls | Usage disclaimer for authorised testing. | Rules of Engagement enforcement, role-based access control and append-only audit trails. | Scope enforced in code at the tool layer and again at the executor, fail-closed; egress guard; target authorisation; full audit trail. |
| Pricing | Free. | Free and open source. | Free to self-host. Managed continuous testing (Offensive AI): $3,600 per year. |
Only RedAmon covers networks and external attack surface. PentestGPT adds nothing the others lack on coverage, so compare depth instead.
PentestGPT and RedAmon are free. The table above has the detail each vendor publishes.
PentestGPT: No validation gate described. RedAmon: Agents validate exploitability; the maintainers publish raw agent sessions for their benchmark solves.
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:
RedAmon is an MIT-licensed, self-hosted AI pentesting platform with about 3.5k GitHub stars. It runs parallel recon tools into a Neo4j knowledge graph, hands control to autonomous agents that test exploitability, and includes a CodeFix agent that can open GitHub pull requests. It supports multiple users and tenants, with role-based access control, Rules of Engagement enforcement and append-only audit trails, and its maintainers report solving 101 of 104 XBOW benchmark challenges black-box.
Choose RedAmon if:
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 RedAmon:
npm install -g @armurai/pentestswarm
pentestswarm runPentestGPT — A research-born, open-source AI penetration testing assistant, now with an autonomous mode built on Claude Code or Codex. RedAmon — A self-hosted, open-source AI pentesting platform that maps the attack surface into a knowledge graph, runs autonomous agents and proposes code fixes.
PentestGPT and RedAmon are open source. Pentest-Swarm is also open source (AGPL-3.0).
PentestGPT: Free. RedAmon: Free and open source. For comparison, Pentest-Swarm is free to self-host and Armur's managed version costs $3,600 per year.
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.
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.