# promptfoo: 8.2 out of 10

A strong pick. 2nd of 9 in [LLM evals and tracing](https://elestia.ai/opensource/llm-evals/index.md).

Promptfoo is an MIT-licensed CLI and library that tests LLM prompts, agents and RAG apps from YAML configs, and it includes strong red teaming. OpenAI acquired it in 2026, it is very actively maintained, and it is a strong pick for pre-release evals in CI. It does not do production tracing, so pair it with a tracing tool.

**Best for:** Teams that want to test and red-team prompts and agents across many model providers from the command line and in CI.

## Scores

- **Overall: 8.2** (likely 7.1 to 8.9)
  - Claude Opus 5.5 (8.0): For testing and red-teaming LLM apps in JS/TS it is the strongest open-source choice in the bundle. It has the most stars and fast download growth, and it is now backed by OpenAI. It does not record production traces, so teams that need tracing should add Langfuse or a similar tool, which keeps it below the default-choice tier. The range is narrow because maintenance and adoption signals are strong, but the acquisition's long-term effect is not known yet.
  - GPT-6.2 Sol (8.3): Promptfoo is one of the strongest choices for a new project that wants model comparisons and trace-aware regression tests in CI. Frequent releases and firsthand use at Thoughtworks support that recommendation, while recent breaking changes add upgrade work. Langfuse and Opik are stronger choices when continuous production tracing is the main job, so the right ranking depends on which workflow the team needs first.
- **Needed by many: 4.7** (likely 3.6 to 5.8)
  - Claude Opus 5.5 (5.0): Any team that ships an LLM feature needs evals, and that group is large and growing, but it is still a minority of JS/TS developers. Promptfoo covers evals and red teaming, not tracing, so it serves only part of the category's job.
  - GPT-6.2 Sol (4.3): Promptfoo fits teams that ship LLM features across frameworks and model providers, including chat, retrieval, and agent workflows. Its CLI can test an app through an API even when the app runs outside Node.js. Surveys cover AI teams and users of related tools, so the share of all JavaScript and TypeScript developers who need it is harder to estimate.
- **Helps a lot: 8.2** (likely 7.1 to 9.2)
  - Claude Opus 5.5 (8.0): It is among the best tools for comparing prompts and models and for adversarial testing. It supports many providers and assertion types, and it has a local web viewer. Its eval metric library is thinner than DeepEval's, it has no tracking over time or production traces, and large runs can need memory tuning.
  - GPT-6.2 Sol (8.3): Version 0.126.0 has documented YAML suites, a typed API, and checks that can grade both answers and tool-call traces. One open report describes a tool-call assertion that fails when given only a maximum of zero. Langfuse and Opik offer deeper production monitoring, and a practitioner reports pairing Langfuse traces with Promptfoo tests. An independent coding-agent experiment shows agents can find and choose the tool, with limited evidence on generated code correctness or performance at scale.
- **Holds up over time: 8.3** (likely 7.0 to 9.3)
  - Claude Opus 5.5 (8.0): Activity is very high (4,611 commits, 72 releases, 404 contributors), and OpenAI says it will keep the open-source project going after the acquisition. The risks are 0.x versioning with occasional breaking changes, 842 open PRs, and an owner whose platform priorities may pull work toward its own products.
  - GPT-6.2 Sol (8.5): Promptfoo published 61 npm versions in the past year and is now backed by OpenAI, which directs users of its legacy Evals service to migrate to it. Maintainers resolved one reported dependency problem in three days, while the repository still has hundreds of open pull requests. Recent releases changed formula syntax and made some integrations opt-in, so upgrades can require CI and config changes.
- **Used widely: 7.7** (likely 6.5 to 8.9)
  - Claude Opus 5.5 (8.0): Downloads rose from 324K to 4.93M per 4 weeks, a ratio of about 15x against a median of 4.1, so it is gaining ground fast. Stars (27.5K) are the highest in the bundle. Downloads are inflated by CI and npx runs, and the ecosyste.ms dependents count of 1 is implausibly low for a CLI. The project's own claim is 130K monthly active developers.
  - GPT-6.2 Sol (7.4): Four-week npm downloads rose from 324,000 to 4.93 million, about 15.2 times the prior year and well above the 4.1 times catalog baseline. Langfuse grew faster from a similar starting point and drew more users in Stack Overflow’s survey of observability and eval tools. CI reinstalls inflate downloads, GitHub stars include interest in the scanner, and ecosyste.ms found just one dependent repository, so the number of teams choosing it remains hard to pin down.
- **Vouched for: 8.0** (likely 6.7 to 9.1)
  - Claude Opus 5.5 (8.0): OpenAI bought it for its Frontier agent platform, which is a strong endorsement from a party with something to lose. Its README says OpenAI and Anthropic use it, and the project claims use at over 25% of the Fortune 500. Independent comparisons consistently name it the top tool for prompt comparison and red teaming, but the user-satisfaction data is mostly anecdotal.
  - GPT-6.2 Sol (8.0): Thoughtworks reports using Promptfoo for agent tests and CI gates and recommends trialing it. AWS uses it in a Bedrock reference pipeline, and OpenAI provides a migration guide for its legacy Evals users. These sources back the CI workflow directly, while independent evidence about sustained production tracing and user retention is thinner.
- **Safe: 6.6** (likely 5.2 to 8.0)
  - Claude Opus 5.5 (6.5): It is MIT licensed, has no OSV advisories, and is backed by a well-funded owner. It pulls in 74 direct dependencies and has no Scorecard data. It also runs model calls with API keys and can execute code providers, so its attack surface is large.
  - GPT-6.2 Sol (6.6): The MIT license is permissive, and the release workflow uses npm trusted publishing with provenance. The 74 direct dependencies create a sizeable attack surface, and one downstream team reported that an unpinned install pulled compromised upstream packages into CI. Snyk records a fixed information exposure issue that the bundle’s OSV count misses, and maintainers also removed a vulnerable optional dependency from default installs. The missing OpenSSF Scorecard and unverified number of people with release access widen the range.

## Good

- Declarative YAML test suites compare many prompts and providers side by side, and a failing run fails the CI job.
- Built-in red teaming and vulnerability scanning go well beyond what most eval libraries offer.
- Very active development: over 4,600 commits and about 60 npm releases in the last year, with 400+ contributors.
- Backed by OpenAI since 2026, MIT licensed, with no known advisories.

## Bad

- It has no production tracing or monitoring, so it covers only half of the category's job.
- It is still 0.x and ships fast, and some releases break things, such as dropping Node.js 20 in 0.122.0.
- It pulls in 74 direct dependencies and has no OpenSSF Scorecard, which makes the attack surface large.
- Ownership by a model vendor brings some risk that its priorities lean toward OpenAI's Frontier platform.

## The numbers

- Downloads, 4 weeks: 4.9M
- In a year: ×15
- GitHub stars: 28k
- Commits, 12 months: 4.6k
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/promptfoo/promptfoo
- npm: https://www.npmjs.com/package/promptfoo

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
