Purpose
PentAGI (Penetration testing AGI) is a self-hosted multi-agent penetration testing platform open-sourced by security engineering company VXControl. The user provides a target (website, host, intranet asset) and a natural-language task, and the platform autonomously plans and executes the penetration testing process, ultimately outputting a vulnerability report. It is positioned as an "autonomous + assistant-guided" penetration testing platform, rather than a BAS (Breach and Attack Simulation) product with preset attack playbooks.
Main capabilities
- Real tools and sandbox: All operations are executed inside isolated Docker containers; the default penetration image is the Kali full suite (vxcontrol/kali-linux, preinstalled with 200+ CLI security tools), and real tools such as nmap, Metasploit, and sqlmap can be invoked.
- Multi-agent collaboration: The main loop includes roles such as Orchestrator, Researcher, Developer, and Executor; there are also dedicated agents such as Assistant, Pentester, Coder, Installer, Searcher, Enricher, Memorist, Generator, Reporter, Adviser, Reflector, and Planner, divided by tool-call limits into a general tier (default 100 calls) and a restricted tier (default 20 calls).
- Model choice and data ownership: Supports more than 12 cloud LLM providers (OpenAI, Anthropic, Gemini, Bedrock, DeepSeek, GLM, Kimi, Qwen, MiniMax, Mistral, xAI, etc.), and can also connect to local Ollama / vLLM or any OpenAI-compatible endpoint.
- Long-term memory: PostgreSQL + pgvector is used by default to store commands, outputs, conclusions, and vector embeddings; Graphiti + Neo4j knowledge graph is optional to build relationships among hosts, services, ports, and vulnerabilities.
- Observability: Langfuse can optionally trace LLM calls, and Grafana + VictoriaMetrics + Jaeger + Loki provide metrics, tracing, and logs.
- Execution monitoring and task planning (Beta, must be enabled): The Adviser agent automatically intervenes when an abnormal execution pattern is detected; the Planner provides 3–7 executable steps before a dedicated agent starts work; the tool-call limit is always on, and when approaching the limit the Reflector guides wrap-up.
- Report output: Flow reports support four formats: web view, copy to clipboard, download Markdown, and download PDF; JSON export is not currently supported.
- API integration: Provides REST and GraphQL APIs to programmatically create tasks and obtain status.
Usage
- Prerequisites: Docker + Docker Compose (Podman is also supported), minimum 2 vCPU / 4GB memory / 20GB disk, at least one model provider key, and network access to pull images.
- Installation: Download the installer for the corresponding system/architecture from the official website. The installer has a terminal UI and sequentially completes system checks, generates .env, configures model providers, configures search engines, security hardening, and deployment.
- Login: The Web UI address is https://localhost:8443,默认管理员为 admin@pentagi.com / admin, and the password must be changed immediately after the first login.
- Create a Flow: In the sidebar, go to Flows → New Flow, select the mode (Automation for fully automatic or Assistant for interactive), the model provider, and an optional template, then fill in a prompt containing the target system/URL, assessment type, scope limitations and rules of engagement, and expected output.
- Monitor and correct course: The Flow page lets you view agent messages, task progress, every tool call, and terminal output; the Assistant view lets you stop tasks midway, append instructions, or modify the remaining plan.
- Get reports: Export a web view, Markdown, or PDF via the Report menu.
Applicable scenarios
- Run an initial screening of your own web application, focusing on authentication, file handling, and injection-type issues;
- Perform internal network reconnaissance in a client-authorized project, summarizing ports, services, versions, and suspicious configurations;
- Simulate an attack chain in a pre-production environment to identify the first link to be breached;
- Integrate security testing into internal systems, creating tasks and retrieving status programmatically via the API.
Limitations and caveats
- Authorization requirement: Use only against targets you own or have explicit written authorization for; the EULA states this clearly.
- Default password risk: The default administrator password must be changed immediately after the first login to prevent the instance from becoming an attack springboard when exposed to the public internet.
- Operations are your responsibility: Docker and PostgreSQL are mandatory; Neo4j / Langfuse / Grafana are optional but must be maintained by you; deleting a Flow does not clean up the flow-{id}-data/ directory, so you must reclaim space manually; the installer is designed for one instance per machine, so multiple instances require adjusting container names and network names yourself, and DATA_DIR cannot be shared.
- Model limitations: The OpenAI GPT-5 / 5.1 / 5.2 series works unstably on PentAGI and may trigger OpenAI's cybersecurity mechanisms; the default configuration uses the GPT-5.4 / 5.5 / 5.6 series.
- Capability boundaries: It is not a BAS platform and has no prebuilt attack campaigns; it does not support agents writing their own attack scripts; reports do not support JSON export.
- Manual review: Autonomous security testing still requires manual review, and model output may contain false positives.
- Costs: The community edition is free (MIT); the enterprise edition is a paid option (including Agent profiles, plugins and MCP, customer-level reports, and a real-time attack chain view), and model tokens and search APIs may incur costs.
Background
The PentAGI repository was created on 2025-01-06 and has iterated from v0.1.0 to v2.2.0 (2026-10), with about 27,046 GitHub stars and about 362,000 cumulative pulls of the official image. The developer, VXControl, is located in the Meydan Free Zone in Dubai and was founded in 2025.