# promptfoo

> Test prompts, agents and RAG pipelines, and red-team them, from the command line and CI.

Canonical: https://thelocalbench.com/tools/promptfoo · Data as of 2026-10-12 · The Local Bench (thelocalbench.com), data as of 2026-10-12, CC BY 4.0

Flags: [verified] checked against primary source · [sourced] cited · [estimate] formula · [sample] placeholder

- Category: Ops & evals / Evals & red teaming
- Website: https://promptfoo.dev
- Repository: https://github.com/promptfoo/promptfoo
- Open source: yes, MIT [verified] https://github.com/promptfoo/promptfoo/blob/HEAD/LICENSE
- Pricing: open-core, starting $0 [verified] https://github.com/promptfoo/promptfoo
- Platforms: CLI [sourced] https://github.com/promptfoo/promptfoo#readme
- Added 2026-10-13, last verified 2026-10-13
- Sponsored: no

## Works with local models

| Integration | Status | Flag | Source |
|---|---|---|---|
| Ollama | yes | [verified] | https://www.promptfoo.dev/docs/providers/ollama/ |
| llama.cpp | yes | [verified] | https://www.promptfoo.dev/docs/providers/llama.cpp/ |
| LM Studio | not yet confirmed | [not_measured] |  |
| OpenAI-compatible | not yet confirmed | [not_measured] |  |
| MCP | yes | [verified] | https://www.promptfoo.dev/docs/providers/mcp/ |

JSON: https://thelocalbench.com/api/v1/tools/promptfoo.json

Logo: trademark of its owner, shown to identify the tool (source: press/brand kit, https://www.promptfoo.dev/img/logo-panda.svg).
