AIAny
MLOps2023
Icon for item

promptfoo

Declarative CLI and library to evaluate and red-team LLM apps: run test cases against prompts and models, compare providers side-by-side, and scan for jailbreaks, prompt injection, and data leaks — with CI/CD and pull-request code scanning built in.

Introduction

Most teams ship LLM features on vibes — tweak a prompt, eyeball a few outputs, and hope it holds in production. Promptfoo treats prompts and agents the way engineers treat code: as a test suite you can version, diff, and gate a release on. The same declarative config that scores answer quality also drives adversarial attacks, so evaluation and security stop being two separate projects.

What Sets It Apart
  • Side-by-side model matrix: run identical cases across OpenAI, Anthropic, Bedrock, Ollama, and local models at once — "which model is actually better for us" becomes a comparison table, not a hallway argument.
  • Red-teaming in the same harness: it generates jailbreak, prompt-injection, PII-leak, and tool-misuse probes, so security testing rides on the eval config you already wrote instead of a separate tool and team.
  • CI/CD- and PR-native: assertions fail a build and code scanning flags risky LLM changes during review, so regressions get caught before merge rather than after an incident.
  • Local-first, MIT-licensed: evals run on your machine and sensitive prompts or data never have to leave it — which is what makes it usable inside regulated orgs.
Who It's For

Great fit if you're hardening a customer-facing LLM feature and want repeatable, gate-able checks for both output quality and security in the same pipeline. Its March 2026 acquisition by OpenAI is a signal that red-teaming is becoming table stakes, and the project stays open source and MIT-licensed. Look elsewhere if you want a hosted, zero-config dashboard that observes production traffic — promptfoo is a developer-driven testing harness that assumes you'll write configs and wire it into your own workflow.

Information

  • Websitegithub.com
  • OrganizationsPromptfoo, Inc., OpenAI
  • AuthorsPromptfoo team (now part of OpenAI)
  • Published date2023/04/28

Categories

More Items

MLOps2026

Provides a programming model and distributed runtime that preserves parent–child lineage and ordered variable-cardinality expansions for 1→M→1 dataflow pipelines, enabling completion-driven cross-input GPU batching and ordered gathers for foundation-model data preparation. Demonstrates multi-GPU scaling speedups and lower end-to-end time versus Ray Data and Daft.

GitHub
AI Infra2026

Provides an end-to-end platform to evaluate, observe, protect, and optimize LLM and AI agent deployments. Integrates OpenTelemetry tracing, 50+ evaluation metrics, agent simulations, an OpenAI‑compatible gateway, and guardrails; self‑hostable under Apache 2.0.

GitHub
AI Train2026

Provides a one-command CLI to fine-tune and post-train LLMs, with layer streaming that lets an 8B model be fine-tuned on a 4 GB laptop GPU. Auto-configures quantization, LoRA adapters, batching and evaluation gates, and supports export and serving workflows.