Key Features
- Prompt evaluation: Test prompts against assertions and expected outputs
- Model comparison: Side-by-side across 50+ LLM providers
- Red teaming: Automated vulnerability scanning for AI apps
- CI/CD integration: Run evaluations in your deployment pipeline
- Privacy-first: All prompts stay on your machine
- Web UI: Visual results viewer and comparison dashboard
- Code scanning: Detect prompt injection and security issues
FAQ
Q: What is Promptfoo? A: Promptfoo is an LLM evaluation and red-teaming CLI with 18.9K+ stars. Test prompts, compare models, scan for vulnerabilities. Local execution, CI/CD ready. MIT.
Q: How do I install Promptfoo?
A: npm install -g promptfoo or brew install promptfoo. Then promptfoo init and promptfoo eval.