Overview
Tasks represent high-level objectives within a penetration testing flow. Each task can be decomposed into subtasks for granular execution tracking.Task Type
Fields
Unique identifier for the task
Task title generated by the AI agent
Current status:
created, running, waiting, finished, failedOriginal task description or objective
Task execution results, findings, or error messages
ID of the parent flow
List of subtasks for this task
Subtask Type
Detailed description of what the subtask should accomplish
ID of the parent task
Queries
List Tasks for Flow
Retrieve all tasks associated with a flow.Subscriptions
Task Created
Subscribe to new task creation within a flow.Task Updated
Receive real-time updates when a task’s status or results change.Execution Flow
Tasks follow a hierarchical execution pattern:- Task Creation: Primary agent creates high-level tasks
- Subtask Generation: Generator agent breaks down tasks into subtasks
- Subtask Execution: Specialized agents (pentester, coder, searcher) execute subtasks
- Result Aggregation: Results are collected and summarized
- Task Completion: Task status updates to
finishedorfailed
Example: Complete Task Lifecycle
Agent Types in Task Execution
Different AI agents handle different aspects of task execution:Generator Agent
Generator Agent
Breaks down high-level tasks into specific, actionable subtasks
Pentester Agent
Pentester Agent
Executes security testing and vulnerability assessments
Coder Agent
Coder Agent
Writes and executes custom scripts and exploits
Searcher Agent
Searcher Agent
Performs web searches and gathers external intelligence
Installer Agent
Installer Agent
Installs required tools and dependencies
Reflector Agent
Reflector Agent
Analyzes results and provides insights
Best Practices
Tasks may enter
waiting status if they require user input or approval. Monitor the parent flow status to detect this state.