Skip to main content
This page provides minimal working YAML examples for each Promptbeat configuration file type. Use these as starting points when creating a new evaluation project, then extend each file with the fields your scenario requires.

Project config (promptbeat.yaml)

The project config is the entry point for every Promptbeat command. It wires together your target profile, scenario files, seed files, and backend settings. Pass it to every CLI command with --config.
Top-level fields:

Scenario YAML

A scenario defines a specific risk situation, the expected correct behavior, and how Promptbeat should judge whether the target passed or failed. You can define multiple scenarios in a single file.
Key scenario fields:

Seed YAML

Seeds are the initial attack material before generation. Each seed provides a template prompt in a specific framing style that the generator expands into multiple adversarial probes.
Key seed fields:

Provider YAML

A provider YAML defines how Promptbeat connects to a target model or agent runtime. The id determines which adapter Promptbeat uses; the config block passes adapter-specific settings.
Key provider fields:
For the complete set of available fields, see the concept-level reference pages: Configuration Model for all config fields and their defaults, Risk Taxonomy for valid risk_type values, and Codex SDK for all Codex-specific provider config options.
Run ./bin/promptbeat validate --config promptbeat.yaml after any YAML change to catch syntax errors, missing required fields, and invalid risk type references immediately.