Promptfoo

Active
GitHub TypeScript MIT

Description

CLI tool that combines LLM prompt testing with red-teaming.

Key Features

  • Prompt testing — Batch prompt evaluation
  • Red team — 50+ attack strategies
  • CI integration — GitHub Actions
  • Multi-model — Single yaml, many providers
  • Visualization — Web UI

Use Cases

💡 Run prompt AB tests for LLM apps.
💡 Run red team cases in CI.
💡 Compare outputs across models.

Quick Start

# Install and run
npm install -g promptfoo
promptfoo eval -c promptfooconfig.yaml

Related Projects

Related Articles