PentestGPT

A free, open-source AI agent that helps run penetration tests and CTF challenges.

Verified by our editorsAI Security Tools
Visit pentestgpt.com ↗︎Last verified: 2026-11-29
FreePrice
MITLicense
USENIX 2024Paper
Local modelsSupports
The short version

What is PentestGPT?

PentestGPT is an open-source AI agent for penetration testing. It points a large language model at a target and works through the steps of a security test, using tools like Nmap along the way.

It started as a research project published at USENIX Security 2024. It's free on GitHub and can run with local models through Ollama. Only use it on systems you're allowed to test.

What it actually does

Key features

Autonomous agent

Plans and runs steps of a pentest or CTF challenge.

Live walkthrough

Shows each step as the agent works.

Many categories

Web, crypto, reversing, forensics, privilege escalation and binary exploitation.

Local models

Run it with Ollama so data stays on your machine.

Free and open source

MIT license. The original project has no paid version.

What it costs

PentestGPT pricing (2026)

PentestGPT is free and open source.

PlanPriceWhat you get
Open sourceFreeEverything, under the MIT license.

Checked 29 Nov 2026.

Honest fit

Who it's for, who it isn't

Pick PentestGPT if

  • You do CTFs or authorized pentests and want an AI co-pilot
  • You want to try AI pentesting for free

Look elsewhere if

  • You need a supported commercial product with guarantees
  • You don't have permission to test the target
What people ask

PentestGPT FAQ

What is PentestGPT?

An open-source AI agent for penetration testing and CTFs.

Is PentestGPT free?

Yes. The original project is free and open source. Be careful of paid sites using the name.

Can it run without a cloud model?

Yes. It supports local models through Ollama.
Keep comparing

PentestGPT alternatives