Ragas website screenshot

Ragas

Ragas is an open-source evaluation toolkit for Large Language Model applications, with particular depth on Retrieval Augmented Generation (RAG) and agentic systems. Originally created under the Exploding Gradients organization on GitHub and now maintained by Vibrant Labs AI, Ragas is a Python library distributed on PyPI under the Apache 2.0 license. It moves teams from informal "vibe checks" to systematic evaluation loops by providing objective LLM-based and traditional metrics, automated test dataset generation, experiment tracking, and integrations with the broader LLM ecosystem including LangChain, LlamaIndex, OpenAI, Anthropic, and popular observability platforms. Ragas exposes a metrics library covering faithfulness, response relevancy, context precision and recall, factual correctness, semantic similarity, agent tool-use accuracy, SQL equivalence, Nvidia-defined RAG metrics, and general-purpose rubric scoring. The project ships a CLI (`ragas`) with quickstart templates such as `rag_eval`, and is consumed primarily as a `pip install ragas` library rather than as a hosted API service. Ragas is widely cited as a default evaluation harness for RAG applications and has grown a substantial community on GitHub and Discord.

Ragas publishes 1 API on the APIs.io network. Tagged areas include LLM Evaluation, RAG Evaluation, Retrieval Augmented Generation, AI Evaluation, and Open Source.

Ragas’ developer surface includes documentation, getting-started guide, release notes, and 14 more developer resources.

12.6/100 minimal ▬ flat Agent 0/100 human only Full breakdown ↓
scored 2026-08-05 · rubric v0.9.1
1 APIs 10 Features 6 Use Cases
LLM EvaluationRAG EvaluationRetrieval Augmented GenerationAI EvaluationOpen SourcePythonMetricsTest Data GenerationAgent EvaluationLLM Tooling

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-05 · rubric v0.9.1
Composite quality — 12.6/100 · minimal
Contract Quality 0.0 / 25
Developer Ergonomics 3.9 / 20
Commercial Clarity 0.0 / 20
Operational Transparency 2.7 / 13
Governance 0.0 / 12
Discoverability 5.9 / 10
Agent readiness — 0/100 · human only
Machine-Readable Contract 0 / 18
Agentic Access Contract 0 / 10
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 0 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/ragas-ai: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 1

Individual APIs this provider publishes, each with its own machine-readable definition.

Ragas Python Library

The Ragas Python library is the primary surface of the project, installed via `pip install ragas` and imported as `ragas`. It exposes evaluation entry points (`ragas.evaluate`),...

Features 10

Notable capabilities this provider offers.

RAG Evaluation Metrics

Faithfulness, Response Relevancy, Context Precision, Context Recall, Context Entities Recall, and Noise Sensitivity for retrieval augmented generation pipelines.

Agent and Tool-Use Metrics

Topic Adherence, Tool Call Accuracy, Tool Call F1, and Agent Goal Accuracy for evaluating multi-step agentic systems.

Natural Language Comparison

Factual Correctness, Semantic Similarity, BLEU, ROUGE, CHRF, Exact Match, and String Presence metrics for output comparison.

SQL Evaluation

Execution-based Datacompy Score and SQL Query Equivalence metrics for text-to-SQL applications.

General Purpose Scoring

Aspect Critic, Simple Criteria Scoring, Rubrics-based scoring, and instance-specific rubrics for custom evaluation criteria.

Nvidia Metrics

Answer Accuracy, Context Relevance, and Response Groundedness metrics contributed by Nvidia for RAG quality.

Test Data Generation

Automated synthesis of diverse test datasets covering single-hop, multi-hop, and abstract query types over user knowledge bases.

Experiments

Experiment-first workflow comparing prompts, models, and configurations across datasets with iterative result tracking.

Custom Metrics

DiscreteMetric and decorator-based APIs for defining LLM-judge and rule-based custom evaluation metrics.

CLI Quickstart Templates

The `ragas quickstart` command scaffolds evaluation projects including the `rag_eval` template for RAG systems.

Scroll for all 10

Security Posture 1

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Ragas Ai Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Use Cases 6

What developers build with this provider.

RAG Pipeline Evaluation

Scoring retrieval and generation quality in RAG applications across faithfulness, relevance, and context fidelity.

Agent Evaluation

Measuring tool-call correctness, goal completion, and topic adherence in multi-step LLM agents.

Regression Testing in CI

Running Ragas metrics in CI pipelines to detect quality regressions across prompt, model, and configuration changes.

Model and Prompt Selection

Comparing candidate models and prompt variants on a fixed dataset using Ragas experiments.

