In short.
Pydantic Evals Evaluators Overview is a guide for Python developers evaluating AI outputs and agents, but its examples do not establish evaluation accuracy or operating cost. It explains how to combine exact checks, LLMJudge rubrics and custom logic, apply requirements to individual cases, and aggregate results across an experiment. Installation, provider configuration and compatibility with a particular package release remain unspecified. No examples were executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is the complete captured page at [https://pydantic.dev/docs/ai/evals/evaluators/overview/index.md], including its documentation-index and agent query-parameter notices. Those notices are documentation-access guidance, not evaluator configuration. Linked API references, installation instructions, retry strategies, integration guides and other documentation pages are excluded. No code, evaluator, provider integration or experiment was executed; runtime behavior and evaluation quality remain unassessed.
The overview
Identity
This is the Evaluators Overview documentation page for Pydantic Evals. It teaches how evaluators analyze task outputs and produce pass/fail assertions, numeric scores or categorical labels.
The resource is a guide to a Python library feature. Its original address is [https://pydantic.dev/docs/ai/evals/evaluators/overview/index.md].
Assessment
The guide is useful for deciding which requirements can be checked with exact rules and which need interpretation. Its strongest practical feature is the distinction between checks shared across a dataset and rubrics attached to individual cases.
It provides configuration patterns and explains their intended uses. It does not demonstrate that a particular judge reliably detects factual errors, follows a rubric consistently or agrees with human reviewers.
Users
Python developers building AI applications can use this guide to check output types, required content, response time and qualitative requirements. Agent developers also get an introduction to checking tool choices, arguments, call sequences and request budgets.
Beginners need enough Python to understand imports, classes and dataset construction. Experienced developers will find details about evaluation context, asynchronous methods, exception reporting and experiment-wide evaluators. The page also identifies uses in retrieval-augmented generation, where answers depend on retrieved material.
Capabilities
The deterministic evaluators cover equality, containment, output types, duration limits and matching execution spans. Agent-oriented options include ToolCorrectness for tool-name coverage, TrajectoryMatch for sequence quality using F1, ArgumentCorrectness for tool arguments, and MaxToolCalls and MaxModelRequests for step budgets.
LLMJudge evaluates outputs against a written rubric. Custom evaluators can use domain logic or external services, and plain functions are also supported. Report evaluators analyze an entire experiment after its cases finish, supporting analyses such as confusion matrices, precision-recall curves and aggregate metrics.
Using it
Requirements
The examples use Python and imports from pydantic_evals. The page does not specify a minimum Python version, package version, installation command or dependency constraints.
Judge-model selection, provider access and authentication are not explained. The page states that ctx.span_tree contains OpenTelemetry spans when Logfire is configured; it does not establish the full tracing setup needed for each behavior evaluator. Custom evaluators may introduce additional dependencies, as the SQL example does with sqlparse.
Mechanism
Each per-case evaluator receives an EvaluatorContext containing inputs, output, optional expected output and metadata, duration in seconds, spans, custom metrics and attributes. It can return a boolean assertion, a numeric score, a string label or a dictionary containing multiple results.
Dataset-level evaluators apply to every case, while case-specific evaluators apply only to their assigned cases. Both synchronous and asynchronous evaluate methods are supported. Exceptions are captured as EvaluatorFailure entries containing the evaluator name, error message and stack trace in report.cases[i].evaluator_failures.
Setup
The documented configuration pattern is to create Case objects, place them in a Dataset and attach evaluators either to the dataset or to individual cases. LLMJudge takes a rubric, and the examples use include_input=True to include task inputs in judging.
A reasonable starting point is one representative case with an exact check, followed by a narrowly written judge rubric where interpretation is necessary. The page does not show a complete installation-to-execution walkthrough, including provider configuration or the call that runs an experiment.
Example
The introductory example creates a case asking what 2+2 is, stores 4 as its expected output and attaches an LLMJudge rubric about factual accuracy with include_input=True. It demonstrates configuration; it supplies no observed task output or evaluation result.
A larger customer-support example gives refund, shipping and angry-customer cases different rubrics. This shows how one dataset can express different expectations for each situation without requiring one exact answer string. The business requirements in those rubrics are illustrative.
Assessment & evidence
Limitations
The page identifies model-based judging as slower, nondeterministic and potentially biased. It provides no measured judge accuracy, bias assessment or evidence that a passing rubric establishes complete factual correctness.
Several custom examples illustrate interfaces rather than complete validators. ValidSQL only calls sqlparse.parse and treats exceptions as failure; that does not establish database compatibility, execution safety or whether the query answers the task. ConfidenceScore returns a fixed 0.87 rather than calculating calibrated confidence.
Placing deterministic checks before LLMJudge in an evaluator list does not establish that a failed check prevents later judge calls. No examples were executed, and runtime behavior, performance and integration reliability were not assessed.
Reasoning
The guide supports using deterministic checks for requirements that can be stated exactly, such as types, required values and call budgets. LLMJudge is a better conceptual fit for requirements involving meaning, tone or completeness, with the documented tradeoffs in cost and consistency.
A practical approach is to combine shared rules with case-specific rubrics, then use report evaluators to examine patterns across cases. This is a design recommendation based on the documented mechanisms, not a demonstrated improvement in evaluation quality.
Alternatives
Within Pydantic Evals, the page presents built-in rules, LLMJudge, custom Evaluator subclasses and plain functions as different ways to express evaluation logic.
It also points to GEval, adaptable judge rubrics associated with Ragas metrics and GEMBA, and integrations intended to use upstream implementations from frameworks such as Ragas and DeepEval. Those linked resources are outside this page, so their implementation details, compatibility, costs and comparative quality are not assessed.
Evidence
The evidence is the complete Evaluators Overview page from Pydantic's documentation at [https://pydantic.dev/docs/ai/evals/evaluators/overview/index.md]. It contains explanatory text, API names and Python examples, but no execution logs, measured benchmark results or independent comparison study.
Statements about library behavior come from this documentation rather than observed execution.
Access & freshness
Costs
The documentation describes deterministic checks as having no cost and says LLMJudge costs money. That distinction does not establish the total cost of running an evaluation suite or the application being evaluated.
No prices, judge model, usage estimate or complete operating-cost example are provided. Provider charges, any external-service charges and total operating cost are unknown. The page's general timing descriptions are not measured results for a particular workload.
Rights
No license statement or reuse terms appear in the supplied page. The licenses covering the library, documentation and code examples are unknown from this evidence, so permission to redistribute or modify those materials is not established.
Freshness
The documentation snapshot was captured on 14 November 2026 at 18:29:07 UTC. The supplied page does not identify its publication date, last-update date or corresponding package version.
Capture time identifies the snapshot, but does not establish compatibility with a particular installed release. Changes after that capture are unknown.
Actions
Before adopting the examples, confirm the API and installation requirements for your chosen Pydantic Evals release, configure the intended judge model and provider access, and establish any tracing needed for behavior checks.
Start with representative cases containing known acceptable and unacceptable outputs. Inspect evaluator failures separately from failed assertions, compare judge decisions with human expectations, and measure latency and provider usage before expanding coverage. These are recommended next steps; no such results are supplied.
