# Open-source AI pentest and offensive-security agents: comparison

> LLM agents that run authorized penetration tests, security assessments and vulnerability research — how they plan, drive security tools, stay in scope and prove findings.

Canonical page: https://llms-technical-reviews.com/compare/offensive-security-agents/

## How is the agent loop and planning implemented?

Shannon and PentestGPT keep the most control in code: Shannon's workflow fixes every phase, and PentestGPT validates each task the model proposes. For open-ended autonomous runs, Strix and Decepticon have the most complete multi-agent runtimes.

**Code-owned pipelines.** [Shannon](/p/shannon/) runs a Temporal workflow: recon, five vulnerability-class lanes, exploitation and report, with up to 50 retries per activity and resume from `session.json`. [RAPTOR](/p/raptor/)'s `/agentic` is a fixed phase pipeline that fans findings out to parallel LLM tasks or read-only `claude -p` children. A separate engagement supervisor stops after 8 passes. [Nebula](/p/nebula/) missions are LangGraph graphs, but the plan comes deterministically from operator-selected tools or stages, and run budgets default to unbounded. [Pentest Swarm AI](/p/pentest-swarm-ai/) has no planner: four agents react to blackboard findings whose "pheromone" weight decays, and a campaign ends after 20 minutes, 60 s idle or the cost cap.

**Model proposes, code checks.** [PentestGPT](/p/pentestgpt/)'s Supervisor may add one task per decision, and `compile_plan` rejects out-of-scope targets, cycles and an `EXPLOIT` without a completed `TEST`. The default cap is 20 decisions. [PentestAgent](/p/pentestagent/) forces a plan on iteration 1, tracks steps through `finish`, replans on failure and stops at 30 iterations. [CyberStrike](/p/cyberstrike/) inherits opencode's loop and injects a 13-phase methodology state. Only the proxy-pipeline sub-agents have step caps; the primary agent's limit is `Infinity` and its stuck detector ships disabled.

**Model-planned hierarchies.** [Strix](/p/strix/)'s root agent spawns children with `create_agent`. Planning is prompt skills, bounded by 500 turns and a shared dollar budget that stops sub-agents at 90%. [PentAGI](/p/pentagi/) has a generator agent write up to 15 subtasks and a refiner rewrite them after each one, with chains capped at 100 or 20 iterations. [Decepticon](/p/decepticon/)'s orchestrator holds no offensive tools; it keeps an objective DAG (OPPLAN) and delegates to about 18 specialists, with wrap-up messages at 80% of the step budget. [RedAmon](/p/redamon/) is one 14-node LangGraph ReAct graph (100 iterations) with optional parallel fireteams and tree search, which is off by default.

**Not applicable.** [HexStrike AI](/p/hexstrike-ai/) has no loop. Its "agents" are static Python tables, and the attached MCP client does the planning.

Pick: Shannon or PentestGPT when runs must be reproducible and auditable.
Pick: Strix or Decepticon for long unattended runs with delegation and budgets.
Pick: Pentest Swarm AI for an event-driven pipeline where code chooses the tools.

Per-project answers: https://llms-technical-reviews.com/offensive-security-agents/q/agent-loop/index.md

## How are security tools integrated and executed?

Nebula, Pentest Swarm AI and RAPTOR have the most structured tool layers, where code knows each tool's target and parses its output. The rest hand the model a shell and differ in where it runs.

**Typed tools and adapters.** [Nebula](/p/nebula/) defines every capability as a `ToolSpec` with a risk class, target argument, schema and parser, and routes all calls through one `ToolBroker`. Its `run_command` runs in a Kali container with no network by default. [Pentest Swarm AI](/p/pentest-swarm-ai/) wraps 38 tools as Go adapters run as argv subprocesses (no shell), with JSONL output parsed into findings. [RAPTOR](/p/raptor/) runs Semgrep, CodeQL, fuzzers and binary tools as list-argument subprocesses with a sanitised environment inside namespace, Landlock and seccomp layers, and grades their output by evidence tier. [RedAmon](/p/redamon/) reaches its scanners, Metasploit and Playwright through five MCP servers in a Kali container. Arguments are raw strings with per-tool deadlines, and output returns verbatim to the model.

**Model-written shell in a container.** [Strix](/p/strix/) gives agents an SDK shell inside a Kali container whose HTTP traffic all passes through a Caido proxy, plus 43 base tools. Output over 8K tokens is spilled to a file. [PentAGI](/p/pentagi/) runs `terminal` through the Docker exec API (default timeout 1,200 s) and exposes specialist agents to the planner as tools. [Decepticon](/p/decepticon/) sends `bash` to a sandbox daemon that runs tmux sessions, returning up to 15K characters inline. [Shannon](/p/shannon/) uses the pi harness's `bash` and file tools, a Playwright skill for browser agents, and typed submit tools for each phase.

