promptfoo/promptfoo

Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI. Compare performance of GPT, Claude, Gemini, DeepSeek, and more....

View on GitHub ↗Jump to charts ↓Open shareable report →

promptfoo/promptfoo has 25k+ stars and 2k+ forks on GitHub, is written in TypeScript, and was last pushed on Oct 13, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 6 hours ago
Added to GitGenius on March 13th, 2026
Created on April 28th, 2023
Open Issues & Pull Requests: 712 (-1)
GitHub issues: Enabled
Number of forks: 2,473
Total Stargazers: 25,978 (+2)
Total Subscribers: 77 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 12.4 hours
Mean response time: 35.2 days
90th percentile: 48.5 days
Tracked items: 990

Maintainer activity

15 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 11, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits.

How this project is maintained

About 13% of issues opened in the past year have never received a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "question" is answered fastest, typically in about 3 hours, while "Open Source" waits about 3 days. 43% of tracked open issues have had no activity in three months. 71% of issues opened in the past year have been closed, leaving a working backlog.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 135
New in 7 days: 8
Closed in 7 days: 5
Avg open age: 181 days
Stale 30+ days: 119
Stale 90+ days: 79

Recent activity

Opened in 7 days: 8
Closed in 7 days: 5
Comments in 7 days: 3
Events in 7 days: 19

Top labels

  • Feature Request (79)
  • Open Source (75)
  • bug (64)
  • question (37)
  • good-first-issue (13)
  • From Github (10)
  • help-wanted (9)
  • in-progress (8)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Promptfoo is a comprehensive testing and evaluation framework for large language model applications, written in TypeScript and available as both a CLI tool and library. The project addresses the critical need for systematic evaluation of LLM-based systems by providing automated testing, red teaming capabilities, and vulnerability scanning rather than relying on trial-and-error development approaches. The tool enables developers to test prompts and models through automated evaluations, secure their LLM applications through red teaming and vulnerability scanning, compare performance across multiple model providers including OpenAI, Anthropic, Azure, Bedrock, and Ollama, and integrate security checks directly into CI/CD pipelines.

The repository emphasizes developer experience with features like live reload and caching for fast iteration cycles. A key differentiator is its privacy-first approach where LLM evaluations run entirely locally, ensuring that prompts and sensitive data never leave the developer's machine. The framework supports flexible integration with any LLM API or programming language, making it adaptable to diverse development environments. Promptfoo is battle-tested in production, powering LLM applications that serve over 10 million users, which validates its reliability and effectiveness at scale.

The project has achieved significant adoption and recognition, being used by both OpenAI and Anthropic according to its description. The codebase maintains an MIT license and remains open source despite being acquired by OpenAI. Installation is straightforward through multiple channels including npm, Homebrew, and pip, with Node.js version requirements of 20.20.0 or higher for 22.22.0 and above.

The repository connects to related projects including github/gh-aw, berriai/litellm, and anthropics/claude-code through overlapping contributor networks, suggesting integration within a broader ecosystem of LLM development tools.

The framework supports code scanning for reviewing pull requests related to LLM security and compliance, and provides security vulnerability reporting capabilities. Results can be shared with teams through various output formats. The project maintains comprehensive documentation covering getting started guides, red teaming methodologies, CLI usage, Node.js package integration, and supported model providers. An active Discord community provides peer support and discussion channels for users.