AITeamGuide Hub · Agent
promptfoo
A command-line tool to test prompts, agents and RAG apps, and red-team them for jailbreaks, data leaks and other LLM vulnerabilities.
Agent★ 28k starsArchived on GitHubMITSecuritySoftware development
Short answer: how to install promptfoo
promptfoo is an MIT-licensed, open-source agent on GitHub (promptfoo/promptfoo) with 27,934 stars as of December 2, 2026. Its last push was on December 2, 2026. To install it, run npm install -g promptfoo. It works with TypeScript, Self-hosted.
Key facts
- Type
- Agent
- Jobs it fits
- Red-team an AI app; Compare model outputs
- Fields
- Security, Software development
- Works with
- TypeScript, Self-hosted
- GitHub
- promptfoo/promptfoo
- Licence
- MIT
- Stars
- 27,934 as of December 2, 2026
- Last updated
- December 2, 2026 (last push to GitHub)
- Author
- @promptfoo
- Submitted by
- @aiteamguide
- Added to the Hub
- October 21, 2026
Install / Use it
MIT
Install
npm install -g promptfooSafety: Runs code from a third-party repo. Review the source and the permissions before installing.
Commands and configs are taken from the project's README and re-wrapped in each app's documented format. If they differ, the README wins.
FAQ
How do I install promptfoo?
run npm install -g promptfoo. Full steps for each app are in the install panel on this page and in the project's README.
Is promptfoo free?
The code is open source under the MIT licence, so it's free to use. Any account or API key the connected service needs is billed by that service, not by the project; see the README.
Is promptfoo still maintained?
Its last push to GitHub was on December 2, 2026, and it had 27,934 stars as of December 2, 2026. We re-check GitHub daily.
Prefer a ready-made product?
Commercial agents for the same job, with real prices: Microsoft Security Copilot, all security operations agents, all coding agents.
Get new open-source AI tools like promptfoo in one weekly email
One email a week: new open-source agents, skills, MCP servers and playbooks from the Hub, plus AI agent price changes and new free plans. Free; unsubscribe anytime.
Free, no signup needed: the AI agent pricing cheat sheet, the cheapest listed plan for every job on one printable page.
More from the Hub
-
Skill
Superpowers
A skills library and working method for coding agents: brainstorm, plan, test first, then build.
Software development★ 331k
-
Skill
Anthropic Agent Skills
Anthropic's public library of Agent Skills, including Word, Excel, PowerPoint and PDF skills and examples for building your own.
Personal productivity · Software development★ 204k
-
Agent
OpenCode
An open-source coding agent for the terminal and desktop that works with many model providers.
Software development★ 231k
-
Agent
MarkItDown
Microsoft's tool that converts PDFs, Word, PowerPoint, Excel and other files into Markdown an AI can read.
Personal productivity · Software development★ 199k
Summary written by AITeamGuide in our own words. GitHub numbers come from the public GitHub API and refresh daily. Maintainer and want a correction or removal? Tell us. Got something similar? Submit it to the Hub.