Promptfoo

Open

Tests AI application outputs against defined cases and helps identify vulnerabilities through red teaming.

Description

Promptfoo is an open-source command-line tool and library for evaluating prompts, language models, RAG systems, and AI agents. It replaces isolated manual checks with repeatable tests. Developers configure inputs, prompt variants, model providers, and scoring criteria, then compare results using the CLI or local viewer. Evaluations can also run as part of CI/CD pipelines. A red-teaming workflow generates security tests to help surface weaknesses in LLM applications. Automated grades still need human interpretation and do not guarantee that a system is secure. The Community edition is free and includes up to 10,000 red-team probes per month. Enterprise offers additional team and security features at custom pricing; calls to external model APIs may cost extra.