# PentestGPT

> Autonomous AI penetration testing and CTF agent

Source: https://talira.ai/catalog/pentestgpt-c797qzcv
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [security / application security / penetration testing](https://talira.ai/categories/security/application-security/penetration-testing)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Gelei Deng](https://talira.ai/orgs/gelei-deng.md)

PentestGPT is an AI penetration testing agent, from research published at USENIX Security 2024. Its autonomous pipeline drives [Claude Code](https://talira.ai/catalog/claude-code-jqv5000a.md) or [Codex](https://talira.ai/catalog/codex-8m7d8cdk.md) to run tools and reason through staged phases: recon, exploitation and a walkthrough for capture-the-flag challenges, or asset discovery, vulnerability identification and a report for penetration tests, across web, crypto, reversing, forensics, binary exploitation and privilege escalation, with live progress and saved sessions. An interactive legacy mode works with OpenAI, Anthropic, Gemini, DeepSeek, xAI, Qwen, Moonshot and local Ollama models. It runs locally with uv or in Docker.

## Links

- GitHub: https://github.com/GreyDGL/PentestGPT

## Problems it solves

- AI agent that solves CTF challenges
- automate recon and vulnerability finding in an authorized pentest
- LLM assistant for penetration testing

## Features

- autonomous staged pentest and CTF pipeline
- drives Claude Code or Codex
- web, crypto, reversing, forensics, pwn and privilege escalation
- live walkthrough and saved sessions
- interactive mode with many LLM providers and Ollama
- Docker setup

## Trust

Overall: 0.44 out of 1.
Signals: maintenance 0.27, adoption 0.84, momentum 0.78, community 0.56, backing 0.30, extensibility 0.00.

- latest release v1.0.0 11 months ago
- 16.7k GitHub stars
- 24 contributors
- backed by Gelei Deng

Warnings:

- last commit 4 months ago

## Alternatives

- [reverse-skill](https://talira.ai/catalog/reverse-skill-7h7p9581.md): Skill router pack for reverse engineering, CTFs and authorised penetration testing with coding agents
- [PentAGI](https://talira.ai/catalog/pentagi-4jecfscr.md): Self-hosted multi-agent system for autonomous penetration testing
- [ARTEX](https://talira.ai/catalog/artex-tfajca1f.md): Self-hosted, model-agnostic AI autonomous penetration testing platform with evidence-backed findings
- [Strix (AI pentesting)](https://talira.ai/catalog/strix-ai-pentesting-ccsz5b3v.md): Open source AI penetration testing agents that find and fix your app's vulnerabilities
- [HexStrike AI](https://talira.ai/catalog/hexstrike-ai-n146het4.md): MCP server that lets AI agents run 150+ security tools for authorized penetration testing and bug bounty work
- [Shannon](https://talira.ai/catalog/shannon-0s9chk67.md): Autonomous AI pentester that proves web app vulnerabilities with real exploits

## Sources

[^1]: https://github.com/GreyDGL/PentestGPT/blob/main/README.md (checked 30 Nov 2026)
[^2]: https://github.com/GreyDGL/PentestGPT/blob/main/LICENSE.md (checked 30 Nov 2026)
