195  promptfoo(1) - Kailash Tool Reference

195.1 promptfoo

promptfoo - promptfoo — LLM eval and red-team CLI: prompt/model/RAG evaluation, regression checks and injection probes.

Layer ATTACK
Category a-02-prompt-injection-jailbreaks
Safety class requires-target
Licence MIT
Upstream github.com/promptfoo/promptfoo

195.1.1 NAME

promptfoo - promptfoo — LLM eval and red-team CLI: prompt/model/RAG evaluation, regression checks and injection probes.

195.1.2 SYNOPSIS & usage

Derived from the upstream README at generation time; verify against --help where the tool is installed.

npm install -g promptfoo
promptfoo init --example getting-started
export OPENAI_API_KEY=sk-abc123

195.1.3 DESCRIPTION (upstream)

Promptfoo is now part of OpenAI. Promptfoo remains open source and MIT licensed. Read the company update. npm install -g promptfoo promptfoo init –example getting-started Also available via brew install promptfoo and pip install promptfoo. Or use npx promptfoo@latest to run any command without installing. Most LLM providers require an API key. Set yours as an environment variable: export OPENAI_API_KEY=sk-abc123 Run an eval and view results: cd getting-started promptfoo eval promptfoo view > **See Getting Started (evals) or [Red Teaming](https://www.promptfoo.dev/docs/red-t

195.1.4 CONFIGURATION (detected)

Config-surface markers detected in the upstream README (3 matches, e.g. main.yml, main.yml). A full config reference page for this tool is queued under the config-page policy — this line is the detection record, not the page.

195.1.5 SEE ALSO


ref: v0.124.1-unstable-2026-10-10 - verified 2026-10-14