Compare / PentestAgent

Open-source tool

Pentest-Swarm vs PentestAgent

PentestAgent, from GH05TCREW, is an MIT-licensed Python agent framework for black-box security testing, bug bounty and red-team work, with about 3.3k GitHub stars. It runs in a terminal UI with four modes — single-shot assist, autonomous agent, a multi-agent crew where an orchestrator spawns workers, and interactive guidance — and can run its tools inside Docker images, including a Kali image with Metasploit and sqlmap.

PentestAgent and Pentest-Swarm are both open-source AI pentesters with playbooks and model choice. PentestAgent is a general black-box toolkit that drives standard Linux tools from the terminal; Pentest-Swarm is focused on web apps and APIs, enforces scope in code and verifies findings with non-LLM oracles before reporting.

Last reviewed 23 November 2026 from public sources listed below. Spotted something out of date? Tell us.

At a glance

AttributePentest-SwarmPentestAgent
GitHub stars≈3.3k≈3.3k
Open sourceYes — AGPL-3.0 core on GitHub. Some high-impact capabilities are reserved for the managed platform, behind asset-ownership verification.Yes, MIT licence.
DeploymentSelf-hosted CLI (npm, Homebrew, Go, Docker) with a TUI and local dashboard; or fully managed by Armur.Self-hosted Python package with a TUI, or Docker images (base and Kali).
What it testsWeb applications and APIs (REST and GraphQL), plus playbooks for external attack surface, internal network ranges and CTF.Black-box targets such as hosts, IP ranges and web applications, using tools like nmap, sqlmap and msfconsole.
How it worksRecon, classify, exploit and report agents coordinating through a shared, pheromone-weighted blackboard. The swarm scheduler is alpha; the sequential runner is the stable default.Single agent or a multi-agent crew in which an orchestrator spawns scoped workers; prebuilt attack playbooks.
Model choiceYour choice: Claude, Gemini, Together AI (GLM, Qwen, DeepSeek), any OpenAI-compatible API, or fully local Ollama / LM Studio.Any LiteLLM-supported provider, including OpenAI, Anthropic and OpenAI-compatible endpoints.
Finding validationNon-LLM verification oracles — out-of-band callback, differential response, timing (--verify, beta) — plus sandboxed Python proof-of-concept generation.Not publicly documented as a separate verification step.
Scope & safety controlsScope enforced in code at the tool layer and again at the executor, fail-closed; egress guard; target authorisation; full audit trail.Child agents can be given in-scope targets or CIDRs; Docker mode isolates tools.
PricingFree to self-host. Managed continuous testing (Offensive AI): $3,600 per year.Free and open source.
Key differences

What actually differs.

Focus

PentestAgent is a general black-box agent. Pentest-Swarm concentrates on web apps and APIs with playbooks for REST, GraphQL and the OWASP Top 10.

Scope enforcement

Pentest-Swarm enforces scope in code and fails closed, with an egress guard. PentestAgent passes scope to its child agents as a parameter.

Verification

Pentest-Swarm checks findings with out-of-band, differential and timing oracles and sandboxed proofs of concept.

Managed option

Armur offers Pentest-Swarm as a managed service; PentestAgent is community software.

Choose PentestAgent if
  • You want a flexible terminal agent for general black-box work, bug bounty or CTFs.
  • You want an interactive mode that guides you through a test.
  • You prefer Python and an MIT licence.
Choose Pentest-Swarm if
  • You are testing web apps and APIs and want verified, CVSS-scored findings.
  • You want scope enforced in code and a full audit trail.
  • You want bundled labs and a web dashboard.

Questions

Is PentestAgent free?

Yes. PentestAgent is MIT licensed; you pay only for the model provider you use.

What is the difference between PentestAgent and Pentest-Swarm?

Both are open-source AI pentesters. PentestAgent is a general black-box agent framework; Pentest-Swarm focuses on web apps and APIs with code-level scope enforcement and non-LLM verification oracles.

Sources

  1. PentestAgent on GitHub
  2. PentestAgent releases

Competitor details come from their public websites, documentation, repositories and press coverage as of 23 November 2026. Product names and trademarks belong to their owners. Pentest-Swarm details reflect its README and documentation.

More comparisons