← Browse all tools

Go Back
Report Abuse

promptfoo

Evaluation and red teaming of LLM applications

Tool overview

promptfoo is an open source command-line tool and library for evaluating and red teaming applications built on large language models (LLMs). Test cases, prompts and providers are declared in a configuration file, and promptfoo runs them and scores the outputs automatically with assertions and metrics, including model-graded checks.

Evaluations compare prompts, models and RAG pipelines side by side, with caching, concurrency and live reloading to speed up iterations. The red teaming mode generates attacks to scan applications and agents for security vulnerabilities and compliance risks, such as prompt injection or data leakage, and produces a vulnerability report. promptfoo works with OpenAI, Anthropic, Azure, Google, Hugging Face, open-source models and custom API providers, and runs in CI/CD pipelines.

promptfoo is open source under the MIT licence. A commercial enterprise version adds features for teams.

Screenshots & video

Promptfoo
Promptfoo
Promptfoo
Promptfoo

Community reviews

Login to Write Your Review

There are no reviews yet.

Source & attribution

Original contributor
Jean-Baptiste CROUIGNEAU
External references
https://www.promptfoo.dev/
https://www.promptfoo.dev/docs/intro/
https://github.com/promptfoo/promptfoo