Skip to main content

Target Discovery

Promptfoo's Target Discovery Agent automatically extracts useful information about generative AI systems that you want to red team. This information is used to craft adversarial inputs that are unique to the target system, improving attack efficacy and response evaluation quality.

Usage

Use the command promptfoo redteam discover with either a configuration file or a cloud target. More info

Preview

Alternatively, you can preview the scan report of a previously configured target; run:

npx promptfoo@latest redteam discover