Compare / PentAGI vs Cairn

Head to head

PentAGI vs Cairn

PentAGI: An open-source, multi-agent AI penetration testing system with a web UI and a sandboxed toolset. Cairn: An open-source agentic pentest framework whose role-less workers coordinate through a shared fact-intent graph. All both are open-source projects that test web applications and networks, so they are often shortlisted together.

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

Open-source tool

PentAGI

Best for: A general-purpose open-source agent team with a web UI and wide model support.

Open-source tool

Cairn

Best for: Experimenting with blackboard-style agent coordination for CTFs and research.

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

CapabilityPentAGICairnPentest-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 ticked7.5 / 95.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

AttributePentAGICairnPentest-Swarm
Open sourceYes — MIT licence, with an acceptable-use EULA. Cloud services and an Enterprise tier are licensed separately.Yes — AGPL-3.0, with a commercial licence available from the author.Yes — AGPL-3.0 core on GitHub. Some high-impact capabilities are reserved for the managed platform, behind asset-ownership verification.
DeploymentDocker Compose with an interactive installer; web UI, GraphQL and REST APIs.Docker Compose, CLI, or a local mode with no sandbox.Self-hosted CLI (npm, Homebrew, Go, Docker) with a TUI and local dashboard; or fully managed by Armur.
What it testsGeneral penetration testing using 20+ tools (nmap, Metasploit, sqlmap and others) in a sandbox.Pentesting, CTF and vulnerability research.Web applications and APIs (REST and GraphQL), plus playbooks for external attack surface, internal network ranges and CTF.
How it worksMulti-agent system with named roles; task planning and execution monitoring are beta and off by default.Blackboard-style 'fact-intent graph' with role-less OODA-loop workers.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 choiceVery broad: OpenAI, Anthropic, Gemini, Bedrock, DeepSeek, GLM, Qwen, Mistral, xAI, OpenRouter and more; local models via Ollama or vLLM.Claude Code, Codex and Pi CLIs as backends; local model support not documented.Your choice: Claude, Gemini, Together AI (GLM, Qwen, DeepSeek), any OpenAI-compatible API, or fully local Ollama / LM Studio.
Finding validationNo dedicated validation or proof gate is documented; reports include exploitation guidance.Not described.Non-LLM verification oracles — out-of-band callback, differential response, timing (--verify, beta) — plus sandboxed Python proof-of-concept generation.
Scope & safety controlsDocker sandbox for tools; acceptable-use EULA.Authorised-use notice; local mode runs without a sandbox.Scope enforced in code at the tool layer and again at the executor, fail-closed; egress guard; target authorisation; full audit trail.
PricingFree open source; Enterprise tier is paid.Free; commercial licence available.Free to self-host. Managed continuous testing (Offensive AI): $3,600 per year.
Key differences

What actually differs.

Choice of AI model

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

Pricing model

PentAGI is free, with paid tiers; Cairn is free. The table above has the detail each vendor publishes.

Finding validation

PentAGI: No dedicated validation or proof gate is documented; reports include exploitation guidance. Cairn: Not described.

About each tool

Open-source tool

PentAGI

PentAGI, from Dubai-based VXControl, is one of the most popular open-source AI pentesting projects, with roughly 35,000 GitHub stars in November 2026. It runs a team of named agents — planner, pentester, coder, searcher, reporter and others — over a Docker sandbox with 20+ tools, behind a web UI.

Choose PentAGI if:

  • You want a broad, general-purpose agent team with a web UI and a large community.
  • You need the widest list of model providers.
Open-source tool

Cairn

Cairn is an AGPL-3.0 framework in which role-less workers run an observe-orient-decide-act loop and coordinate only through a shared board — architecturally close to Pentest-Swarm's blackboard. It drives Claude Code, Codex or Pi CLIs as its backends.

Choose Cairn if:

  • You are researching agent coordination and want a compact framework to experiment with.
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 PentAGI and Cairn:

  • 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 PentAGI and Cairn?

PentAGI — An open-source, multi-agent AI penetration testing system with a web UI and a sandboxed toolset. Cairn — An open-source agentic pentest framework whose role-less workers coordinate through a shared fact-intent graph.

Is PentAGI or Cairn open source?

PentAGI and Cairn are open source. Pentest-Swarm is also open source (AGPL-3.0).

How much do PentAGI and Cairn cost?

PentAGI: Free open source; Enterprise tier is paid. Cairn: Free; commercial licence available. 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 PentAGI or Cairn?

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. PentAGI on GitHub
  2. Google Threat Intelligence & Mandiant: ARTEX and Friends (31 Oct 2026)
  3. Cairn on GitHub
  4. Unit 42 on Cairn (12 Nov 2026)

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