qmetrics.net

Promptfoo

CLI for LLM evaluation and AI red teaming

Promptfoo screenshot

Promptfoo is a command-line tool and library for testing prompts, agents, and RAG setups through declarative configs. It supports side-by-side model comparison, automated evals, and vulnerability scanning with CI/CD hooks.

Overview

Promptfoo helps teams evaluate and harden LLM-based applications before production. Users define tests in declarative configuration, run evaluations from the terminal, and review results in a local viewer or generated reports. The tool compares outputs across providers such as OpenAI, Anthropic, Azure, Bedrock, and Ollama, and can automate checks in continuous integration.

Beyond quality metrics, Promptfoo supports red teaming and vulnerability scanning tailored to application context, including injection and jailbreak-style tests. Marketing material also describes remediation guidance in pull requests, integration with GitHub, GitLab, Jenkins, MCP and agent frameworks, and on-premise or cloud deployment options for enterprise workflows.

The project is positioned as developer-first: eval jobs can run entirely on the local machine so prompts and data need not leave that environment. It ships as an npm package, Homebrew formula, pip package, and via npx without a global install.

Promptfoo is used for prompt iteration, agent testing, RAG validation, security vulnerability reports, and code scanning for LLM-related compliance issues in pull requests.

Key features

  • Declarative YAML eval configurations
  • Side-by-side multi-model comparison
  • Red teaming and vulnerability scanning
  • Local execution without cloud upload
  • CI/CD pipeline automation
  • Pull request code scanning hooks
  • Security vulnerability report generation
  • npm, pip, Homebrew, and npx installs

Use cases

  • Regression testing prompts before release
  • Comparing foundation models on same tasks
  • Scanning agents and RAG for AI flaws
  • Gating LLM changes in CI pipelines
  • Sharing eval metrics across a team

Tags

Similar software

iFixAi

Independent auditor for agent operational alignment

iFixAi tests AI agents against simulated business scenarios and grades replies. A separate judge model scores misalignment, with CLI, plugins, and MCP workflows for coding agents.

★ 47.6k⟳ 7 days agoApache-2.0
AI Security & PrivacyDesktop/CLI app

Playwright

Cross-browser web automation and testing framework

Playwright drives Chromium, Firefox, and WebKit through one API for tests, scripts, and agent-driven browser control.

★ 101.2k⟳ yesterdayApache-2.0

Puppeteer

JavaScript library for automating Chrome and Firefox

Puppeteer exposes a high-level JavaScript API to drive Chrome or Firefox through the DevTools Protocol or WebDriver BiDi. It defaults to headless browser control for scripts and tests.

★ 95.9k⟳ yesterdayApache-2.0

Storybook

Isolated workshop for UI components and pages

Storybook runs a local dev workshop where teams build, test, and document components in isolation. It integrates with major frontend frameworks and addons for docs, accessibility, visual review, and agent tooling.

★ 91.7k⟳ todayMIT

Strix

AI-driven penetration testing for developers

Strix runs autonomous AI agents that probe applications like attackers, validate issues with proofs of concept, and integrate into CLI and CI workflows.

★ 78k⟳ todayApache-2.0
AI Security & PrivacyDesktop/CLI app
Open Source Alternative to:XBOW

act

Local runner for GitHub Actions workflows

A command-line tool that executes GitHub Actions workflows on your machine using Docker. It mirrors GitHub’s environment for faster feedback while editing workflow files.

★ 72.8k⟳ 12 days agoMIT
Build & DeploymentDesktop/CLI app