Synthetic Test Set Generation

Generating diverse evaluation datasets from a knowledge base for systematic LLM testing.

Text-to-SQL Evaluation

Validating generated SQL against reference queries using execution and structural equivalence metrics.

Integrations 9

Pre-built integrations with other platforms and tools.

LangChain

Native integration for evaluating LangChain chains, retrievers, and agents using Ragas metrics.

LlamaIndex

Integration for evaluating LlamaIndex RAG pipelines and query engines.

OpenAI

Default LLM judge backend uses OpenAI models such as GPT-4 class judges.

Anthropic

Anthropic Claude models supported as LLM judges via the LangChain LLM abstraction.

Hugging Face

Support for Hugging Face embeddings and models as judges, plus dataset interop via the `datasets` library.

LangSmith

Result tracking and trace inspection via LangSmith observability.

Arize Phoenix

Observability integration for tracing Ragas evaluations alongside production LLM traffic.

Helicone

LLM cost and trace observability for Ragas-driven evaluations.

Pandas

Datasets and evaluation results are exposed as pandas DataFrames for analysis.

Scroll for all 9

Resources

Get Started 1

Portal, sign-up, and the first successful call

Documentation 2

Reference material describing how the API behaves

Build 3

SDKs, sample code, and the tooling you integrate with

Access & Security 1

Authentication, authorization, and security posture

Operate 4

Status, limits, changes, and where to get help

Commercial 1

Pricing, plans, and the legal terms of use

Company 2

The organization behind the API

Other 3

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: ragas-ai
name: Ragas
description: Ragas is an open-source evaluation toolkit for Large Language Model applications, with particular depth on Retrieval
  Augmented Generation (RAG) and agentic systems. Originally created under the Exploding Gradients organization on GitHub
  and now maintained by Vibrant Labs AI, Ragas is a Python library distributed on PyPI under the Apache 2.0 license. It moves
  teams from informal "vibe checks" to systematic evaluation loops by providing objective LLM-based and traditional metrics,
  automated test dataset generation, experiment tracking, and integrations with the broader LLM ecosystem including LangChain,
  LlamaIndex, OpenAI, Anthropic, and popular observability platforms. Ragas exposes a metrics library covering faithfulness,
  response relevancy, context precision and recall, factual correctness, semantic similarity, agent tool-use accuracy, SQL
  equivalence, Nvidia-defined RAG metrics, and general-purpose rubric scoring. The project ships a CLI (`ragas`) with quickstart
  templates such as `rag_eval`, and is consumed primarily as a `pip install ragas` library rather than as a hosted API service.
  Ragas is widely cited as a default evaluation harness for RAG applications and has grown a substantial community on GitHub
  and Discord.
type: Index
accessModel:
  pricing: unknown
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Unknown
  confidence: low
  source: []
  generated: '2026-07-22'
  method: derived
position: Provider
access: 3rd-Party
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/ragas-ai.png
tags:
- LLM Evaluation
- RAG Evaluation
- Retrieval Augmented Generation
- AI Evaluation
- Open Source
- Python
- Metrics
- Test Data Generation
- Agent Evaluation
- LLM Tooling
url: https://raw.githubusercontent.com/api-evangelist/ragas-ai/refs/heads/main/apis.yml
created: '2026-05-25'
modified: '2026-05-25'
specificationVersion: '0.20'
apis:
- aid: ragas-ai:ragas
  name: Ragas Python Library
  description: The Ragas Python library is the primary surface of the project, installed via `pip install ragas` and imported
    as `ragas`. It exposes evaluation entry points (`ragas.evaluate`), metric classes (Faithfulness, AnswerRelevancy, ContextPrecision,
    ContextRecall, FactualCorrectness, SemanticSimilarity, ToolCallAccuracy, AgentGoalAccuracy, and more), dataset generation
    utilities, and integrations with LangChain and LlamaIndex. The library is not an HTTP API — it is consumed in-process
    by Python evaluation scripts, notebooks, and CI pipelines.
  humanURL: https://docs.ragas.io/
  tags:
  - Python
  - Library
  - Evaluation
  - RAG
  properties:
  - url: https://docs.ragas.io/
    type: Documentation
  - url: https://github.com/explodinggradients/ragas
    type: SourceCode
  - url: https://pypi.org/project/ragas/
    type: SDKs
  - url: https://github.com/explodinggradients/ragas/blob/main/LICENSE
    type: License
common:
- type: DomainSecurity
  url: security/ragas-ai-domain-security.yml
- type: Website
  url: https://www.ragas.io/
