Where to set them
- Open the project in the dashboard and go to the Settings tab.
- Scroll to Agent instructions and type your guidance into the text area.
- Click Save. The next run of any test in the project picks them up.
What to put in them
Good instructions describe things the agent cannot infer from a single test:- App quirks: “A cookie banner covers the footer on first load. Dismiss it before interacting with the page.”
- Navigation hints: “The admin area lives under
/adminand only the staff account can open it.” - Boundaries: “Never press Delete account or Cancel subscription, even if a step seems to ask for it.”
- Judgement rules: “Treat any red toast or console error as a failure for the step that triggered it.”
- Domain vocabulary: “‘Workspace’ and ‘Team’ mean the same thing in our UI.”
How they are applied
Instructions are advisory. The agent follows them on every step unless doing so would stop it from verifying what the step actually asks for, or would conflict with its built-in safety rules. They cannot make the agent skip verification or report a step as passed without evidence.API and MCP
The same field is available asagentInstructions on the project API and the
MCP update_project tool, so you can manage it from code or from your own AI
tooling:
null to clear the instructions.
Related settings
- Planner instructions for the PR exploration agent steer the planner that decides what to test on a pull request. Agent instructions steer the agent while it executes steps, on every kind of run.
- Project memory captures what the agent has learned automatically; agent instructions are what you tell it explicitly.