libeval

Evaluate RAG agent performance with LLM-as-judge criteria, recall, and trace analyses.

1|1|Updated Aug 7, 2025
One-click install
npx skills add https://github.com/copilot-ld/copilot-ld --skill libeval
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: libeval
Source: https://github.com/copilot-ld/copilot-ld/tree/main/packages/libeval
Command: npx skills add https://github.com/copilot-ld/copilot-ld --skill libeval

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Skill enables automated assessment of RAG agent quality by coordinating evaluation across criteria, recall, and trace analyses, and by persisting results for reporting.

Core Features & Use Cases

  • Evaluator orchestrates evaluation runs across multiple scenarios and models.
  • CriteriaEvaluator scores responses against rubrics using an LLM-based judge.
  • RecallEvaluator validates retrieval coverage by examining memory windows and stored subjects.
  • TraceEvaluator analyzes execution traces for performance, safety, and correctness.
  • EvalStore persists results to enable comprehensive reporting and benchmarking.

Quick Start

Run the evaluation suite defined in config/eval.yml and review the generated SUMMARY.md and per-scenario reports.

Frequently Asked Questions about libeval

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I evaluate RAG agent performance automatically?

You evaluate RAG agent performance automatically by running an evaluation suite that scores responses using LLM-as-judge criteria, validates retrieval recall, and analyzes execution traces. The suite orchestrates tests across multiple scenarios and models, persisting results for benchmarking and reporting.

What does LLM-as-judge evaluation measure in a RAG system?

LLM-as-judge evaluation measures response quality in a RAG system by scoring outputs against predefined rubrics. It uses an LLM to act as a judge, coordinating criteria-based scoring alongside retrieval recall and execution trace analyses to ensure comprehensive quality testing.

How does recall analysis validate retrieval coverage in RAG pipelines?

Recall analysis validates retrieval coverage in RAG pipelines by examining memory windows and stored subjects. It checks whether the agent retrieves necessary information, ensuring the memory component provides adequate context for accurate response generation.

Do I need specific service clients to run RAG trace analysis and evaluation?

Yes, you need specific service clients to run RAG evaluation and trace analysis. The process requires configured clients for the agent, memory, and trace services, an LLM token, a prompt loader, an evaluation index, and config-defined evaluation scenarios.

Can I benchmark multiple models across different RAG evaluation scenarios?

Yes, you can benchmark multiple models across different RAG evaluation scenarios. The evaluator orchestrates runs across various scenarios and models, and the result store persists these outcomes to enable comprehensive reporting and continuous benchmarking.

What is the best way to analyze execution traces for RAG safety and correctness?

The best way to analyze execution traces for RAG safety and correctness is using a dedicated trace evaluator. This component examines execution traces to assess agent performance, safety parameters, and correctness, persisting results alongside recall and criteria scores for reporting.