Robots Atlas>ROBOTS ATLAS
PE
Active

PentestGPT

PentestGPT is an open-source (MIT-licensed) AI agent that assists with penetration testing and Capture-the-Flag challenges, powered by large language models. It was created by Gelei Deng; the method was described in a paper presented at the 33rd USENIX Security Symposium in 2024.

Version 1.0 introduced an agentic mode: a multi-stage pipeline (recon → exploit → walkthrough for CTF; asset discovery → vulnerability identification → report for pentests) in which the agent autonomously drives the Claude Code or Codex tools, with session save and resume.

The classic interactive mode from the USENIX 2024 paper is preserved and modernized as pentestgpt-legacy: three cooperating LLM sessions — reasoning, generation and parsing — maintaining a Pentesting Task Tree (PTT) under human control. This mode talks natively to many model providers: OpenAI, Anthropic, Google Gemini, DeepSeek, xAI, Qwen, Moonshot and local models via Ollama.

The tool itself is free; costs come from using your own API keys for the chosen models (or running locally via Ollama). It collects anonymous usage telemetry (Langfuse) with an opt-out. The research was supported by Quantstamp and NTU Singapore. Intended solely for authorized security testing.

CLIFree
Released 15 Jun 2023Updated 22 Oct 2026Global

Overview

System type
Input
Text
Output
TextCodeReports

Access & Pricing

PUBLIC
Access channels
CLI
Access via command-line interface.
Availability scope
Global

Open-source (MIT) project available globally via GitHub and PyPI. Requires your own API keys for the chosen LLM providers, or local execution via Ollama.

Subscription model
Free
Pricing
Updated 22 Oct 2026Official pricing

The tool is free and open-source (MIT). It has no pricing of its own — usage cost comes from the API fees of the chosen LLM providers (OpenAI, Anthropic, Gemini, etc.) or is zero when run locally via Ollama.

Capabilities

5 capabilities
Reasoning & Planning
Agency & Action

Integrations

Connected apps
CC
Claude Code
Anthropic's agentic CLI tool that PentestGPT can drive as an execution backend.
Active
CC
Codex CLI
OpenAI's Codex agentic CLI tool that PentestGPT can drive as an execution backend.
Active
Product features
System tools

Ecosystem

Sources

3 sources