Compare / Villager vs PentestAgent

Head to head

Villager vs PentestAgent

Villager: An AI-native pentesting framework from Chinese group Cyberspike that pairs Kali Linux tooling with DeepSeek models, published on PyPI. PentestAgent: An open-source AI agent framework for black-box security testing, with assist, agent, multi-agent crew and interactive modes plus attack playbooks. This comparison mixes defensive tools with a framework that investigators have tracked in real attacks — read it as a guide to what attackers can now automate, and what you can run against your own systems first.

We also show where Pentest-Swarm, our open-source autonomous pentester, fits — and say plainly when one of these is the better choice.

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

The short answer

Attacker framework

Villager

Best for: Not recommended: dual-use tool with reported links to malware.

Open-source tool

PentestAgent

Best for: Terminal-first testers who want a flexible AI agent.

Open source · ours

Pentest-Swarm

Best for: Open-source, self-hosted autonomous testing of web apps and APIs with verified findings.

Capabilities at a glance

CapabilityVillagerPentestAgentPentest-Swarm
Open source○●●
Self-hosted●●●
Runs on local models○●●
Choose your own model○●●
Autonomous AI agents●●●
Tests web apps●●●
Tests APIs○○●
Tests networks / AD◐◐◐
Public pricing or free●●●
Capabilities ticked4.5 / 97.5 / 98.5 / 9

● yes · ◐ partly · ○ no. Pentest-Swarm ticks the most boxes here — but a checklist is not a verdict: depth of testing, maturity and support matter too, and are covered below.

Side by side

AttributeVillagerPentestAgentPentest-Swarm
Open sourceDistributed as Python packages on PyPI (villager and kali-driver); a licence is not publicly documented.Yes, MIT licence.Yes — AGPL-3.0 core on GitHub. Some high-impact capabilities are reserved for the managed platform, behind asset-ownership verification.
DeploymentPython package that spins up containerised Kali Linux environments, which Straiker reports self-destruct after 24 hours.Self-hosted Python package with a TUI, or Docker images (base and Kali).Self-hosted CLI (npm, Homebrew, Go, Docker) with a TUI and local dashboard; or fully managed by Armur.
What it testsGeneral penetration testing using Kali Linux tooling; specific target coverage is not publicly documented.Black-box targets such as hosts, IP ranges and web applications, using tools like nmap, sqlmap and msfconsole.Web applications and APIs (REST and GraphQL), plus playbooks for external attack surface, internal network ranges and CTF.
How it worksAn MCP client service that orchestrates tasks, with a retrieval layer of 4,201 system prompts and Pydantic AI for structured outputs, according to Straiker.Single agent or a multi-agent crew in which an orchestrator spawns scoped workers; prebuilt attack playbooks.Recon, classify, exploit and report agents coordinating through a shared, pheromone-weighted blackboard. The swarm scheduler is alpha; the sequential runner is the stable default.
Model choiceA DeepSeek-based model accessed through OpenAI-compatible endpoints, according to Straiker.Any LiteLLM-supported provider, including OpenAI, Anthropic and OpenAI-compatible endpoints.Your choice: Claude, Gemini, Together AI (GLM, Qwen, DeepSeek), any OpenAI-compatible API, or fully local Ollama / LM Studio.
Finding validationNot publicly documented.Not publicly documented as a separate verification step.Non-LLM verification oracles — out-of-band callback, differential response, timing (--verify, beta) — plus sandboxed Python proof-of-concept generation.
Scope & safety controlsNot publicly documented. Straiker reported that Cyberspike's earlier red-team suite integrated AsyncRAT and Mimikatz plugins.Child agents can be given in-scope targets or CIDRs; Docker mode isolates tools.Scope enforced in code at the tool layer and again at the executor, fail-closed; egress guard; target authorisation; full audit trail.
PricingNot publicly documented.Free and open source.Free to self-host. Managed continuous testing (Offensive AI): $3,600 per year.
Key differences

What actually differs.

Open source or proprietary

PentestAgent is open source; Villager is not. Villager: Distributed as Python packages on PyPI (villager and kali-driver); a licence is not publicly documented. PentestAgent: Yes, MIT licence.

Choice of AI model

PentestAgent lets you choose the model, and PentestAgent can run on local models; with Villager the vendor chooses. Model choice decides where your data goes and what each test costs.

Pricing model

Villager and PentestAgent are free. The table above has the detail each vendor publishes.

Finding validation

Villager: Not publicly documented. PentestAgent: Not publicly documented as a separate verification step.

About each tool

Attacker framework

Villager

Villager is an AI-native penetration testing framework released on PyPI on 23 July 2025 by Cyberspike, a Chinese group. Straiker's researchers reported that it acts as an MCP client orchestrating on-demand Kali Linux containers and a DeepSeek-based model, and that it reached 10,030 downloads in about two months. They compared it to Cobalt Strike — a commercial tool widely abused by attackers — and reported that Cyberspike's earlier product bundled the AsyncRAT remote-access trojan.

Open-source tool

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.

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.
The open-source option

Where Pentest-Swarm fits.

Pentest-Swarm is an open-source swarm of AI agents — recon, classification, exploitation and reporting — that coordinate on a shared blackboard to find, prove and report vulnerabilities in web apps and APIs. Compared with Villager and PentestAgent:

  • Run the same class of autonomous attack against your own apps first — with scope enforced in code, fail-closed, and a full audit trail.
  • Findings are confirmed by non-LLM verification oracles — out-of-band callbacks, differential responses and timing — before they reach you.
npm install -g @armurai/pentestswarm
pentestswarm run

Questions

What is the difference between Villager and PentestAgent?

Villager — An AI-native pentesting framework from Chinese group Cyberspike that pairs Kali Linux tooling with DeepSeek models, published on PyPI. PentestAgent — An open-source AI agent framework for black-box security testing, with assist, agent, multi-agent crew and interactive modes plus attack playbooks.

Is Villager or PentestAgent open source?

PentestAgent is open source. Villager: Distributed as Python packages on PyPI (villager and kali-driver); a licence is not publicly documented. Pentest-Swarm is also open source (AGPL-3.0).

How much do Villager and PentestAgent cost?

Villager: Not publicly documented. PentestAgent: Free and open source. For comparison, Pentest-Swarm is free to self-host and Armur's managed version costs $3,600 per year.

Is there an open-source alternative to Villager or PentestAgent?

Yes. Pentest-Swarm is an open-source autonomous pentester: a swarm of AI agents that finds, verifies and reports vulnerabilities in web apps and APIs. You can self-host it with any model, including local models via Ollama, or have Armur run it for you.

Sources

  1. Straiker: Cyberspike Villager (Sep 2025)
  2. The Hacker News: Villager
  3. The Register: Villager downloads
  4. PentestAgent on GitHub
  5. PentestAgent releases

Details come from each vendor's public website, documentation, repositories and press coverage as of 23 November 2026. Product names and trademarks belong to their owners. Armur makes Pentest-Swarm, so weigh our view accordingly.

Related comparisons