Open-source evaluation framework for RAG pipelines and LLM applications

No updates in 6+ monthsv0.4.32026-01-13PythonApache-2.0
15.0k Completely free Open source

Doc version 1.0 · Updated

Related concepts

Related tools

Overview

Ragas is an open-source framework for evaluating RAG pipelines and LLM applications, with reference-free metrics like faithfulness, answer relevancy, and context precision.
It turns “does this RAG system actually work?” into numbers you can track in CI and compare across changes.

flowchart LR
  qa[question / answer / context] --> r[Ragas]
  r --> judge[(LLM judge)]
  r --> scores[faithfulness / relevancy]

The Code samples tab shows a minimal RAG evaluation.

When to use it

Choose Ragas when retrieval quality matters and you want objective, repeatable metrics for your RAG pipeline — to catch regressions and compare retrievers, chunking, or prompts.