QAOS Mode vs. Guided Mode
There are two ways to run an audit: QAOS Mode (recommended) — setqaosMode: 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.
Config file structure
- QAOS Mode
- Guided Mode
Top-level fields
Cost estimate formula used by the agent server:
costUsd = (inputTokens / 1000) * 0.00075 + (outputTokens / 1000) * 0.0045
qaosConfig fields
Used when qaosMode: true:
Task fields
Each item in thetasks array defines one test scenario:
Writing effective task descriptions
Thedescription 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
Choosing subAgents
You can run the security agent, UI/UX agent, both, or neither on any given task.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.
Two ways to configure
Visual UI Builder
Use the QAOS dashboard to generate a config file through a guided form — no JSON editing required.
JSON from Scratch
Write or edit the config file directly with the full field reference.