JT / SAGE IDEAS Work with me

Eval frameworks

Promptfoo vs RAGAS

A general-purpose eval runner versus a RAG-specific metric library.

If you are building a RAG system, you will eventually ask which eval tool to wire in. These two answer different questions. Promptfoo is a general eval runner. Point it at prompts, models, or a whole app and gate the results in CI. RAGAS is a Python library of metrics built for retrieval-augmented generation, like faithfulness and context precision.

Side by side

Promptfoo vs RAGAS, side by side
DimensionPromptfooRAGAS
What it isA general LLM eval runner with red-teamingA RAG-focused metric library for Python
LicenseOpen sourceOpen source
ScopeAny prompt, model, or appRetrieval and generation pipelines
You work inYAML config and CLI, with JS/TS supportPython scripts and notebooks
MetricsAssertions, model-graded, customRAG metrics like faithfulness and context recall
Retrieval-awareNot the default focusYes, its whole point
CI gatingBuilt for itPossible, but you wire it yourself
Best forA test gate across any LLM workFinding where a RAG pipeline breaks

When to pick which

Pick Promptfoo if

You want one tool to test prompts, compare models, gate outputs in CI, and scan for prompt injection across a codebase that is about more than RAG. Promptfoo gets you a passing gate fast from a config file, and it does not care what language your app is written in.

Pick RAGAS if

You have a RAG pipeline and you need to know whether retrieval pulls the right chunks and whether the answer stays faithful to them. RAGAS gives you metrics built for exactly that, so you can separate a retrieval problem from a generation problem.

Comparisons reflect each tool's general positioning as of 2026 and focus on architecture and fit rather than fast-moving pricing or version details. Check each project's own docs before you commit.

Receipts · the newsletter

Receipts: AI engineering, with the evidence attached.

One real finding with its proof, one runnable lab, and one thing I would do differently. Weekly, Tuesday morning, a five-minute read.

required

Free. One email a week. Confirm first, unsubscribe in one click. How it works

Not ready to talk yet?

Get the AI release-readiness checklist

Eighteen checks to pass before an LLM feature meets a customer. The checklist is free and open: no email wall. Leave one email and I also send the sample evaluation report that goes with it. One email is all I ask for.

required

Inside the checklist: 18 checks, 5 groups

  • Ground truthwithout this, every other check is opinion3 checks
  • Measurement"it seems better" is not a metric4 checks
  • Safety batterythe failure modes that end up in screenshots5 checks
  • The gatea red eval that blocks nothing is decoration3 checks
  • Blast-radius controlautonomy is earned with evidence, never assumed3 checks

Have a system that needs to work?

Tell me the problem. I will tell you honestly whether I am the right engineer for it.

Book a 15-minute call Run a free audit Not sure what you need? Answer 3 questions