Skip to content

Agent prompts

Prompts are the instructions OttoTester’s AI agents follow: the Planner, the Generator, the Healer and the others. Platform admins can read and change them under Global Admin → AI Models → Prompts. Most installs never need to. The defaults are tuned, and a change can affect your tests’ quality and cost.

Some rules are written once and included in more than one agent’s prompt, such as the rules for writing Playwright code. They are listed under Shared rules. Each one shows Used by: the agents whose instructions include it. Activating a new version of a shared rule changes what each of those agents is told.

Every save adds a version, and the versions stay in the list. Only the active version is used. Save new version can make the new version active at once, or keep it as a draft. Activate on any older version makes it the one the agents use again. Agents use the new version from their next run.

When your prompt differs from the current default

Section titled “When your prompt differs from the current default”

When OttoTester updates, a prompt nobody has saved a version of moves to the new default by itself. Once someone saves a version, even a draft, the prompt stays as it is, so your changes are never overwritten.

When a version someone saved has been made active, and the prompt’s active text isn’t the same as the default that came with your version of OttoTester, the page says Your prompt differs from the current default.

  • Compare shows the two side by side. The whole text is compared, so your own changes show as differences too.
  • Use the current default asks you to confirm, then saves the default as a new version and makes it active. Your old version stays in the list, and you can make it active again at any time.

Using the current default doesn’t make the prompt update by itself again. Because it was changed before, later updates are offered on this page the same way, and you choose each time.

When you save a version of the Planner’s, Generator’s or Healer’s prompt, or of a shared rule, OttoTester checks the text as the agents would get it and warns about:

  • a browser tool name that doesn’t exist,
  • an example tool call that the tool would refuse, such as one missing a field the tool needs,
  • a sentence that says the opposite of how the browser tools work,
  • a shared rule copied word for word into one agent’s own prompt. Change the shared rule instead, so every agent reads the same words.

The Proposer’s and Refiner’s prompts are checked for copied shared rules only.

Each warning names the line in your text. The checks catch these known mistakes only, not every mistake. A warning never stops the save: the version is saved either way. If the checks couldn’t run, for example while OttoTester is still loading its list of browser tools after a restart, the page says so. Save again in a minute to check the text.