Tests and red-teams LLM apps, agents and RAG pipelines from declarative config, scanning for prompt injection, jailbreaks and other vulnerabilities in CI.
Use it now
Keep it with up to 9 other tools you're setting up, then share them all as one link.
Try this first
Ask your coding agent:
- Declarative Eval Suites
Use promptfoo to run prompt and agent test cases from a config file: ‹what you need›
- Automated Red Teaming
Use promptfoo to generate adversarial attacks against an application: ‹what you need›
- Model Comparison
Use promptfoo to compare providers and prompt variants side-by-side on the same dataset: ‹what you need›
Install the CLI
Install it as its own instructions say.
Its page: github.com/promptfoo/promptfoo
Call the API
Auth None needed
Its page: github.com/promptfoo/promptfoo
Compare
Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.
- Access
- CLIAPI
- Auth
- None
- Skills
- 3
Skills
Declarative Eval Suites
Runs prompt and agent test cases from a config file, scoring outputs with assertions and model graders.
Automated Red Teaming
Generates adversarial attacks against an application to find prompt injection, jailbreaks and data leakage.
Model Comparison
Compares providers and prompt variants side by side on the same dataset to justify a model choice with data.