braintrustdata/autoevals

AutoEvals is a tool for quickly and easily evaluating AI model outputs using best practices.

What it solves

Autoevals simplifies the process of measuring the quality of AI model outputs. It solves the practical difficulties of normalizing metrics, parsing complex model-graded results, and debugging individual evaluation steps, providing a unified interface to compare different testing methods.

How it works

The library provides a collection of pre-built evaluation methods—ranging from LLM-as-a-judge to statistical and heuristic checks—that you can run against your model's inputs, outputs, and expected results. It allows you to use your own custom prompts or non-LLM scoring functions, returning a standardized score object that makes it easy to track and export your performance data.

Who it’s for

It is designed for developers and AI engineers who need a flexible, consistent way to evaluate LLM performance across various tasks like fact-checking, safety, and RAG (Retrieval-Augmented Generation) accuracy without being locked into a single framework.

Highlights

  • Offers a wide library of pre-built evaluators including LLM-graded, RAG-specific, and heuristic methods.
  • Provides a uniform interface to easily swap between different evaluation techniques.
  • Supports custom prompts and scoring logic for specialized use cases.
  • Compatible with both Python and TypeScript environments.
  • Integrates optionally with Braintrust for advanced logging and observability.

Related

  • Project
  • Project
  • Project
  • Project
  • Project