# Open-source AI pentest and offensive-security agents

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

These projects use LLMs to run authorised penetration tests, security assessments and vulnerability research. Most are agents that plan work and drive security tools themselves. One is a tool server for an external agent, and one turns Claude Code into a code and binary analysis pipeline. They differ on who owns the plan (a fixed workflow, code that validates model proposals, or the model itself), where commands run (a hardened container, the host shell, or typed tool adapters), and how a finding is proven (an independent oracle or replay, a deterministic evidence check, or the agent's own judgment).

When choosing, find out where scope is enforced. In many of these projects the target list is only prompt text, and the shell can reach any host. Check which approval gates, spend caps and sandbox settings are on by default, whether a crashed run can resume, and whether the report output fits your triage or CI pipeline.


## Projects

- [usestrix/strix](https://llms-technical-reviews.com/p/strix/) — Python pentest agent where a root LLM agent spawns specialist child agents that share one Kali Docker sandbox with a Caido proxy. (★73328, Python)
- [KeygraphHQ/shannon](https://llms-technical-reviews.com/p/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. (★50938, TypeScript)
- [vxcontrol/pentagi](https://llms-technical-reviews.com/p/pentagi/) — Self-hosted Go and React pentest platform where a primary LLM agent plans subtasks and delegates to specialist agents in a Kali container. (★33015, Go)
- [GreyDGL/PentestGPT](https://llms-technical-reviews.com/p/pentestgpt/) — Supervisor/Executor pentest loop over Claude Code or Codex, with SQLite state and verbatim, receipt-checked evidence. (★16240, Python)
- [0x4m4/hexstrike-ai](https://llms-technical-reviews.com/p/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. (★13298, Python)
- [BitterSecurity/Decepticon](https://llms-technical-reviews.com/p/decepticon/) — LangGraph red-team orchestrator delegating to ~20 specialist sub-agents in a Kali sandbox, gated by machine RoE checks and nftables. (★6512, Python)
- [gadievron/raptor](https://llms-technical-reviews.com/p/raptor/) — Claude Code-driven framework that chains Semgrep, CodeQL, fuzzing and binary analysis with LLM validation, exploit and patch generation. (★3968, Python)
- [CyberStrikeus/CyberStrike](https://llms-technical-reviews.com/p/cyberstrike/) — opencode-derived TypeScript agent harness with security sub-agents, a traffic-capture and HTTP replay pipeline, and SQLite-backed findings. (★3350, TypeScript)
- [samugit83/redamon](https://llms-technical-reviews.com/p/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. (★3264, Python)
- [GH05TCREW/pentestagent](https://llms-technical-reviews.com/p/pentestagent/) — Python TUI agent that plans a task, runs shell, browser and MCP tools through LiteLLM, and records findings as structured JSON notes. (★3232, Python)
- [Armur-Ai/Pentest-Swarm-AI](https://llms-technical-reviews.com/p/pentest-swarm-ai/) — Go CLI that runs recon, classifier, exploit and report agents over a pheromone-weighted blackboard, with layered scope and cost guards. (★3110, Go)
- [berylliumsec/nebula](https://llms-technical-reviews.com/p/nebula/) — Local-first security workbench whose chat agents and LangGraph missions run tools through a deterministic scope, DNS and approval policy. (★1134, Python)


## Comparison questions

- [How is the agent loop and planning implemented?](https://llms-technical-reviews.com/offensive-security-agents/q/agent-loop/) — Single agent vs multi-agent or role-based crews; how tasks are planned, decomposed and tracked; turn structure; stop conditions and iteration caps.
- [How are security tools integrated and executed?](https://llms-technical-reviews.com/offensive-security-agents/q/tools/) — Which tools the agent can call and how (shell wrappers, MCP servers, Kali/Docker sandboxes, browsers, custom scripts); how commands are built and how output is parsed and fed back to the model.
- [How are scope, authorization and dangerous actions controlled?](https://llms-technical-reviews.com/offensive-security-agents/q/scope-safety/) — Target allowlists or scope files, authorization checks, human-in-the-loop approval, sandboxing and network isolation, rate limits, and what stops the agent from acting outside the engagement.
- [How are findings validated and reported?](https://llms-technical-reviews.com/offensive-security-agents/q/findings/) — How a suspected vulnerability is confirmed (proof-of-concept re-run, second-agent review, deterministic checks), how false positives and duplicates are handled, and the report format produced.
- [How is engagement state and knowledge kept across a long run?](https://llms-technical-reviews.com/offensive-security-agents/q/state-memory/) — Memory stores, knowledge graphs, databases or files for hosts, services, credentials and findings; summarisation or compaction of long sessions; resuming an engagement.
- [Which models are supported and how are cost and context managed?](https://llms-technical-reviews.com/offensive-security-agents/q/models/) — LLM providers and model configuration, per-role model selection, local model support, token or cost budgets, and context-window management.

Full comparison: https://llms-technical-reviews.com/compare/offensive-security-agents/