Skip to content
ai-supply.store
DiscoverCategoriesLeaderboardsCommunityAgent APIFAQ
Sign inSign up free
catalog / Language & NLP / RAGAS
△EvalLanguage & NLPFree

RAGAS

Apache-2.0 RAG evaluation framework — faithfulness, answer relevancy, context recall, and more in one pip install.

@ai-supply
Installs62k
⟳ upstream v0.4.3 · updated 6mo ago
↗ Source repository
← More Language & NLPLanguage & NLP leaderboard →How we grade security →Source ↗
✓ Grade A · 100/100 · SafeSecurity assessment
✓No compromise signals30capabilities surfaced7of 20 OWASP controls clear
External endpoints declaredBroad capability surfaceExternal endpoints declaredSuspicious code patterns
scanned 16d ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓

RAGAS

RAGAS (Retrieval Augmented Generation Assessment) is an open-source framework for evaluating RAG pipelines end-to-end. It provides reference-free metrics that assess both the retrieval and generation stages without requiring ground-truth labels — making it practical for production monitoring as well as offline development.

Key features

  • Reference-free metrics: faithfulness, answer relevancy, context precision, context recall, context entity recall
  • End-to-end dataset evaluation: score entire test sets in one call
  • LangChain and LlamaIndex native integrations
  • LLM-as-judge architecture — configurable judge model
  • CI/CD friendly — JSON output, thresholds, dataset tracking
  • Apache-2.0 license

Quick start

pip install ragas
from ragas import evaluate
from ragas.metrics import faithfulness, answer_relevancy, context_recall
from datasets import Dataset

data = {
    "question": ["What year was Python created?"],
    "answer": ["Python was created in 1991."],
    "contexts": [["Python was created by Guido van Rossum and first released in 1991."]],
    "ground_truth": ["1991"]
}

dataset = Dataset.from_dict(data)
result = evaluate(dataset, metrics=[faithfulness, answer_relevancy, context_recall])
print(result)

Install via ai-supply

npx ai-supply add ragas-rag-evaluation

Curated mirror of the open-source RAGAS (Apache-2.0). Get it from the source.

Rating rank
#1
of 30 in Language & NLP
Install rank
#14
of 30 in Language & NLP
Security score
100/100 · A
safe
Security rank
#1
of 30 in Language & NLP
Installs
62k
cat avg 145k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Language & NLP leaderboard →
✓ Security: Safe · 100100/100 · grade Ascanned 16d ago
✓ no compromise signals30 risk-surface · 8/20 OWASP controls flagged

Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.

Control card · high confidence (static)
framework: ragasframework: pytestframework: langsmithcovers: secrets-leakcovers: hallucinationcovers: piicovers: prompt-injection
evaluated_experiment

Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).

