Ragas
by Exploding Gradients
What is Ragas? Ragas is a rag & retrieval eval made by Exploding Gradients. An open-source library of metrics for RAG apps and agents, such as whether an answer is faithful to the retrieved context.
Editor note
An open-source library of metrics for RAG apps and agents, such as whether an answer is faithful to the retrieved context.
- What it tests
- Faithfulness, relevance and retrieval quality of your own RAG system.
- Original source
- docs.ragas.io/
- Last updated
- Not checked yet
- License
- Not checked yet — see source
Pricing and features: see Ragas pricing, free tier and features (checked 2026-10-27) and all 12 LLM evaluation tools compared.
When to use Ragas
- You are building a RAG pipeline and want metrics for retrieval and answer quality without first writing ground-truth answers.
- You need a test set and don't have one: Ragas can generate test data.
Limitations
- Many metrics use an LLM to grade, so scores depend on the grading model and can shift when it changes.
- Reference-free metrics measure things like faithfulness to the retrieved context; they do not prove the answer is correct.
- It is a framework for scoring your own system, not a fixed benchmark with a public leaderboard.
How to run it
- Install from PyPI.
- Use the quickstart to scaffold a RAG evaluation project, then pick metrics and an LLM to grade with.
pip install ragas
ragas quickstart rag_eval -o ./my-projectNotable results
- The Ragas paper proposes a suite of metrics for retrieval relevance, faithful use of the context and generation quality, without human ground-truth annotations. [Paper (arXiv)]
Sources
Related on Evals Review
- DeepEval and Confident AI alternatives: Ragas, Promptfoo and hosted platforms set side by side for teams leaving DeepEval
Compare Ragas
Related rag & retrieval evals
- BEIR — Zero-shot retrieval across diverse domains.
- MTEB Leaderboard — Embedding model quality for search and RAG.
- CRAG — End-to-end RAG answer correctness and hallucination.
- FRAMES — Multi-hop retrieval-augmented answering.
Discussion
No one has discussed Ragas yet. Have you run it? Share what it caught, what it missed or how you set it up.