Promptfoo
Declarative YAML test suites with deterministic and model-graded assertions, red-teaming, and a GitHub Action for PR gates.
Failure modes Promptfoo catches
Prompt regressions
Injection
Format drift
Starter command
A starting point, not a guarantee. Commands change between releases, so confirm against the official README.
npx promptfoo@latest init
npx promptfoo@latest evalSources
- 1. Promptfoo official page or repository · Promptfoo (now part of OpenAI) · Repository · Sources checked