Who it is forA developer who already runs promptfoo evaluations and wants a release decision in CI without sending prompts or traces anywhere.
The problempromptfoo output uses its own result shape, so it cannot be compared with a baseline or fed to a CI policy directly.
The outcomeA portable Eval Forge artifact built from promptfoo results, checked by a policy file that does not copy prompts, responses, or traces.
What you need first
- Python 3 with pip and a virtual environment
- A committed evaluation artifact, or results from promptfoo, Ragas, or DeepEval
- Git, and a GitHub repository if you want the composite Action
- Docker, only if you use the Compose path
Steps
- Install the gate with
pip install evalforge-ci. - Run
promptfoo eval --output build/promptfoo-results.json. - Run
evalforge import promptfoo build/promptfoo-results.json --output build/evalforge-artifact.json --source-revision "$GITHUB_SHA". (inferred, check the README) - Run
evalforge gate build/evalforge-artifact.json --policy examples/promptfoo_policy.json. (inferred, check the README)
Prompt for your agent
In the EvalForge repo (https://github.com/jsdhwfmax/EvalForge), convert a promptfoo results file at <promptfoo-results-path> with `evalforge import promptfoo <promptfoo-results-path> --output build/evalforge-artifact.json`, then run `evalforge gate build/evalforge-artifact.json --policy examples/promptfoo_policy.json`. Expected output is the gate verdict; verify the adapter accepted results schema 3.
Caveat. The promptfoo adapter is verified against promptfoo 0.122.2 and requires results schema 3, so other promptfoo versions may be rejected.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for jsdhwfmax/EvalForge and "Gate promptfoo eval results before a release"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer