In Settings → Automations, a per-application parameters card on "Run test plan" actions lets you pick the environment, device preset and, under Advanced, the agent for each application in the plan, so one plan can cover several agentic testing setups. The same card appears on the test plan Settings tab and in "Run with Options".
The public API supports this too: run_test_plan actions accept an optional applications list with applicationShortId, environmentShortId and devicePresetShortId. Runs started by an automation show "Automation · {name}" as their trigger, linked to the automation.
More on this: multi-environment testing, mobile testing and PR and CI/CD testing.