OWASP Top 10 for LLM Applications
⚠LLM01Prompt Injectionhigh
Adversarial instructions embedded in an artifact that hijack a downstream LLM.
•Prompt-injection phrasing — instruction-subversion language detected · vibrantlabsai-ragas-298b682/docs/howtos/integrations/gemini.md (CWE-77)expected
⚠LLM02Sensitive Information Disclosurehigh
Secrets, credentials or PII shipped inside the artifact.
•Email addresses present — contains email-like strings · vibrantlabsai-ragas-298b682/.github/workflows/claude-docs-apply.ymlexpected
•Credit-card-like number — a number passes the Luhn checksum · vibrantlabsai-ragas-298b682/docs/howtos/applications/_cost.md (CWE-359)expected
•Phone number present — contains phone number-like pattern (E.164 or formatted) · vibrantlabsai-ragas-298b682/docs/howtos/customizations/testgenerator/_persona_generator.md (CWE-359)expected
•US-SSN-like pattern — matches ###-##-#### · vibrantlabsai-ragas-298b682/docs/howtos/integrations/nyc_wikipedia/nyc_text.txt (CWE-359)expected
⚠LLM05Improper Output Handlinghigh
Code that pipes model/user output into shell, eval, SQL or paths unsafely.
•Suspicious code patterns — pipe-to-shell install · vibrantlabsai-ragas-298b682/CONTRIBUTING.md (CWE-494)risk surface
•Suspicious code patterns — OS command execution · vibrantlabsai-ragas-298b682/docs/howtos/integrations/llama_stack.md (CWE-78)risk surface
•Suspicious code patterns — dynamic code execution · vibrantlabsai-ragas-298b682/docs/howtos/integrations/llamaindex_agents.md (CWE-95)risk surface
⚠LLM06Excessive Agencyhigh
Over-broad tool/permission surface or unrestricted egress.
•External endpoints declared — 1 distinct host(s) · vibrantlabsai-ragas-298b682/.cursor/commands/update-howto-guide.mdrisk surface
•Broad capability surface — 3 high-impact capability categories referenced — verify least-privilege · vibrantlabsai-ragas-298b682/.github/workflows/ci.yaml (CWE-272)risk surface
•External endpoints declared — 3 distinct host(s) · vibrantlabsai-ragas-298b682/.gitignorerisk surface
•External endpoints declared — 14 distinct host(s) · vibrantlabsai-ragas-298b682/README.mdrisk surface
•Egress to a private/loopback host — 127.0.0.1 · vibrantlabsai-ragas-298b682/docs/INSTALL (CWE-918)risk surface
•External endpoints declared — 2 distinct host(s) · vibrantlabsai-ragas-298b682/docs/INSTALLrisk surface
•External endpoints declared — 28 distinct host(s) · vibrantlabsai-ragas-298b682/docs/community/index.mdrisk surface
•External endpoints declared — 4 distinct host(s) · vibrantlabsai-ragas-298b682/docs/extra/components/choose_evaluator_llm.mdrisk surface
•External endpoints declared — 5 distinct host(s) · vibrantlabsai-ragas-298b682/docs/getstarted/quickstart.mdrisk surface
•External endpoints declared — 7 distinct host(s) · vibrantlabsai-ragas-298b682/docs/howtos/integrations/_arize.mdrisk surface
•External endpoints declared — 6 distinct host(s) · vibrantlabsai-ragas-298b682/docs/howtos/integrations/_athina.mdrisk surface
•Egress to a private/loopback host — 0.0.0.0 · vibrantlabsai-ragas-298b682/docs/howtos/integrations/gemini.md (CWE-918)risk surface
•External endpoints declared — 9 distinct host(s) · vibrantlabsai-ragas-298b682/docs/howtos/integrations/index.mdrisk surface
⚠LLM08Vector and Embedding Weaknesseshigh
PII or plaintext source leakage in embedding/vector exports.
Embedding inversion/poisoning is largely runtime; static check covers PII in vector exports.
•Email addresses present — contains email-like strings · vibrantlabsai-ragas-298b682/.github/workflows/claude-docs-apply.ymlexpected
•Credit-card-like number — a number passes the Luhn checksum · vibrantlabsai-ragas-298b682/docs/howtos/applications/_cost.md (CWE-359)expected
•Phone number present — contains phone number-like pattern (E.164 or formatted) · vibrantlabsai-ragas-298b682/docs/howtos/customizations/testgenerator/_persona_generator.md (CWE-359)expected
•US-SSN-like pattern — matches ###-##-#### · vibrantlabsai-ragas-298b682/docs/howtos/integrations/nyc_wikipedia/nyc_text.txt (CWE-359)expected
⚠LLM10Unbounded Consumptionmedium
Unbounded loops/recursion causing DoS or runaway cost.
Enforced at runtime by the gateway (rate limits + spend caps + size caps); static check flags unbounded loops.
•Potentially unbounded loop — an infinite loop (while True / while(1) / for(;;)) may cause runaway consumption · vibrantlabsai-ragas-298b682/docs/howtos/integrations/swarm_agent_evaluation.md (CWE-835)risk surface
§LLM09MisinformationGovernance
Artifacts designed to produce false/deceptive output.
Detectable only by runtime behavioral evaluation; addressed via responsible-use attestation.
✓LLM03Supply ChainPassed
✓LLM04Data and Model PoisoningPassed
Backdoors/poisoning in training data or serialized models.
Behavioral poisoning needs model execution; static check covers unsafe serialization + dataset skew only.
✓LLM07System Prompt LeakagePassed
OWASP Machine Learning Security Top 10
⚠ML02Data Poisoninghigh
Poisoned training datasets with triggers or anomalous distributions.
Static check covers trigger phrasing, PII and label skew; full poisoning detection is runtime.
•Email addresses present — contains email-like strings · vibrantlabsai-ragas-298b682/.github/workflows/claude-docs-apply.ymlexpected
•Credit-card-like number — a number passes the Luhn checksum · vibrantlabsai-ragas-298b682/docs/howtos/applications/_cost.md (CWE-359)expected
•Phone number present — contains phone number-like pattern (E.164 or formatted) · vibrantlabsai-ragas-298b682/docs/howtos/customizations/testgenerator/_persona_generator.md (CWE-359)expected
•Prompt-injection phrasing — instruction-subversion language detected · vibrantlabsai-ragas-298b682/docs/howtos/integrations/gemini.md (CWE-77)expected
•US-SSN-like pattern — matches ###-##-#### · vibrantlabsai-ragas-298b682/docs/howtos/integrations/nyc_wikipedia/nyc_text.txt (CWE-359)expected
⚠ML09Output Integrityhigh
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
•Suspicious code patterns — pipe-to-shell install · vibrantlabsai-ragas-298b682/CONTRIBUTING.md (CWE-494)risk surface
•Suspicious code patterns — OS command execution · vibrantlabsai-ragas-298b682/docs/howtos/integrations/llama_stack.md (CWE-78)risk surface
•Suspicious code patterns — dynamic code execution · vibrantlabsai-ragas-298b682/docs/howtos/integrations/llamaindex_agents.md (CWE-95)risk surface
§ML01Input Manipulation (Adversarial)Governance
Models vulnerable to adversarial perturbations.
Requires runtime robustness evaluation; addressed via publisher robustness attestation.
§ML03Model InversionGovernance
Training data reconstructable from a model's outputs.
Runtime/evaluation property; addressed via model-card data-provenance + DP attestation.
§ML04Membership InferenceGovernance
Determining whether a record was in the training set.
Runtime/evaluation property; addressed via overfitting disclosure + DP attestation.
§ML08Model SkewingGovernance
Models trained on skewed data producing biased output.
Requires fairness evaluation; addressed via model-card bias/limitations disclosure.
✓ML05Model TheftPassed
Unlicensed re-distribution / license-incompatible derivatives.
Static check verifies license declaration; extraction throttling is runtime.
✓ML06AI Supply ChainPassed
✓ML07Transfer Learning AttackPassed
Backdoored base models / LoRA adapters propagating to derivatives.
Backdoor detection needs behavioral probing; static check covers unsafe serialization + provenance.
✓ML10Model Poisoning (Weights)Passed
Tampered model weight files; integrity must be verifiable.
Static check enforces safe formats + records a content hash for downstream verification.
Other findings (13) · hygiene / uncategorized
•Unrecognized file type — '.mdc' is not on the allowlist · vibrantlabsai-ragas-298b682/.cursor/rules/docs-diataxis-guidelines.mdcrisk surface
•Unrecognized file type — '.dockerignore' is not on the allowlist · vibrantlabsai-ragas-298b682/.dockerignorerisk surface
•Unrecognized file type — '.gitignore' is not on the allowlist · vibrantlabsai-ragas-298b682/.gitignorerisk surface
•Unrecognized file type — '.?' is not on the allowlist · vibrantlabsai-ragas-298b682/LICENSErisk surface
•Suspicious network references — raw IP URL (2 URLs) · vibrantlabsai-ragas-298b682/docs/INSTALLrisk surface
•Suspicious network references — URL shortener (3 URLs) · vibrantlabsai-ragas-298b682/docs/getstarted/evals.mdrisk surface
•Suspicious network references — URL shortener (5 URLs) · vibrantlabsai-ragas-298b682/docs/getstarted/rag_testset_generation.mdrisk surface
•Suspicious network references — raw IP URL (7 URLs) · vibrantlabsai-ragas-298b682/docs/howtos/applications/evaluate-and-improve-rag.mdrisk surface
•Suspicious network references — raw IP URL (3 URLs) · vibrantlabsai-ragas-298b682/docs/howtos/integrations/llama_stack.mdrisk surface
•Suspicious network references — raw IP URL (5 URLs) · vibrantlabsai-ragas-298b682/docs/howtos/llm-adapters.mdrisk surface
•Suspicious network references — URL shortener (1 URLs) · vibrantlabsai-ragas-298b682/docs/index.mdrisk surface
•Disallowed file type — '.bat' executables are not permitted · vibrantlabsai-ragas-298b682/docs/make.bat (CWE-434)risk surface
•Suspicious network references — suspicious TLD (6 URLs) · vibrantlabsai-ragas-298b682/src/ragas/cli.pyrisk surface
✔ verified source · pinned vibrantlabsai-ragas-298b682
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/ragas-rag-evaluation/check). Click a policy:

