promptfoo

promptfoo

promptfoo

Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI. Compare performance of GPT, Claude, Gemini, Llama, and more. Simple declarative configs with command line and CI/CD integration. Used by OpenAI and Anthropic.

20.3k Stars
1.8k Forks
20.3k Watchers
TypeScript Language
mit License
100 SrcLog Score
Cost to Build
$29.93M
Market Value
$218.52M

Growth over time

3 data points  ·  2025-08-31 → 2026-04-20
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about promptfoo

Question copied to clipboard

What is the promptfoo/promptfoo GitHub project? Description: "Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI. Compare performance of GPT, Claude, Gemini, Llama, and more. Simple declarative configs with command line and CI/CD integration. Used by OpenAI and Anthropic.". Written in TypeScript. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone promptfoo

Clone via HTTPS

git clone https://github.com/promptfoo/promptfoo.git

Clone via SSH

[email protected]:promptfoo/promptfoo.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the promptfoo issue tracker:

Open GitHub Issues