# Judges

{% hint style="info" %}
**Available in Stratix Premium.** This surface is part of the logged-in workspace at [stratix.layerlens.ai](https://stratix.layerlens.ai). Stratix Public users can browse the catalog but cannot use this feature.
{% endhint %}

A **judge** is an LLM that grades an output along a subjective dimension — helpfulness, faithfulness, tone, safety. Stratix Premium ships with system judges, lets you build custom judges, and tunes them with GEPA.

URL: [`stratix.layerlens.ai/dashboard/agent-evaluation/judges`](https://stratix.layerlens.ai/dashboard/agent-evaluation/judges)

## What you can do

* Browse system judges (vendored, ready-to-use)
* Browse your org's custom judges
* Create a new custom judge
* Test a judge against sample outputs
* GEPA-optimize a judge against labeled examples
* Apply a judge to evaluations and trace evaluations

## System judges

LayerLens ships a small library of system judges for common dimensions:

* Helpfulness
* Faithfulness (RAG-shaped)
* Safety
* Tone-appropriateness
* Brevity / verbosity
* Structured-output validity

Use these as starting points; clone and customize for your team's bar.

## Building a custom judge

The judge builder has 5 fields:

1. **Name and description**
2. **Output type** — binary, scored (1-5), labeled (multi-class)
3. **Judging model** — the LLM that runs the rubric
4. **Rubric** — the prompt
5. **Test examples** — paste samples to validate

A good rubric:

* Names the dimension explicitly
* Shows examples of "good" with labels
* Shows examples of "bad" with labels
* Specifies the output format

## GEPA judge optimization

Once you have ≥30 labeled examples, run **GEPA optimization**. Stratix tunes the rubric prompt to maximize agreement with your labels. See [Judge Optimization (GEPA)](/9.-improve-tune-the-system/judge-optimization.md).

## Applying judges

Judges are reusable across:

* Evaluations (private and shared)
* Trace evaluations
* Agentic evaluations

In any of those flows, the scoring step lets you stack any number of judges alongside scorers.

## Where to next

* [Judge Optimization (GEPA)](/9.-improve-tune-the-system/judge-optimization.md)
* [Concept: Judges](/8.-evaluate-score-the-outputs/judges-1.md)
* [First judge](/2.-get-started/first-judge.md)
* [Tutorial: Build your first judge](/8.-evaluate-score-the-outputs/02-first-judge.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.layerlens.ai/8.-evaluate-score-the-outputs/judges.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
