JT / SAGE IDEAS Work with me

Eval frameworks

TruLens vs RAGAS

Feedback-function instrumentation versus ready-made RAG metrics.

If you are testing a RAG pipeline in Python, both of these show up on the shortlist, and both are open source. TruLens is instrumentation first. You wrap your app, log traces, and attach feedback functions that score whatever you point them at. RAGAS is metrics first. It ships ready-made RAG scores like faithfulness and context relevance that you run over a dataset.

Side by side

TruLens vs RAGAS, side by side
DimensionTruLensRAGAS
What it isTracing and feedback-function evals for LLM appsA library of ready-made RAG metrics
LicenseOpen sourceOpen source
Core ideaInstrument your app, then score the tracesRun metrics over a question, answer, and context dataset
RAG metricsYes, plus general feedback functions you defineIts whole focus: faithfulness, relevance, recall
ScopeBroader. Agents and general LLM apps tooCentered on retrieval and generation quality
How you run itLive in-app or offline, with a dashboardOffline eval runs over datasets
Setup effortMore wiring to instrument your appFast to a first score on existing data
Best forObserving and scoring a running app over timeGrading RAG quality on a test set quickly

When to pick which

Pick TruLens if

You want to see what your app actually does at runtime. TruLens shines when you instrument a live pipeline, log traces, and attach your own feedback functions to score retrieval, answers, or custom criteria, then watch it in a dashboard. Reach for it when the app is more than plain RAG, or when observability over time matters.

Pick RAGAS if

You have a RAG pipeline and a set of questions, and you want quality numbers today. RAGAS gives you faithfulness, context relevance, and answer scores out of the box, so you can grade a dataset without designing metrics from scratch. It is the faster path when the job is measuring retrieval and generation quality.

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