Test cases for an agent
An agent that answers well today must do so tomorrow too — also after a new instruction or another model. Test cases record what the agent must do: an input, and what the answer must contain or which outcome you expect. Once an agent has test cases, you can only publish it when they all pass.
Step 2 / 6
Try the agent and keep it as a test case
Open the agent and try it under Try. If you are happy with the answer, click Keep as test case: the input and the outcome become the first test case.
Step 4 / 6
Add a second case
+ Test case adds a case; under Input you put the question. Also record what the agent must not say or must refuse: that way you notice at once when a change breaks something.
This guide was carried out step by step on 22 Oct 2026 by an automated test on Flow (version 3e563176).

















