There are two ways to run an audit:QAOS Mode (recommended) — set qaosMode: true and provide a qaosConfig. The agent crawls your site autonomously, discovers pages on its own, and flags issues everywhere it goes. No task definitions needed.Guided Mode — define a tasks array with specific pages and instructions. Use this when you need precise control over which flows the agent tests.
The description field is interpreted by an LLM, so natural language works well. Be specific about what the agent should do and what you want it to look for.
✓ Good descriptions
✗ Avoid these
"Navigate to the login page and attempt to log in with test credentials admin@example.com / password123"
"Browse the user account settings page and check all editable fields"
"Access the admin panel and verify that admin-only actions are properly restricted"
When to use both: For pages with user interaction (forms, buttons, navigation), running both agents together gives a complete picture.When to use one: For internal API endpoints or system-only pages, security alone may be sufficient. For static marketing pages, uiux alone may be more relevant.When to use none: To verify that a flow can be completed end-to-end without checking for specific issues — the task fails if the agent cannot finish it, which surfaces bugs in the flow itself. An empty array can also be used to set up state (e.g. log in) before a subsequent task that runs evaluations.
If a subagent is listed in subAgents but all of its issues are in ignoredIssueIds, the run will be rejected. Either remove the agent from subAgents or un-ignore at least one of its issues.