promptfoo
A strong pick. 2nd of 9 LLM evals and tracing.
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
Overall8.2
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 8.0, likely 7.0 to 8.5
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.
- npm downloadsSame4WeeksYearAgo: Growth of about 15x, well above the 4.1 median.
- openai.com/index/openai-to-acquire-promptfoo: Acquisition with a commitment to keep it open source.
- helpmetest.com/blog/llm-eval-frameworks-compared: Strong for comparison and red teaming; no tracing.
GPT-6.2 Sol: 8.3, likely 7.2 to 9.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.
- promptfoo.dev/docs/tracing: Trace assertions and timelines tied to evaluation results.
- github.com/promptfoo/promptfoo/releases: Active releases with documented upgrade changes.
- thoughtworks.com/content/dam/thoughtworks/documents/radar/2026/11/tr_technology_radar_vol_35_en.pdf: Independent firsthand use for agent checks and CI gates.
- langfuse.com/docs/observability/overview: Langfuse supports ongoing monitoring and alerting from traces.
- comet.com/docs/opik/tracing/dashboards/production_monitoring: Opik supports production dashboards and live scoring.
Needed by many4.7
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.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.
- category.job: The category covers both testing answers and recording calls; promptfoo does the first.
- helpmetest.com/blog/llm-eval-frameworks-compared: Says it has no built-in tracing or production monitoring.
GPT-6.2 Sol: 4.3, likely 3.2 to 5.5
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.
- promptfoo.dev/docs/configuration/guide: YAML suites support multiple providers and test formats.
- promptfoo.dev/docs/tracing: OpenTelemetry support spans JavaScript and Python apps.
- inngest.com/blog/ai-in-production-report-2026: 35% of surveyed teams building AI in production reported doing no evals.
Helps a lot8.2
How well does it do the job for those who need it?
Claude Opus 5.5: 8.0, likely 7.0 to 9.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.
- helpmetest.com/blog/llm-eval-frameworks-compared: Calls it best-in-class for prompt comparison and red teaming, with fewer metrics than DeepEval.
- promptfoo.dev/docs/usage/troubleshooting: Official guide covers out-of-memory errors on large test runs.
- npm hasTypes: Ships TypeScript types.
GPT-6.2 Sol: 8.3, likely 7.2 to 9.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.
- promptfoo.dev/docs/usage/node-api-reference: Typed evaluation API, custom graders, and trace access.
- github.com/promptfoo/promptfoo/blob/0.126.0/site/docs/tracing.md: Release documentation covers trace collection and assertions.
- github.com/promptfoo/promptfoo/issues/12404: Open report on a maximum-only tool-call assertion.
- reddit.com/r/AI_Agents/comments/1xyuy0j/agent_and_agentic_system_evals: Practitioner pairs Promptfoo with Langfuse to turn failures into tests.
- langfuse.com/docs/observability/overview: Production tracing includes dashboards and alerts.
- comet.com/docs/opik/tracing/dashboards/production_monitoring: Production dashboards and automatic scoring of live traces.
- armature.tech/leaderboards/evals: Agents chose Promptfoo in 70 of 478 runs across two apps.
Holds up over time8.3
Will it still be a good choice in two years?
Claude Opus 5.5: 8.0, likely 6.5 to 9.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.
- github commitsLastYear: 4,611 commits and 72 releases in the last year.
- openai.com/index/openai-to-acquire-promptfoo: OpenAI acquisition; commits to continue building the open-source project.
- promptfoo.dev/blog/promptfoo-joining-openai: Says promptfoo will remain open source and will be maintained.
- newreleases.io/project/github/promptfoo/promptfoo/release/0.122.0: 0.122.0 dropped Node.js 20 support as a breaking change.
GPT-6.2 Sol: 8.5, likely 7.4 to 9.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.
- npm.versionsLastYear: 61 package versions in the last year.
- github.openPullRequests: 842 pull requests open at collection time.
- github.com/promptfoo/promptfoo: Project confirms OpenAI ownership and MIT licensing.
- developers.openai.com/api/docs/deprecations: OpenAI names Promptfoo as the Evals migration path.
- github.com/promptfoo/promptfoo/issues/11707: Dependency report closed three days after filing.
- github.com/promptfoo/promptfoo/releases: Recent releases changed formulas and default integrations.
Used widely7.7
How many use it, and is that growing?
Claude Opus 5.5: 8.0, likely 7.0 to 9.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.
- npm downloadsLast4Weeks: 4.93M, up from 324K a year ago.
- github stars: 27.5K stars, the most among the peers.
- promptfoo.dev/blog/promptfoo-joining-openai: Claims 350K developers have used it and 130K are active each month.
GPT-6.2 Sol: 7.4, likely 6.0 to 8.7
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.
- npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: 4.93 million versus 324,018 downloads, with a 4.1× catalog baseline.
- peers: Langfuse SDK reached 18.1 million downloads and grew about 59×.
- github.stars, bluesky.posts, dependents: 27,512 repository stars, 12 Bluesky posts, and one indexed dependent repo.
- github.com/promptfoo/promptfoo/releases: The repository also releases a code-scanning action.
- survey.stackoverflow.co/2026/ai/data: 5.3% reported using Promptfoo, compared with 15.2% for Langfuse among 2,277 respondents to this question.
Vouched for8.0
Who stands behind it being good?
Claude Opus 5.5: 8.0, likely 6.5 to 9.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.
- openai.com/index/openai-to-acquire-promptfoo: OpenAI is acquiring it to bring its tools into Frontier.
- helpmetest.com/blog/llm-eval-frameworks-compared: Independent comparison rates it the strongest tool for prompt A/B testing.
- github description: States that OpenAI and Anthropic use it.
GPT-6.2 Sol: 8.0, likely 6.9 to 9.1
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.
- thoughtworks.com/content/dam/thoughtworks/documents/radar/2026/11/tr_technology_radar_vol_35_en.pdf: Thoughtworks reports firsthand use and gives a Trial recommendation.
- aws.amazon.com/solutions/guidance/evaluating-generative-ai-applications-using-oss-on-aws: AWS reference architecture uses Promptfoo for CI quality gates.
- developers.openai.com/cookbook/examples/evaluation/moving-from-openai-evals-to-promptfoo: OpenAI publishes migration guidance as the project owner.
Safe6.6
How safe is it to depend on?
Claude Opus 5.5: 6.5, likely 5.0 to 8.0
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.
- advisories total: Zero known advisories.
- npm dependencies: 74 direct dependencies.
- scorecard: No OpenSSF Scorecard data.
GPT-6.2 Sol: 6.6, likely 5.3 to 7.9
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.
- npm.license, npm.dependencies, advisories, scorecard: MIT, 74 direct dependencies, zero OSV entries in the bundle, and no Scorecard.
- github.com/promptfoo/promptfoo/blob/0.126.0/.github/workflows/release-please.yml: Isolated OIDC publishing job checks the package and publishes with provenance.
- github.com/re-cinq/lore/issues/1062: Downstream incident report documents compromised upstream npm packages.
- security.snyk.io/vuln/SNYK-JS-PROMPTFOO-15202496: Information exposure fixed in 0.119.11.
- github.com/promptfoo/promptfoo/pull/11739: Moved the affected optional dependency out of default installs.
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
- npm downloads, 4 weeks
- 4.9M ×15 in a year
- GitHub stars
- 28k
- Commits, 12 months
- 4.6k
- npm version
- 0.126.0 Nov 2026
- Versions, 12 months
- 61
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (promptfoo/promptfoo), npm (promptfoo), OSV and the OpenSSF Scorecard.
LLM evals and tracing
- 8.3Langfuse SDK
- 8.2promptfoo
- 7.4Braintrust SDK
- 6.8Opik
- 6.7Laminar SDK
- 6.6Phoenix client
- 6.1Autoevals
- 5.0OpenLLMetry JS
- 1.5Evalite