Why you'd want it
Promptfoo is a CLI and library that runs automated evaluations of prompts and models, compares providers such as OpenAI, Anthropic, Azure, Bedrock and Ollama side by side, and shows results in a web viewer. It also does red teaming and vulnerability scanning, and can review pull requests for LLM-related security and compliance issues. Evals run locally, it works with any LLM API or programming language, and it plugs into CI/CD.
Best for
- Regression tests for prompts in CI
- Comparing models side by side
- Red teaming LLM apps before launch
Use it when
You want repeatable, local eval runs and security scans that can gate changes in CI.
Skip it if
You need tracing and monitoring of live production traffic; promptfoo is built around evals, red teaming and code scanning rather than observability.
Editor's note
Promptfoo is now part of OpenAI and states it remains open source and MIT licensed.