Consume RAGAS programmatically. Authenticate with an API key or session — see Authorize an agent.

# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/ragas-rag-evaluation

# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/ragas-rag-evaluation/check \
  -H "Content-Type: application/json" \
  -d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'

# CLI
npx ai-supply add ragas-rag-evaluation

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/ragas-rag-evaluation/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "ragas-rag-evaluation" })
OpenAPI spec →
vlatest
✓ Security: Safe · 1001mo ago

Curated mirror — latest upstream source. See the repository for tagged releases.

Sign in and install this listing to leave a review.

More from @ai-supply

View profile →
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 1.0M
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 892k
⇄Connector
Meilisearch
Lightning-fast open-source search engine with typo-tolerance, semantic hybrid search, and sub-50ms response times.
↓ 811k
△Eval
Weights & Biases (wandb)
ML experiment tracking and visualization — log metrics, hyperparameters, models, and media in real time.
↓ 784k
ai-supply.store

Free, security-vetted AI capabilities — skills, MCPs, plugins, agents, datasets and more, each graded and freshness-tracked, and built for humans and agents alike.

api · v3.1status · all green
Contact
support@ai-supply.storesecurity@ai-supply.store
Catalog
  • Discover
  • Categories
  • Leaderboards
  • Benchmarks
  • Security
  • Scan a repo
Community
  • Community
  • FAQ
For agents
  • Quickstart (60s)
  • Authorize an agent
  • Agent API
  • OpenAPI spec
For builders
  • Publish
  • Dashboard
Account
  • Create account
  • Sign in
  • Settings
Legal
  • Terms
  • Publisher Agreement
  • Acceptable Use
  • Privacy