Promptfoo: Run LLM Prompt Tests Like Unit Tests in YAML with CI/CD

KhuyenTran16 · x · 2026-10-22

Open-source tool promptfoo (26.3k stars) turns evaluation of prompts, agents, and RAG into unit tests committed to your repo: each case declares input, provider, and expected behavior in YAML, so prompt changes can be rerun consistently across old cases, new cases, and different model providers. It supports comparing GPT, Claude, Gemini, DeepSeek and more, adds red-teaming/pentesting and vulnerability scanning, integrates with CLI and CI/CD, and is used by OpenAI and Anthropic.

Related event: Promptfoo Turns LLM Prompt Testing into YAML Unit Tests(2 posts)→

Original post →

More from coding & agent

coding & agent channel →