Promptfoo
- About
- Open-source LLM evals and red teaming.
- Catalogue
- No. 207
- Category
- Development
- GitHub stars
- ★ 28k+1.2k this month
- Last commit
- Page updated

Overview
Promptfoo is an open-source tool for testing and securing LLM applications. You define evaluations, run them from the command line and compare results in a web viewer. Promptfoo is now part of OpenAI and remains open source.
What it does well
Promptfoo runs automated evaluations of prompts and models, compares providers side by side (OpenAI, Anthropic, Azure, Bedrock, Ollama and more), and red-teams apps with vulnerability scanning. It plugs into CI/CD and can review pull requests for LLM-related security and compliance issues. It installs with npm, Homebrew or pip.
Why it’s in the collection
Promptfoo makes testing prompts and security-scanning LLM apps a routine part of development. It is MIT-licensed.
Is Promptfoo open source?
Yes. Promptfoo is open source under the MIT license, so you can read, change and host the code yourself. MIT license text.
On GitHub
- Stars
- 28,039
- +1,156 in 30 days
- Forks
- 2,938
- Commits
- 10,874
- Latest
- Repository
- promptfoo/promptfoo
Languages
- TypeScript 97.9%
- CSS 1.2%
- Other 0.9%



