#3636th of 58 in Security

pentestagent

Terminal pentesting agent with crew mode and MCP client and server

Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Releases and problems feed (RSS)

Stars
3.3k
License
MIT
Last commit
Nov 2026
Language
Python
Stars, last 30 weeks+1,226
26 Apr 2026: 2,115 stars3 May 2026: 2,159 stars10 May 2026: 2,288 stars17 May 2026: 2,330 stars24 May 2026: 2,381 stars31 May 2026: 2,491 stars7 Jun 2026: 2,579 stars14 Jun 2026: 2,614 stars21 Jun 2026: 2,639 stars28 Jun 2026: 2,664 stars5 Jul 2026: 2,701 stars12 Jul 2026: 2,749 stars19 Jul 2026: 2,782 stars26 Jul 2026: 2,816 stars2 Aug 2026: 2,846 stars9 Aug 2026: 2,892 stars16 Aug 2026: 2,938 stars23 Aug 2026: 2,974 stars30 Aug 2026: 3,010 stars6 Sept 2026: 3,036 stars13 Sept 2026: 3,064 stars20 Sept 2026: 3,091 stars27 Sept 2026: 3,119 stars4 Oct 2026: 3,143 stars11 Oct 2026: 3,167 stars18 Oct 2026: 3,197 stars25 Oct 2026: 3,223 stars1 Nov 2026: 3,245 stars8 Nov 2026: 3,277 stars15 Nov 2026: 3,313 stars22 Nov 2026: 3,341 stars

2,115 on 26 Apr 20263,341 on 22 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

PentestAgent is a Python TUI that drives an LLM through terminal, browser, notes and web search tools to run penetration tests against a target. It has assist, agent, crew (an orchestrator that spawns workers) and interact modes, plus black-box playbooks such as thp3_web. It consumes external MCP servers and can also run as an MCP server over stdio or HTTP/SSE.

Who it is for: Pentesters and red teamers who want an LLM agent driving their tooling

Strengths

  • Four modes: assist, agent, crew with spawned workers, and guided interact
  • Works as MCP client and as MCP server (stdio or SSE, default port 8080)
  • Docker images available, including a Kali image with metasploit, sqlmap and hydra
  • Any LiteLLM provider, with custom OpenAI- or Anthropic-compatible API bases

Weaknesses

  • Needs a hosted LLM API key; no local-model setup is documented
  • Autonomous agents run real scanning tools, so a scope mistake has real consequences
  • Only one playbook (thp3_web) is named in the README
  • SSE MCP server binds to 0.0.0.0 by default; no auth is documented

What it needs

  • no GPU
  • Docker + Compose
  • Needs Python 3.10+, LLM API key (OpenAI, Anthropic or other LiteLLM provider), Playwright Chromium, Docker (optional), Tavily API key (optional, web_search)
  • Models: OpenAI, Anthropic, LiteLLM-supported providers, OpenAI-compatible endpoints
  • port 8080

Also in Security

See all 58
Also in Security
RankProjectScore
#34clawsecSecurity skills and signed advisory feed for OpenClaw-family agent runtimes1.1k starsAGPL-3.058 out of 100
#35reconmapAI-assisted pentest scanning, triage and reporting across many engagements Live demo ↗ (opens in a new tab)1k starsMIT58 out of 100
#37adrDiscovery, telemetry and LLM-based threat detection for enterprise coding agents2.2k stars+69 (+3.3%) in 30 daysApache-2.056 out of 100
#38pentestgptAutonomous pentest agent that drives Claude Code or Codex against a target16.6k starsMIT55 out of 100
#39aktoDiscovers, red-teams and guards AI agents, MCP servers and LLM apps1.6k starsMIT55 out of 100