Use an available agent
Open Settings → Agents to inspect the available definitions. The list includes preset, personal, project, and installed-package agents. Search by name or description, filter by All or Enabled, and check the switch on the agent you want to use. In a Code session, type@ and select the intended agent from the suggestions. Give it a bounded task and specify what its result should contain:
Review the checkout quantity change. Check the calculation, tests, and unchanged public function signature. Report concrete findings with file references. Do not modify files.Read the returned findings before requesting implementation changes. A reviewer can identify a missing test, but the test still needs to be written and run. Keep diff review and verification part of the main workflow.
Available agent roles define a task, a model choice, and a set of tools.
Create a reusable role
Choose New agent in Settings → Agents. You can also duplicate an existing definition as a starting point.
For a review role, separate its selection description from its working instructions. A useful description is: “Review checkout changes for calculation regressions and missing test cases.” Its instructions could be:
Inspect the changed calculation and its tests. Check quantities of one and more than one, and look for unintended interface changes. Report each finding with a file reference, the affected behavior, and a suggested test. If the available files do not support a finding, say what you could not verify. Do not edit files.Use Custom tool access to select only the tools the role needs. For inspection-only work, omit edit tools and command execution unless required. Instructions describe behavior; the tool configuration and the parent session’s permissions determine the available actions. A custom tool set cannot grant more access than the main agent has. Choose Save agent, ensure the definition is enabled, and test it on a small, known change. Refine the description if it is selected for the wrong kind of work; refine the instructions if the result lacks the evidence you need.