Open-source AI pentest and offensive-security agents: strix vs shannon vs pentagi vs PentestGPT vs hexstrike-ai vs Decepticon vs raptor vs CyberStrike vs redamon vs pentestagent vs Pentest-Swarm-AI vs nebula
LLM agents that run authorized penetration tests, security assessments and vulnerability research — how they plan, drive security tools, stay in scope and prove findings. This page puts every verdict for the category on one page. Each question links to the full per-project answers and their code citations.
At a glance
● answered from code · — not applicable (the project does not do this) · ? insufficient evidence
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 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'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 missions are LangGraph graphs, but the plan comes deterministically from operator-selected tools or stages, and run budgets default to unbounded. 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'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 forces a plan on iteration 1, tracks steps through finish, replans on failure and stops at 30 iterations. 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'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 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'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 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 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.
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 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 wraps 38 tools as Go adapters run as argv subprocesses (no shell), with JSONL output parsed into findings. 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 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 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 runs terminal through the Docker exec API (default timeout 1,200 s) and exposes specialist agents to the planner as tools. Decepticon sends bash to a sandbox daemon that runs tmux sessions, returning up to 15K characters inline. 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 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's terminal defaults to a host subprocess, and crew workers always run locally even with --docker. PentestGPT registers no tools and passes Claude Code's or Codex's own tools with full access.
Outlier. 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.
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'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 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 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 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 enforces only code_path rules; URL and domain rules are prompt text. CyberStrike's http_replay refuses uncaptured hosts, but every agent's base rule is "*": "allow" on a host shell. PentestGPT checks the planned target string, not where its full-access shell connects. PentestAgent's gate reads keys like target and never inspects terminal commands. 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 tells the model its target list is "the starting scope, not a ceiling", with no approval step and an opt-in Docker network. PentAGI has strong container hardening but no allowlist, prompts that declare everything pre-authorised, and ASK_USER off. 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.
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'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 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'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 accepts done only when quoted evidence is an exact slice of captured output, but has no findings model or report yet. Nebula rejects candidate findings without evidence IDs or reproduction steps and needs operator sign-off for a final report. CyberStrike caps unevidenced high-severity claims for execution-dependent classes at medium and labels them [UNCONFIRMED CANDIDATE].
Structured but self-attested. 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 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's findings are the model's reading of tool output, with checks only for findings it forgot to record. PentestAgent validates note fields per category, but status is self-reported and duplicates are caught only by key. PentAGI has no findings model: a reporter agent writes Markdown. 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.
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 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 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 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 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 git-commits each agent's deliverable, and resume reruns only incomplete agents from session.json. RAPTOR keeps a ledger and per-artifact chain-state.json, so an interrupted chain restarts at its first unsettled stage. Decepticon uses the workspace as its shared store (objective DAG, findings, a locked events.jsonl), with Neo4j optional for some roles. CyberStrike puts sessions, captured requests, intel and findings in one SQLite file and prunes old tool output when context fills.
Graph-centred. 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 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 persists only notes.json, put back into prompts truncated to 200 characters; conversation and plan reset on each run. 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.
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 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 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 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 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 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 offers 13 provider types with per-role models and records cost per chain. CyberStrike inherits opencode's models.dev catalogue and lets an agent drop to the provider's small model. RedAmon picks the provider from the model-id prefix and supports Anthropic prompt caching. One model drives the agent. PentestAgent shares one LiteLLM model across crew workers and summarises history past 60% of its token budget. 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'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 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.
The projects
- usestrix/strix: Python pentest agent where a root LLM agent spawns specialist child agents that share one Kali Docker sandbox with a Caido proxy.
- KeygraphHQ/shannon: 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: 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: Supervisor/Executor pentest loop over Claude Code or Codex, with SQLite state and verbatim, receipt-checked evidence.
- 0x4m4/hexstrike-ai: 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: LangGraph red-team orchestrator delegating to ~20 specialist sub-agents in a Kali sandbox, gated by machine RoE checks and nftables.
- gadievron/raptor: Claude Code-driven framework that chains Semgrep, CodeQL, fuzzing and binary analysis with LLM validation, exploit and patch generation.
- CyberStrikeus/CyberStrike: opencode-derived TypeScript agent harness with security sub-agents, a traffic-capture and HTTP replay pipeline, and SQLite-backed findings.
- samugit83/redamon: 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: 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: Go CLI that runs recon, classifier, exploit and report agents over a pheromone-weighted blackboard, with layered scope and cost guards.
- berylliumsec/nebula: Local-first security workbench whose chat agents and LangGraph missions run tools through a deterministic scope, DNS and approval policy.