AI engineering glossary · Evals guardrails AI security

What is promptfoo?

promptfoo: An open-source tool for testing prompts and models with test cases and assertions, comparing outputs side by side and running red-team scans. It fits into continuous integration so prompt changes are checked automatically before release, catching regressions early.

Level: intermediateTopic: Evals guardrails AI security

promptfoo: an example

A developer writes 40 test cases in a config file and runs promptfoo in CI to block a prompt change that drops pass rate below 90 percent.

Related terms

More Evals guardrails AI security terms

Where you learn it

promptfoo is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.