開始使用
在幾分鐘內執行您的第一次自主滲透測試
PentAGI 為自行託管:整個堆疊在您自己的機器或伺服器上的 Docker 中運行。使用互動式安裝程式,或手動啟動 Docker Compose 堆疊。
- Docker 與 Docker Compose
- 2 vCPU
- 4 GB RAM
- 25 GB 磁碟空間
- 網際網路連線
01
使用互動式安裝程式安裝
終端機安裝程式會檢查您的系統、設定 LLM 提供者與搜尋引擎、強化設定並部署堆疊。下載適合您平台的壓縮檔:
或從 Linux 或 macOS 終端機:
mkdir -p ~/pentagi && cd ~/pentagi
uname -sm | sed -e 's,Linux ,linux/,' -e 's,Darwin ,darwin/,' -e s/x86_64/amd64/ -e s/aarch64/arm64/ | xargs -I PLATFORM curl -fLo installer.zip https://pentagi.com/downloads/PLATFORM/installer-latest.zip
unzip -o installer.zip
sudo ./installer安裝程式會與 Docker API 溝通,因此請使用 sudo 執行,或以屬於 docker 群組的使用者身分執行。macOS 版本已簽署並經過公證:若 macOS 仍封鎖安裝程式,請從本頁面重新下載適合您 CPU 的壓縮檔,而不要覆蓋警告。
02
或使用 Docker Compose 部署
建立工作目錄:
mkdir -p ~/pentagi && cd ~/pentagi下載環境設定檔:
test -f .env || curl -fo .env.new https://raw.githubusercontent.com/vxcontrol/pentagi/main/.env.example
test -f .env.new && openssl rand -hex 32 | xargs -I VALUE sed -E -i.bak 's/^COOKIE_SIGNING_SALT=salt( .*)?$/COOKIE_SIGNING_SALT=VALUE/' .env.new
test -f .env.new && openssl rand -hex 16 | xargs -I VALUE sed -E -i.bak 's/^PENTAGI_POSTGRES_PASSWORD=postgres( .*)?$/PENTAGI_POSTGRES_PASSWORD=VALUE/' .env.new
test -f .env || mv .env.new .env建立堆疊掛載的提供者組態檔:
touch example.custom.provider.yml example.ollama.provider.yml example.bedrock.provider.yml編輯 .env 並設定至少一個 LLM 提供者的金鑰:
.env
OPEN_AI_KEY=your_openai_key
ANTHROPIC_API_KEY=your_anthropic_key
GEMINI_API_KEY=your_gemini_key下載 compose 檔案並啟動堆疊:
curl -O https://raw.githubusercontent.com/vxcontrol/pentagi/main/docker-compose.yml
test -f .env && docker compose up -d選用堆疊 — Langfuse、知識圖譜以及 Grafana/OpenTelemetry 可觀測性堆疊 — 為獨立的 compose 檔案,您可以將其疊加使用。請參閱文件。
03
開啟網頁主控台
前往 https://localhost:8443 並使用 [email protected] / admin 登入,然後變更密碼。描述目標與目標成果 — PentAGI 將規劃工作、在其沙盒中執行工具,並回報發現項目。
請僅針對您擁有或已獲得明確授權測試的系統使用 PentAGI。安裝即表示您同意最終使用者授權合約 (EULA)。