#1414th of 87 in Gateways and observability

ragas

Python library for scoring LLM and RAG application outputs with metrics

Stars
16.5k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 35 weeks+3,477
25 Mar 2026: 12,992 stars1 Apr 2026: 13,085 stars8 Apr 2026: 13,181 stars15 Apr 2026: 13,299 stars22 Apr 2026: 13,490 stars29 Apr 2026: 13,613 stars6 May 2026: 13,704 stars13 May 2026: 13,802 stars20 May 2026: 13,895 stars27 May 2026: 14,008 stars3 Jun 2026: 14,140 stars10 Jun 2026: 14,249 stars17 Jun 2026: 14,334 stars24 Jun 2026: 14,438 stars1 Jul 2026: 14,532 stars8 Jul 2026: 14,675 stars15 Jul 2026: 14,789 stars22 Jul 2026: 14,896 stars29 Jul 2026: 14,980 stars5 Aug 2026: 15,100 stars12 Aug 2026: 15,247 stars19 Aug 2026: 15,349 stars26 Aug 2026: 15,453 stars2 Sept 2026: 15,563 stars9 Sept 2026: 15,668 stars16 Sept 2026: 15,735 stars23 Sept 2026: 15,816 stars30 Sept 2026: 15,877 stars7 Oct 2026: 15,950 stars14 Oct 2026: 16,030 stars21 Oct 2026: 16,122 stars28 Oct 2026: 16,192 stars4 Nov 2026: 16,264 stars11 Nov 2026: 16,332 stars18 Nov 2026: 16,413 stars25 Nov 2026: 16,469 stars

12,992 on 25 Mar 202616,469 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Ragas is a Python package for evaluating LLM applications. It ships pre-built and custom metrics, including LLM-judged ones such as DiscreteMetric, and can generate test datasets when none exist. It integrates with LangChain and observability tools, and a `ragas quickstart rag_eval` command scaffolds an example RAG evaluation project.

Who it is for: Developers measuring the quality of LLM and RAG apps in Python

Ranked among open-source alternatives to LangSmith (#6 of 10).

Strengths

  • Installs with pip; quickstart command scaffolds a RAG evaluation project
  • Custom metrics defined by a prompt and allowed values, scored asynchronously
  • Generates test datasets when none are available
  • Apache-2.0 licensed; telemetry can be disabled with RAGAS_DO_NOT_TRACK

Weaknesses

  • LLM-based metrics need an external model, such as an OpenAI key in the example
  • Only the rag_eval quickstart template exists; other templates are listed as coming soon
  • Collects anonymized usage analytics by default; opt-out required
  • No UI or hosted dashboard described in the README

What it needs

  • no GPU
  • Needs LLM provider API (OpenAI in example)
  • Models: OpenAI, LangChain

What changed

  1. v0.4.4 ↗ (opens in a new tab)Security fix

    CVE-2026-6587, GHSA-95WW-475F-PR4F. “This release restores a working install, fixes a published security vulnerability, and makes Ragas work again with current OpenAI and Anthropic models.”

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Known problems

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Also in Gateways and observability

See all 87
Also in Gateways and observability
RankProjectScore
#12promptfooCLI and library for evaluating and red-teaming LLM apps27.8k starsMIT86 out of 100
#13clawrouterLocal LLM router that picks the cheapest capable model per request6.7k starsMIT85 out of 100
#15axonhubLLM gateway that translates between OpenAI, Anthropic and Gemini APIs Live demo ↗ (opens in a new tab)5.5k starsApache-2.084 out of 100
#16BifrostGo AI gateway with web UI, fallbacks, budgets and semantic caching10.1k stars+883 (+9.6%) in 30 daysApache-2.083 out of 100
#17tregTool registry proxy giving agents one token for a priced API catalog9.9k starscustom license83 out of 100