OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Evaluation & Observability

Promptfoo

An open-source TypeScript CLI and library for evaluating and red-teaming LLM-based applications, including prompts, agents and RAG systems.

Independent OpenViST project profile, based on linked sources.

Promptfoo — OpenViST project profile in AI Evaluation & Observability.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Promptfoo when an LLM application needs repeatable evaluation, provider comparison, regression testing or documented red-team scanning during development.

Who it is for

  • Developers building LLM applications
  • Teams testing prompts, agents or RAG systems
  • Teams comparing LLM providers
  • Development teams adding AI checks to CI/CD

Documented uses

  • Evaluate prompts and model outputs with automated tests
  • Compare models side by side
  • Regression-test RAG applications
  • Scan AI applications for vulnerabilities
  • Automate evaluation and security checks in CI/CD
Before you choose

Requirements & limits

Promptfoo is documented as open source under the MIT license. It is available as a CLI and library, with npm, Homebrew, pip and npx installation paths documented. Most LLM providers require an API key.

  • It supports command-line workflows and CI/CD integration.
  • It can compare outputs across providers including OpenAI, Anthropic, Google Gemini and DeepSeek.
  • Its documented scope includes both evaluation and security testing.
  • The project is implemented in TypeScript and is available as a library as well as a CLI.
  • Evaluations are described as running locally, while provider access may still require API keys.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Run a getting-started evaluation

Initialize Promptfoo and run the documented example evaluation.

Before you start

  • Promptfoo installed through npm, Homebrew, pip or npx.
  • An API key for the LLM provider used by the example.
  • A shell environment and the getting-started example.

Steps

  1. Install Promptfoo and initialize the getting-started example.

  2. Set the relevant provider API key as an environment variable.

  3. Change into the getting-started example directory.

  4. Run the evaluation command.

  5. Open the results viewer.

Expected outcome

The example evaluation runs and its results can be viewed through Promptfoo.

Guide limitations

  • Most LLM providers require an API key.
  • This recipe covers the documented getting-started evaluation, not a complete application-specific test plan.
COMPARE OPTIONS

Compare options for Retrieval-augmented applications

These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.

ProjectDocumented purposePlatformAccess and requirements
PromptfooEvaluate prompts and model outputs with automated testsCLI, Cloud, Self-hostedPromptfoo is documented as open source under the MIT license. It is available as a CLI and library, with npm, Homebrew, pip and npx installation paths documented. Most LLM providers require an API key.
SentrevCompare retrieval performance across embedding models on a document collection.CLIThe project is an open-source Python package under the MIT license. Its README documents installation with pip or from source.
DiragnosisGenerate synthetic evaluation questions from supplied documents.Docker, Linux, macOS, Self-hostedThe repository identifies the software as open source under the MIT license. The README documents a local Docker application and a pip-installable Python package.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
30 September 2026
Original website title
promptfoo/promptfoo · Official homepage title · retained in its source language