跳至主要內容
PentAGI
開始使用

您的第一個 flow

建立您的第一個 flow,使用 templates 重複利用提示詞,在 agents 運作時追蹤並引導它們,最後下載 report。

Flow 是指 PentAGI 的一次執行:包含一個目標、從您的訊息建立的 tasks,以及 agents 在過程中執行的所有操作。

建立 flow

新 flow 表單

在側邊欄中開啟 Flows,並點擊 New Flow。

選擇模式:

  • Automation — PentAGI 會全程自動執行以達成目標。
  • Assistant — 由您逐步引導的互動式對話。啟用 Use Agents 可讓 assistant 將 subtasks 委派給專門的 agents。

為此 flow 選擇 LLM provider。

以自然語言描述目標與目的。

良好的初始提示詞應包含目標名稱、評估類型、範圍限制以及您預期的結果:

Assess https://target.example for common web application vulnerabilities.
Focus on authentication, file handling, and injection issues. Stay within the
provided target only and summarize confirmed findings with reproduction steps.

請僅測試您擁有或已獲明確授權評估的系統。

使用 templates 重複利用提示詞

新 flow 表單提供 template 選擇器,可從 Templates 中已儲存的 template 預填訊息。Templates 為純自然語言,無需特殊語法。

追蹤工作進度

Flow 啟動後,PentAGI 會立即開啟 flow 頁面:

  • Automation 顯示 agents 的訊息與進度;Assistant 則是具備相同 tools 的對話介面,而 Dashboard 會依模型、agent type 與功能細分使用情況。
  • Tasks 列出計畫——包含 tasks 與 subtasks 及其狀態。
  • Terminal 即時串流來自 sandbox 的每個指令及其輸出。
  • Agents、Searches 與 Vector Store 顯示委派、網路研究與 memory 檢索。
  • Files 存放上傳檔案、附加資源及從容器提取的檔案,而 Screenshots 則保存 agents 所開啟頁面的截圖。

執行中的 flow:左側為 agent 訊息,右側為 tasks 與 subtasks 計畫

Terminal 分頁中來自 sandbox 的每個指令及其輸出

引導執行中的 flow

開啟同一 flow 的 Assistant 檢視畫面,即可檢查其狀態、停止目前 task、傳送後續指示或調整剩餘的規劃 subtasks——無需重新啟動 flow。

取得 report

使用 flow 頁面上的 Report 選單,即可在網頁上開啟 report、複製內容,或將其下載為 Markdown 或 PDF 格式。

建議從狹窄的目標與單一明確的目的開始。簡短且專注的 flows 更易於審查,並有助於您在執行較大規模的 flows 前優化提示詞。

最後更新於