promptfoo logo

promptfoo

promptfoo/promptfoo

Test prompts, agents, and RAGs. Compare performance of various LLMs.

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

25k stars2.3k forksLast push Sep 18, 2026 TypeScript MIT

Decision brief

Unverified catalog guidance: Promptfoo is a TypeScript-based tool for evaluating and testing prompts, AI agents, and retrieval-augmented generation systems. It supports red teaming and vulnerability scanning for AI models, with CI/CD integration.

Good fit when

  • Unverified catalog guidance: When you need to compare the performance of various LLMs such as GPT, Claude, Gemini, DeepSeek, and more.
  • Unverified catalog guidance: If you require a tool that integrates with CI/CD pipelines for automated testing and evaluation.

Avoid when

  • Unverified catalog guidance: If you are working with languages other than TypeScript, as Promptfoo is specifically designed for TypeScript environments.
  • Unverified catalog guidance: When you do not need to compare multiple LLMs and only require a simple prompt testing tool without advanced features like red teaming.
Requirements:
Requires Node.js >=22.22.0, with Node.js 24 LTS recommended.; API keys for most LLM providers are required and should be set as environment variables.

Observed Sep 18, 2026 · Source: enrich:decision_facts

Verify the decision

Adoption

Package downloads where a registry match exists. GitHub stars (25,251) are secondary evidence.

npm downloads (30d)
2,633,102·npm downloads API·Sep 18, 2026

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of Sep 18, 2026
Provenance
Not a fork · Organization account
As of Sep 18, 2026
Security (OSV)
No lockfile
As of Sep 18, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

Package installation is not established from the available documentation. Check the source repository for setup instructions.

git clone https://github.com/promptfoo/promptfoo
Source repository

Relationship proposals(21)

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Alternatives

Integrations

Related tools

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

A tool for evaluating and testing prompts, AI agents, and retrieval-augmented generation systems. It supports red teaming and vulnerability scanning for AI models, with CI/CD integration.

Capability facts

Docker
Docker configuration present

Source: dockerfile:Dockerfile · Sep 18, 2026

CLI
Unknown; CLI entrypoint not verified

Source: package.json:bin|scripts · Sep 18, 2026

MCP server
Unknown; MCP server not established by this scan

Source: repo_scan · Sep 18, 2026

Languages
typescript, javascript

Source: github.language+package.json · Sep 18, 2026

Categories

Graph entities

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Node.js runtimeNode.js

Source: README excerpt (regex_v1, Sep 18, 2026)

Requires [Node.js](https://nodejs.org/en/download) `>=22.22.0` for npm and npx usage. Node.js 24
Source link
Python runtimePython

Source: README excerpt (regex_v1, Sep 18, 2026)

Also available via `brew install promptfoo` and `pip install promptfoo`. You can also use `npx promptfoo@latest` to run any command without
Source link

Tags

README

Quick Start Requires Node.js for npm and npx usage. Node.js 24 LTS is recommended; see the runtime support guide. Also available via and . You can also use to run any command without installing. Most LLM providers require an API key. Set yours as an environment variable: Once you...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.