Promptfoo · Open Source

CLI and library for repeatable LLM evaluations and red teaming.

Documentation reviewed; not hands-on tested. Published evidence does not guarantee outcomes.

Official website

Uses and conditions

Primary task
Measurement & analysis
Runtime
Node;其他分发见 README
Inputs and outputs
提示词+测试集+断言 → 对比报告
Deployment
本地 CLI/CI/结果查看器
External dependencies / costs
多数远程模型需 API 密钥与额度;支持本地模型提供商;托管能力另计
Paid API required
Unknown / not researched
Account required
Unknown / not researched
Supported scope
用可重复问题和断言评估 LLM 输出及 agent 行为。
Strengths
适合分析师保留问题版本、失败与模型输出证据
Limitations
通用评测基础设施,需自行定义品牌提及/引用指标;API 输出不等于消费端回答
License
MIT
License scope
repository_core; dependencies and separately licensed editions require separate review
License revision checked
1c790aab44e94a92b2e566553abbd756b1cfbc7e
Additional terms
Unknown / not researched

Repository and installation documentation

Source repository · Documentation
npm install -g promptfoo;promptfoo init --example getting-started;promptfoo eval

Instructions are supplied for reference and have not been executed. Stars and downloads do not measure quality, security or users.

Independent observations

github_stars
25962 · exact_api_integer · 2026-10-13T15:48:43.118990+00:00

—

GitHub repository stargazers_count; observation snapshot · 仓库关注/分支指标,不证明质量、安全、实际效果或使用人数。

Observation source
github_forks
2472 · exact_api_integer · 2026-10-13T15:48:43.118990+00:00

—

GitHub repository forks_count; observation snapshot · 仓库关注/分支指标,不证明质量、安全、实际效果或使用人数。

Observation source
github_archived
false · boolean · 2026-10-13T15:48:43.118990+00:00

—

GitHub repository archived; observation snapshot · 仓库关注/分支指标,不证明质量、安全、实际效果或使用人数。

Observation source
npm_downloads_30_complete_utc_days
3449986 · exact_api_integer · 2026-10-13T15:49:47.229502+00:00

2026-09-13T00:00:00Z — 2026-10-13T00:00:00Z

npm official point API: 2026-09-13 through 2026-10-12 inclusive; end bound exclusive in export · 包含 CI、自动化、重复安装;不是用户数;仅同来源同窗口比较;不累加同项目多个包。

Observation source

Domain-specific research

AEO

CLI and library for repeatable LLM evaluations and red teaming.

Verified: 2026-10-13 · Snapshot: cc9c0b51-ac55-40a1-a35c-710c09ac6eaf

Research cutoff: 2026-10-13

GEO

CLI and library for repeatable LLM evaluations and red teaming.

Verified: 2026-10-13 · Snapshot: 393512c3-3ce1-4c01-aef7-a8ab6d65d093

Research cutoff: 2026-10-13

AAO

CLI and library for repeatable LLM evaluations and red teaming.

Verified: 2026-10-13 · Snapshot: 527dc78a-acdc-4076-8144-45d4dbd4cec6

Research cutoff: 2026-10-13

Sources

Related directories

Published: 2026-10-13T19:19:25.755Z · release_id: 4a188c28-bf2e-4b26-8035-6b5857bd0b9b

Methods and limitations · Editorial and corrections policy