Promptfoo
ActiveDescription
Test and evaluate LLM prompts, agents, and RAG pipelines. Built-in red teaming and security evaluation for reliable AI applications.
Key Features
- Automated LLM evaluations — Batch test prompts, models, and RAG pipeline output quality
- Red team security testing — Built-in vulnerability scanning and adversarial testing for LLM security
- Multi-model comparison — Side-by-side comparison of OpenAI, Anthropic, Azure, Bedrock, Ollama models
- CI/CD integration — Automate evaluation checks in continuous integration pipelines
- Code scanning — Review LLM-related security and compliance issues in pull requests
- Result sharing — Share evaluation results with team members for collaborative analysis
Use Cases
Strengths & Limitations
✅ Strengths
- • Actively maintained, recent updates
- • High community interest (24.8k stars)
- • Permissive open-source license (MIT)
- • Established track record (3 years in production)
Categories
Quick Start
npm install -g promptfoo
export OPENAI_API_KEY=sk-xxx
promptfoo init --example getting-started
cd getting-started
promptfoo eval
promptfoo view