site/docs/intro.md
promptfoo is an open-source CLI and library for evaluating and red-teaming LLM apps.
With promptfoo, you can:
The goal: test-driven LLM development, not trial-and-error.
:::tip Get Started
:::
promptfoo produces matrix views that let you quickly evaluate outputs across many prompts.
Here's an example of a side-by-side comparison of multiple prompts and inputs:
It works on the command line too.
Promptfoo also produces high-level vulnerability and risk reports:
There are many different ways to evaluate prompts. Here are some reasons to consider promptfoo:
Test-driven prompt engineering is much more effective than trial-and-error.
Serious LLM development requires a systematic approach to prompt engineering. Promptfoo streamlines the process of evaluating and improving language model performance.