**Host shell or provider tools.** [CyberStrike](/p/cyberstrike/) parses commands with tree-sitter for permission rules, then spawns them in the host shell with the full environment. Its `http_replay` engine is the structured exception. [PentestAgent](/p/pentestagent/)'s `terminal` defaults to a host subprocess, and crew workers always run locally even with `--docker`. [PentestGPT](/p/pentestgpt/) registers no tools and passes Claude Code's or Codex's own tools with full access.

**Outlier.** [HexStrike AI](/p/hexstrike-ai/) is purely a tool server: about 150 MCP tools post to Flask routes that build command strings by concatenation and run them with `shell=True` on the host.

Pick: Nebula when every call must pass a typed policy check.
Pick: Pentest Swarm AI or RAPTOR for deterministic tool runs with parsed output.
Pick: Strix or Decepticon for a free-form shell kept inside a container.

Per-project answers: https://llms-technical-reviews.com/offensive-security-agents/q/tools/index.md

## How are scope, authorization and dangerous actions controlled?

Nebula (in Docker mode) and Decepticon enforce scope in code at both the tool call and the network layer, with Pentest Swarm AI close behind. The rest enforce one path or only the prompt. Only RedAmon and Nebula require human approval by default.

**Call plus network enforcement.** [Nebula](/p/nebula/)'s deterministic `PolicyEngine` checks every brokered call against CIDRs, domains, URLs and ports and requires approval for exploitation-class tools. Containers start with no egress, but new Projects default to Host mode: once acknowledged, `run_command` runs on the host with no scope check, and a `bypass_permissions` flag allows everything. [Decepticon](/p/decepticon/) refuses gated tools when the RoE file is missing and compiles the RoE into an nftables allowlist. Its approval gate and spend cap are off until configured, and the firewall shares a container with the agent, which runs as root with `NET_ADMIN`. [Pentest Swarm AI](/p/pentest-swarm-ai/) checks scope in every tool adapter, scans exploit commands and guards Go-native dials. Exclusions and port limits never reach those checks, `enforce_strict` is read by no code, and its MCP tool and keyless-by-default API skip the operator authorization gate.

**One enforced path.** [RedAmon](/p/redamon/) asks for confirmation before dangerous tools by default, but nothing checks a command's arguments against scope, the hard domain blocklist skips IP mode, and its Kali container runs with `seccomp:unconfined`. [Shannon](/p/shannon/) enforces only `code_path` rules; URL and domain rules are prompt text. [CyberStrike](/p/cyberstrike/)'s `http_replay` refuses uncaptured hosts, but every agent's base rule is `"*": "allow"` on a host shell. [PentestGPT](/p/pentestgpt/) checks the planned target string, not where its full-access shell connects. [PentestAgent](/p/pentestagent/)'s gate reads keys like `target` and never inspects `terminal` commands. [RAPTOR](/p/raptor/) scopes its `/web` scanner to one origin; its default sandbox profile degrades silently when the host lacks namespaces, and only `strict` fails closed.

**Prompt only or nothing.** [Strix](/p/strix/) tells the model its target list is "the starting scope, not a ceiling", with no approval step and an opt-in Docker network. [PentAGI](/p/pentagi/) has strong container hardening but no allowlist, prompts that declare everything pre-authorised, and `ASK_USER` off. [HexStrike AI](/p/hexstrike-ai/) binds an unauthenticated command API to all interfaces.

Pick: Nebula in container mode for policy-checked calls and deny-by-default egress.
Pick: Decepticon for RoE-driven red teaming; enable its approval gate and budget.
Pick: Strix, PentAGI or CyberStrike only behind your own firewall or isolated network.

Per-project answers: https://llms-technical-reviews.com/offensive-security-agents/q/scope-safety/index.md

## How are findings validated and reported?

Pentest Swarm AI and RAPTOR do the most to confirm findings with signals that do not come from a model. Strix and Shannon produce the most complete structured reports, but their confirmation is the agent's own claim.

**Mechanical proof.** [Pentest Swarm AI](/p/pentest-swarm-ai/)'s `--verify` oracles re-test a finding against the live target with timing, response-difference or out-of-band signals, and an oracle verdict outranks any model claim. Its `--verify-poc` runs LLM-written scripts locally without a network guard, and its cross-tool corroboration module is never called. [RAPTOR](/p/raptor/) grades evidence from runtime observation and replayed crashes down to `HEURISTIC` (LLM inference), and runs Z3 reachability, a binary oracle and sandboxed compile checks before trusting a verdict.