- type: Documentation
  url: https://docs.ragas.io/
- type: GettingStarted
  url: https://docs.ragas.io/en/stable/getstarted/
- type: Concepts
  url: https://docs.ragas.io/en/stable/concepts/
- type: Metrics
  url: https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/
- type: HowToGuides
  url: https://docs.ragas.io/en/stable/howtos/
- type: SourceCode
  url: https://github.com/explodinggradients/ragas
- type: GitHubOrganization
  url: https://github.com/explodinggradients
- type: Package
  url: https://pypi.org/project/ragas/
- type: License
  url: https://github.com/explodinggradients/ragas/blob/main/LICENSE
- type: Issues
  url: https://github.com/explodinggradients/ragas/issues
- type: ReleaseNotes
  url: https://github.com/explodinggradients/ragas/releases
- type: Discord
  url: https://discord.gg/5djav8GGNZ
- type: Twitter
  url: https://twitter.com/ragas_io
- type: Company
  url: https://www.vibrantlabs.ai/
- type: Contact
  url: mailto:founders@vibrantlabs.com
- type: Features
  data:
  - name: RAG Evaluation Metrics
    description: Faithfulness, Response Relevancy, Context Precision, Context Recall, Context Entities Recall, and Noise Sensitivity
      for retrieval augmented generation pipelines.
  - name: Agent and Tool-Use Metrics
    description: Topic Adherence, Tool Call Accuracy, Tool Call F1, and Agent Goal Accuracy for evaluating multi-step agentic
      systems.
  - name: Natural Language Comparison
    description: Factual Correctness, Semantic Similarity, BLEU, ROUGE, CHRF, Exact Match, and String Presence metrics for
      output comparison.
  - name: SQL Evaluation
    description: Execution-based Datacompy Score and SQL Query Equivalence metrics for text-to-SQL applications.
  - name: General Purpose Scoring
    description: Aspect Critic, Simple Criteria Scoring, Rubrics-based scoring, and instance-specific rubrics for custom evaluation
      criteria.
  - name: Nvidia Metrics
    description: Answer Accuracy, Context Relevance, and Response Groundedness metrics contributed by Nvidia for RAG quality.
  - name: Test Data Generation
    description: Automated synthesis of diverse test datasets covering single-hop, multi-hop, and abstract query types over
      user knowledge bases.
  - name: Experiments
    description: Experiment-first workflow comparing prompts, models, and configurations across datasets with iterative result
      tracking.
  - name: Custom Metrics
    description: DiscreteMetric and decorator-based APIs for defining LLM-judge and rule-based custom evaluation metrics.
  - name: CLI Quickstart Templates
    description: The `ragas quickstart` command scaffolds evaluation projects including the `rag_eval` template for RAG systems.
- type: UseCases
  data:
  - name: RAG Pipeline Evaluation
    description: Scoring retrieval and generation quality in RAG applications across faithfulness, relevance, and context
      fidelity.
  - name: Agent Evaluation
    description: Measuring tool-call correctness, goal completion, and topic adherence in multi-step LLM agents.
  - name: Regression Testing in CI
    description: Running Ragas metrics in CI pipelines to detect quality regressions across prompt, model, and configuration
      changes.
  - name: Model and Prompt Selection
    description: Comparing candidate models and prompt variants on a fixed dataset using Ragas experiments.
  - name: Synthetic Test Set Generation
    description: Generating diverse evaluation datasets from a knowledge base for systematic LLM testing.
  - name: Text-to-SQL Evaluation
    description: Validating generated SQL against reference queries using execution and structural equivalence metrics.
- type: Integrations
  data:
  - name: LangChain
    description: Native integration for evaluating LangChain chains, retrievers, and agents using Ragas metrics.
  - name: LlamaIndex
    description: Integration for evaluating LlamaIndex RAG pipelines and query engines.
  - name: OpenAI
    description: Default LLM judge backend uses OpenAI models such as GPT-4 class judges.
  - name: Anthropic
    description: Anthropic Claude models supported as LLM judges via the LangChain LLM abstraction.
  - name: Hugging Face
    description: Support for Hugging Face embeddings and models as judges, plus dataset interop via the `datasets` library.
  - name: LangSmith
    description: Result tracking and trace inspection via LangSmith observability.
  - name: Arize Phoenix
    description: Observability integration for tracing Ragas evaluations alongside production LLM traffic.
  - name: Helicone
    description: LLM cost and trace observability for Ragas-driven evaluations.
  - name: Pandas
    description: Datasets and evaluation results are exposed as pandas DataFrames for analysis.
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com