Compare / Agent Zero

Open-source tool

Pentest-Swarm vs Agent Zero: purpose-built vs general agent

Agent Zero is an open-source (MIT) AI agent framework with about 20k GitHub stars. It runs in a Docker sandbox with its own Linux workspace and can research, write and execute code, and use a terminal and browser, with cloud or local models. In November 2026, Google's Threat Intelligence Group listed it among tools seen in threat actor activity, describing it as an open-source agent framework that features autonomous code execution and dynamic tool generation.

Agent Zero is not a pentesting product. Its relevance here is that general-purpose agents can be pointed at offensive tasks. Pentest-Swarm is purpose-built for authorised web and API testing: scope is enforced in code and fails closed, there is an egress guard and audit trail, and findings are verified and scored with CVSS. If you want an agent that does many things, Agent Zero is the broader tool; if you want a pentester with guardrails, it is not a like-for-like substitute.

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

At a glance

AttributePentest-SwarmAgent Zero
GitHub stars≈3.3k≈20.0k
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 in Docker via a desktop launcher, an install script or a docker run command; web UI on localhost.
What it testsWeb applications and APIs (REST and GraphQL), plus playbooks for external attack surface, internal network ranges and CTF.General-purpose; no built-in pentest targets or playbooks.
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.A general autonomous agent with multi-agent cooperation, projects, skills, plugins and MCP support.
Model choiceYour choice: Claude, Gemini, Together AI (GLM, Qwen, DeepSeek), any OpenAI-compatible API, or fully local Ollama / LM Studio.Cloud providers, ChatGPT/Codex accounts or local model servers.
Finding validationNon-LLM verification oracles — out-of-band callback, differential response, timing (--verify, beta) — plus sandboxed Python proof-of-concept generation.Not applicable; there is no security-finding verification.
Scope & safety controlsScope enforced in code at the tool layer and again at the executor, fail-closed; egress guard; target authorisation; full audit trail.Runs in a sandboxed container; no pentest scope enforcement is documented.
PricingFree to self-host. Managed continuous testing (Offensive AI): $3,600 per year.Free and open source.
Key differences

What actually differs.

General agent vs pentester

Agent Zero is a general-purpose assistant. Pentest-Swarm has recon, classification, exploitation and reporting agents and playbooks built specifically for security testing.

Guardrails

Pentest-Swarm enforces scope in code, fails closed, guards egress and checks target authorisation. Agent Zero has a sandbox but no built-in concept of an authorised scope.

Evidence and reporting

Pentest-Swarm produces findings with evidence, severity, CVSS and SARIF output. Agent Zero leaves reporting to whatever you build.

Reported offensive use

Google's threat intelligence team has named Agent Zero in threat actor activity, which matters to defenders writing detections. Pentest-Swarm is designed for authorised use.

Choose Agent Zero if
  • You want a general-purpose agent for research, coding and automation beyond security.
  • You want to build your own workflows from skills and plugins.
Choose Pentest-Swarm if
  • You want a purpose-built pentester for web apps and APIs with playbooks.
  • You need fail-closed scope enforcement and an audit trail for a professional engagement.
  • You want findings verified by non-LLM oracles and scored with CVSS.

Questions

Is Agent Zero a hacking tool?

No. Agent Zero is a general-purpose open-source agent framework. Google's Threat Intelligence Group reported seeing it among tools used in threat actor activity, as part of a wider trend of attackers adopting agent frameworks.

Can Agent Zero do penetration testing?

It can run commands and code, so it can be directed at security tasks, but it has no pentest playbooks, scope enforcement or finding verification. Pentest-Swarm is built for that job.

Sources

  1. Agent Zero on GitHub
  2. Google GTIG: Agentic threat activity crosses a significant threshold (Nov 2026)

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