**Deterministic gates on model evidence.** [Decepticon](/p/decepticon/)'s verifier passes a finding only when a PoC matches and a baseline control does not, though the model writes both commands and every pattern. CVSS is computed, not guessed. [PentestGPT](/p/pentestgpt/) accepts `done` only when quoted evidence is an exact slice of captured output, but has no findings model or report yet. [Nebula](/p/nebula/) rejects candidate findings without evidence IDs or reproduction steps and needs operator sign-off for a final report. [CyberStrike](/p/cyberstrike/) caps unevidenced high-severity claims for execution-dependent classes at medium and labels them `[UNCONFIRMED CANDIDATE]`.

**Structured but self-attested.** [Strix](/p/strix/) requires counterevidence, confidence and a full CVSS vector, checks cited proxy request IDs, and dedupes with an LLM judge that fails open. Output includes SARIF and PDF. [Shannon](/p/shannon/) reports only typed `exploited` or `blocked` verdicts in exploit mode, rendered deterministically to Markdown, PDF and SARIF. A model groups duplicates, and nothing replays the exploit.

**Weak or absent.** [RedAmon](/p/redamon/)'s findings are the model's reading of tool output, with checks only for findings it forgot to record. [PentestAgent](/p/pentestagent/) validates note fields per category, but status is self-reported and duplicates are caught only by key. [PentAGI](/p/pentagi/) has no findings model: a reporter agent writes Markdown. [HexStrike AI](/p/hexstrike-ai/) counts words such as `HIGH` in stdout, and its correlator returns placeholder CVEs.

Pick: Pentest Swarm AI with `--verify`, or RAPTOR for code and binaries, when proof must not depend on a model.
Pick: Strix or Shannon for CI-ready SARIF reports.
Pick: Decepticon for PoC-plus-control checks, or Nebula for operator-signed reports.

Per-project answers: https://llms-technical-reviews.com/offensive-security-agents/q/findings/index.md

## How is engagement state and knowledge kept across a long run?

Nebula and Strix recover most completely from a crash mid-engagement. PentAGI keeps the fullest audit trail plus searchable memory, and RedAmon has the richest attack graph.

**Database or checkpoint resume.** [Nebula](/p/nebula/) stores every run, tool call, approval and finding in SQL and checkpoints missions to SQLite before each step. A routing journal replays the model's last decision after a crash, so a tool call is not repeated. [Strix](/p/strix/) keeps each agent's conversation in an SDK SQLite session and snapshots the agent tree to `agents.json`. A resume respawns children, and LLM compaction summarises old turns near the context limit. [PentAGI](/p/pentagi/) logs flows, message chains, tool calls and terminal output to PostgreSQL and reloads flows on restart. Tool results are anonymised, chunked and embedded in pgvector, with an optional Graphiti knowledge graph. [PentestGPT](/p/pentestgpt/) keeps runs, tasks, attempts and observations in SQLite and gives each role a bounded projection. Provider sessions always start fresh, and `--resume` requires an identical configuration hash.

**Files and checkpoints on disk.** [Shannon](/p/shannon/) git-commits each agent's deliverable, and resume reruns only incomplete agents from `session.json`. [RAPTOR](/p/raptor/) keeps a ledger and per-artifact `chain-state.json`, so an interrupted chain restarts at its first unsettled stage. [Decepticon](/p/decepticon/) uses the workspace as its shared store (objective DAG, findings, a locked `events.jsonl`), with Neo4j optional for some roles. [CyberStrike](/p/cyberstrike/) puts sessions, captured requests, intel and findings in one SQLite file and prunes old tool output when context fills.

**Graph-centred.** [RedAmon](/p/redamon/) checkpoints agent state to Postgres by default, falling back to memory without a database. It writes each attack chain to Neo4j, and a new session loads prior chains for the project.

**Thin or volatile.** [Pentest Swarm AI](/p/pentest-swarm-ai/) always uses an in-memory blackboard; its Postgres board has no caller, so a campaign cannot resume. Cross-campaign memory is a JSON file capped at 5,000 patterns. [PentestAgent](/p/pentestagent/) persists only `notes.json`, put back into prompts truncated to 200 characters; conversation and plan reset on each run. [HexStrike AI](/p/hexstrike-ai/) keeps everything in process memory.

Pick: Nebula or Strix for long runs that must survive restarts.
Pick: PentAGI when you want every command and output in a queryable database.
Pick: RedAmon when the attack-surface graph is the main working surface.

Per-project answers: https://llms-technical-reviews.com/offensive-security-agents/q/state-memory/index.md

## Which models are supported and how are cost and context managed?

Decepticon and RAPTOR have the most deliberate per-role model routing and cost controls, and Strix has the most practical shared spend budget. Most others support many providers but have no spend cap.

