pentagi
БесплатноБез исполняемых скриптовНе проверенPentAGI is a self-hosted, autonomous AI penetration-testing system: LLM agents plan and run security tools such as nmap and sqlmap inside sandboxed Docker…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
PentAGI
Overview
PentAGI (v2.1.0, May 2026) is an open-source platform in which a team of AI agents (orchestrator, researcher, developer, infrastructure and others) carries out a penetration test as a "flow": it plans tasks, runs 20+ professional tools (nmap, metasploit, sqlmap and more) in isolated Docker containers, searches the web for context, stores results in PostgreSQL with pgvector, and produces a report. Optional add-ons are a Graphiti/Neo4j knowledge graph (beta, off by default), Langfuse for LLM tracing, and a Grafana/OpenTelemetry observability stack. Everything is self-hosted; only the LLM and search API calls leave your network (unless you use Ollama or another local model).
Use it only against systems you own or are explicitly authorized in writing to test. It is a pentest assistant, not a breach-and-attack-simulation product with predefined campaigns.
Instructions
Step 1: Deploy with Docker Compose
Requirements: Docker and Compose (Podman is supported), 2 vCPU, 4 GB RAM, 20 GB disk. The repository also offers an interactive installer, but the manual route below needs no extra binary.
mkdir pentagi && cd pentagi
curl -o .env https://raw.githubusercontent.com/vxcontrol/pentagi/master/.env.example
curl -o docker-compose.yml https://raw.githubusercontent.com/vxcontrol/pentagi/master/docker-compose.yml
# docker-compose.yml mounts these three files; create them or Docker makes directories in their place
curl -o example.custom.provider.yml https://raw.githubusercontent.com/vxcontrol/pentagi/master/examples/configs/custom-openai.provider.yml
curl -o example.ollama.provider.yml https://raw.githubusercontent.com/vxcontrol/pentagi/master/examples/configs/ollama-llama318b.provider.yml
curl -o example.bedrock.provider.yml https://raw.githubusercontent.com/vxcontrol/pentagi/master/examples/configs/bedrock.provider.yml
Review .env.example and the compose file before starting them: the stack mounts the Docker socket for its worker containers.
Edit .env. At least one LLM provider is required; the variable names are provider-specific (there is no LLM_PROVIDER or LLM_MODEL):
# LLM providers: set one or more
OPEN_AI_KEY=your-openai-key
# ANTHROPIC_API_KEY=... GEMINI_API_KEY=... DEEPSEEK_API_KEY=...
# OLLAMA_SERVER_URL=http://localhost:11434
# OLLAMA_SERVER_MODEL=llama3.1:8b-instruct-q8_0
# Web search (all optional)
DUCKDUCKGO_ENABLED=true
TAVILY_API_KEY=your-tavily-key
# SEARXNG_URL=http://searxng.internal:8080
# Security: change before real use
COOKIE_SIGNING_SALT=replace-with-a-long-random-string
PUBLIC_URL=https://localhost:8443
PENTAGI_POSTGRES_PASSWORD=replace-with-a-strong-password
NEO4J_PASSWORD=replace-with-a-strong-password
docker compose up -d
The web UI is https://localhost:8443 (self-signed certificate unless you supply SERVER_SSL_CRT/SERVER_SSL_KEY). There is no public sign-up: the first login is [email protected] / admin; change that password immediately. To reach it from other hosts set PENTAGI_LISTEN_IP=0.0.0.0, PUBLIC_URL and CORS_ORIGINS, and firewall port 8443.
Step 2: Add monitoring stacks (optional)
The overlays reuse networks created by the main compose file, so start that first:
curl -O https://raw.githubusercontent.com/vxcontrol/pentagi/master/docker-compose-langfuse.yml
curl -O https://raw.githubusercontent.com/vxcontrol/pentagi/master/docker-compose-observability.yml
docker compose -f docker-compose.yml -f docker-compose-langfuse.yml up -d # Langfuse at http://localhost:4000
docker compose -f docker-compose.yml -f docker-compose-observability.yml up -d # Grafana at http://localhost:3000 (set OTEL_HOST=otelcol:8148)
Langfuse needs its own LANGFUSE_* secrets and initial admin values in .env. Graphiti is docker-compose-graphiti.yml plus GRAPHITI_ENABLED=true and GRAPHITI_URL; it is beta, and complements (does not replace) the pgvector memory.
Step 3: Run a flow in the web UI
Create a new flow, choose Automation (fully autonomous) or Assistant (interactive; the "Use Agents" toggle lets it delegate to sub-agents), pick the LLM provider, and describe the target, scope and rules of engagement in plain language. Templates can prefill the box. While it runs, follow tasks, subtasks, terminal output and tool activity on the flow page, steer it through the Assistant view, and upload files in the Files tab (mirrored at /work/uploads/ in the agent container). When enough results exist, the Report menu opens a web view, copies the report, or downloads Markdown or PDF. JSON report export is not a supported format.
Step 4: Automate through the API
Create a token under Settings, API Tokens (name, expiry from 1 minute to 3 years; shown once). Use it as a Bearer token. The OpenAPI UI is at /api/v1/swagger/index.html, the GraphQL playground at /api/v1/graphql/playground.
export PENTAGI_URL=https://pentagi.lab.internal:8443
curl -k -X POS
Установить pentagi в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл pentagi?
PentAGI is a self-hosted, autonomous AI penetration-testing system: LLM agents plan and run security tools such as nmap and sqlmap inside sandboxed Docker containers and write a vulnerability report. Use when a user asks to automate security testing, set up autonomous pentesting, deploy an AI-driven vulnerability scanner, build a self-hosted security testing platform, or drive pentests through the PentAGI API. Only for systems the user is authorized to test.
Как установить скилл pentagi?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pentagi запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic