﻿---
title: The judge
description: The rubric is graded by an LLM, one criterion at a time. Each is ruled pass, fail or unknown, with a quote from the transcript as evidence. unknown does...
url: https://docs-v3-preview.elastic.dev/concepts/judge
---

# The judge
The rubric is graded by an LLM, one criterion at a time. Each is ruled `pass`, `fail` or `unknown`, with a quote from the
transcript as evidence. `unknown` does not pass.
**What it sees:** the prompt, every tool call with its input and its result, and the final answer. Each result is cut at 2,000
characters and the tool section at 16,000; every cut is marked in what the judge reads. **What it does not see:** the agent's
reasoning, and anything that was cut.
**Honesty rules:**
- Tool output is presented as data, never as instructions to the judge.
- silk checks that each quoted piece of evidence really appears in what the judge was shown, and flags it when it does not.
- It never grades its own homework: the judge is a separate call from the agent, and a deterministic check overrides it.

**Backends** (`--judge`):

| Value           | Calls                    | Needs                                                                |
|-----------------|--------------------------|----------------------------------------------------------------------|
| `cli` (default) | `claude -p`              | the Claude CLI, logged in                                            |
| `anthropic`     | the Messages API         | `ANTHROPIC_API_KEY`; `--judge-model` defaults to `claude-sonnet-5-5` |
| `openai`        | an OpenAI-compatible API | `OPENAI_API_KEY`, `OPENAI_BASE_URL`, and `--judge-model`             |

`--judge-cache <folder>` remembers verdicts, so grading the same transcript against the same criteria again is free.
<note>
  The API backends were tested against stubbed HTTP only. The judge is one call for all criteria, and calibration against human
  labels is not built.
</note>