**Per-role models with spend caps.** [Decepticon](/p/decepticon/) sends every call through a LiteLLM proxy and maps each role to a HIGH, MID or LOW tier, with `eco`, `max` and `test` profiles. Its USD cap reads tagged spend from the proxy but is off until set. [RAPTOR](/p/raptor/) uses native Anthropic, OpenAI, Gemini and Mistral SDKs plus Ollama, assigns models to roles in `models.json`, and caps cost, calls, time and tokens, with $1 per Claude Code child. [Pentest Swarm AI](/p/pentest-swarm-ai/) supports ten providers, gives cheaper models to recon and report on some gateways, and stops a campaign at `--budget`. Each agent call is a fresh bounded prompt, and refusals can be retried on a fallback provider. [Nebula](/p/nebula/) lists 25 provider kinds plus Codex and Grok harnesses, and compacts at 75% of a 200K working ceiling. Its run budgets default to unbounded.

**Shared model, limited budgets.** [Strix](/p/strix/) takes any LiteLLM model plus an optional separate dedupe model, and enforces one dollar budget across the agent tree, set to stop or pause. [PentAGI](/p/pentagi/) offers 13 provider types with per-role models and records cost per chain. [CyberStrike](/p/cyberstrike/) inherits opencode's models.dev catalogue and lets an agent drop to the provider's small model. [RedAmon](/p/redamon/) picks the provider from the model-id prefix and supports Anthropic prompt caching. One model drives the agent. [PentestAgent](/p/pentestagent/) shares one LiteLLM model across crew workers and summarises history past 60% of its token budget. [Shannon](/p/shannon/) runs one model for every agent (default `anthropic:claude-sonnet-4-6`) with no budget. Apart from Strix, nothing in this group stops on spend.

**Restricted or not applicable.** [PentestGPT](/p/pentestgpt/)'s autonomous loop runs only on Claude Code or Codex, with one model for both roles; its legacy client has the wide registry. [HexStrike AI](/p/hexstrike-ai/) makes no LLM calls, so the MCP client chooses the model.

Pick: Decepticon or RAPTOR to mix strong and cheap models by role under a cap.
Pick: Strix for a single hard spend limit on unattended runs.
Pick: Nebula, PentAGI or RedAmon for local and self-hosted model endpoints.

Per-project answers: https://llms-technical-reviews.com/offensive-security-agents/q/models/index.md

## Projects

- [usestrix/strix](https://llms-technical-reviews.com/p/strix/index.md) — Python pentest agent where a root LLM agent spawns specialist child agents that share one Kali Docker sandbox with a Caido proxy.
- [KeygraphHQ/shannon](https://llms-technical-reviews.com/p/shannon/index.md) — TypeScript web-app pentester on Temporal; fixed recon, analysis, exploit and report phases run by LLM agents using source code and a live URL.
- [vxcontrol/pentagi](https://llms-technical-reviews.com/p/pentagi/index.md) — Self-hosted Go and React pentest platform where a primary LLM agent plans subtasks and delegates to specialist agents in a Kali container.
- [GreyDGL/PentestGPT](https://llms-technical-reviews.com/p/pentestgpt/index.md) — Supervisor/Executor pentest loop over Claude Code or Codex, with SQLite state and verbatim, receipt-checked evidence.
- [0x4m4/hexstrike-ai](https://llms-technical-reviews.com/p/hexstrike-ai/index.md) — Flask server that turns ~150 security CLIs into shell-command endpoints, plus a FastMCP bridge so an external AI client can call them.
- [BitterSecurity/Decepticon](https://llms-technical-reviews.com/p/decepticon/index.md) — LangGraph red-team orchestrator delegating to ~20 specialist sub-agents in a Kali sandbox, gated by machine RoE checks and nftables.
- [gadievron/raptor](https://llms-technical-reviews.com/p/raptor/index.md) — Claude Code-driven framework that chains Semgrep, CodeQL, fuzzing and binary analysis with LLM validation, exploit and patch generation.
- [CyberStrikeus/CyberStrike](https://llms-technical-reviews.com/p/cyberstrike/index.md) — opencode-derived TypeScript agent harness with security sub-agents, a traffic-capture and HTTP replay pipeline, and SQLite-backed findings.
- [samugit83/redamon](https://llms-technical-reviews.com/p/redamon/index.md) — Self-hosted pentest platform: recon into a Neo4j graph, a LangGraph agent driving Kali tools over MCP with approval gates, and auto-fix PRs.
- [GH05TCREW/pentestagent](https://llms-technical-reviews.com/p/pentestagent/index.md) — Python TUI agent that plans a task, runs shell, browser and MCP tools through LiteLLM, and records findings as structured JSON notes.
- [Armur-Ai/Pentest-Swarm-AI](https://llms-technical-reviews.com/p/pentest-swarm-ai/index.md) — Go CLI that runs recon, classifier, exploit and report agents over a pheromone-weighted blackboard, with layered scope and cost guards.
- [berylliumsec/nebula](https://llms-technical-reviews.com/p/nebula/index.md) — Local-first security workbench whose chat agents and LangGraph missions run tools through a deterministic scope, DNS and approval policy.