> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coval.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Choose a metric

> Find the right metric by what you want to measure.

The [Metric Library](https://docs.coval.ai/concepts/metrics/overview.md#the-metric-library) is organized by *how* each metric works. This page flips that around: start from **what you want to measure** and jump straight to the metrics that measure it.

> [!TIP]
>
> **Just starting out?** A solid baseline for most agents is [Latency](https://docs.coval.ai/concepts/metrics/types/statistical.md#latency), [End Reason](https://docs.coval.ai/concepts/metrics/types/deterministic.md#end-reason), and one custom [Binary LLM Judge](https://docs.coval.ai/concepts/metrics/types/llm-judge.md#binary-llm-judge) for your specific success criteria. Add more as you learn where your agent struggles.

## Did the agent do its job? (task resolution & correctness)

| Metric | What it tells you |
| - | - |
| [Binary LLM Judge](https://docs.coval.ai/concepts/metrics/types/llm-judge.md#binary-llm-judge) | A yes/no answer to your exact success question |
| [Agentic LLM Judge](https://docs.coval.ai/concepts/metrics/judge-modes.md#agentic-mode) | An evidence-backed answer when success depends on what the agent did behind the scenes |
| [Composite Evaluation](https://docs.coval.ai/concepts/metrics/types/llm-judge.md#composite-evaluation) | Several pass/fail criteria scored together |
| [End Reason](https://docs.coval.ai/concepts/metrics/types/deterministic.md#end-reason) | How the conversation ended (resolved, transferred, dropped) |
| [Match Expected Output](https://docs.coval.ai/concepts/metrics/types/deterministic.md#match-expected-output) | Whether the outcome matches a known-correct value |

## Was it fast and responsive? (latency & reliability)

| Metric | What it tells you |
| - | - |
| [Latency](https://docs.coval.ai/concepts/metrics/types/statistical.md#latency) | How long the agent takes to respond |
| [Time to First Audio](https://docs.coval.ai/concepts/metrics/types/statistical.md#time-to-first-audio) | Delay before the agent starts speaking |
| [Agent Fails to Respond](https://docs.coval.ai/concepts/metrics/types/deterministic.md#agent-fails-to-respond) | Turns where the agent went silent |
| [Agent Needs Reprompting](https://docs.coval.ai/concepts/metrics/types/deterministic.md#agent-needs-reprompting) | Times the user had to repeat themselves |
| [Agent Repeats Itself](https://docs.coval.ai/concepts/metrics/types/statistical.md#agent-repeats-itself) | Looping or repeated agent responses |
| [LLM / STT / TTS Time to First Byte](https://docs.coval.ai/concepts/metrics/types/trace.md#llm-time-to-first-byte) | Where latency comes from in your pipeline |

## Does it sound natural? (voice quality — voice agents)

| Metric | What it tells you |
| - | - |
| [Interruption Rate](https://docs.coval.ai/concepts/metrics/types/statistical.md#interruption-rate) | How often the agent talks over the user |
| [Phonemes per Second](https://docs.coval.ai/concepts/metrics/types/statistical.md#phonemes-per-second) | Whether the agent speaks too fast or too slow |
| [Pitch Variability](https://docs.coval.ai/concepts/metrics/types/statistical.md#pitch-variability) | Monotone vs. natural intonation |
| [Volume-Pitch Misalignment](https://docs.coval.ai/concepts/metrics/types/statistical.md#volume-pitch-misalignment) | Unnatural volume/pitch mismatches |
| [Voice Quality](https://docs.coval.ai/concepts/metrics/types/statistical.md#voice-quality) | Acoustic naturalness of the voice; higher is better |
| [Pause Analysis](https://docs.coval.ai/concepts/metrics/types/statistical.md#pause-analysis) | Pause timing and frequency during speech |

## Does the audio have signal artifacts? (voice agents)

| Metric | What it tells you |
| - | - |
| [Clipping Artifact](https://docs.coval.ai/concepts/metrics/types/statistical.md#clipping-artifact) | Fraction of analyzed speech in runs of near-full-scale saturation; lower is better |
| [Dropout Artifact](https://docs.coval.ai/concepts/metrics/types/statistical.md#dropout-artifact) | Brief, abrupt attenuation events per minute; lower is better |
| [Codec Artifact](https://docs.coval.ai/concepts/metrics/types/statistical.md#codec-artifact) | Mean spectral anomaly severity, from 0 to 1; lower is better |
| [Speech Artifact Anomaly](https://docs.coval.ai/concepts/metrics/types/statistical.md#speech-artifact-anomaly) | Composite score across supported speech artifact checks; higher is better |

These metrics flag different audio patterns; their scores do not identify a technical cause. A low clipping score can miss distortion after rescaling, and natural speech gaps can resemble dropouts. See the [Statistical metrics](https://docs.coval.ai/concepts/metrics/types/statistical.md) page for each metric's scope and interpretation.

## How did the customer feel? (sentiment & experience)

| Metric | What it tells you |
| - | - |
| [Transcript Sentiment](https://docs.coval.ai/concepts/metrics/types/ml-model.md#transcript-sentiment) | Sentiment inferred from the text |
| [Audio Sentiment](https://docs.coval.ai/concepts/metrics/types/ml-model.md#audio-sentiment) | Sentiment inferred from the audio (tone, not just words) |
| [Composite Evaluation](https://docs.coval.ai/concepts/metrics/types/llm-judge.md#composite-evaluation) | A blended experience score across criteria you define |

## Did it follow the rules? (compliance & scripting)

| Metric | What it tells you |
| - | - |
| [Transcript Regex Match](https://docs.coval.ai/concepts/metrics/types/deterministic.md#transcript-regex-match) | Whether required phrases appear — or use absent-match to enforce "never say X" |
| [Binary](https://docs.coval.ai/concepts/metrics/types/llm-judge.md#binary-llm-judge) / [Categorical LLM Judge](https://docs.coval.ai/concepts/metrics/types/llm-judge.md#categorical-llm-judge) | Policy, tone, and disclosure checks |

## Did it do the right things behind the scenes? (tools & traces)

| Metric | What it tells you |
| - | - |
| [Tool Call Count](https://docs.coval.ai/concepts/metrics/types/trace.md#tool-call-count) | Whether the agent called the tools it should have |
| [Custom Trace](https://docs.coval.ai/concepts/metrics/types/trace.md#custom-trace) | Any value extracted from your OpenTelemetry spans |
| [API State](https://docs.coval.ai/concepts/metrics/types/deterministic.md#api-state) | State your backend reports for the call |
| LLM Judge with [Trace context](https://docs.coval.ai/concepts/metrics/configuring-metrics.md#trace-context) | Verify tool usage and order that isn't visible in the transcript |
| [Agentic LLM Judge](https://docs.coval.ai/concepts/metrics/judge-modes.md#agentic-mode) | Investigate conversation and execution evidence when the answer depends on what the agent actually did |

## Was the audio transcribed accurately? (STT accuracy)

| Metric | What it tells you |
| - | - |
| [STT Word Error Rate](https://docs.coval.ai/concepts/metrics/types/trace.md#stt-word-error-rate) | How accurately speech was transcribed |
| [Transcription Error](https://docs.coval.ai/concepts/metrics/types/ml-model.md#transcription-error) | Likely transcription mistakes in the conversation |

## What did it cost? (usage)

| Metric | What it tells you |
| - | - |
| [LLM Token Usage](https://docs.coval.ai/concepts/metrics/types/trace.md#llm-token-usage) | Tokens consumed per conversation |

## Need a measurement specific to your agent?

Use a [SQL metric](https://docs.coval.ai/concepts/metrics/sql-metrics.md) when you can define an exact rule over recorded conversation data: count calls to a particular tool, measure speaking-segment durations, or count messages matching a text rule. SQL produces a numeric score without an LLM judge. For questions that need interpretation, such as whether a response was helpful, choose an [LLM Judge](https://docs.coval.ai/concepts/metrics/types/llm-judge.md).

***

Once you know which metrics you want, [add them to a run](https://docs.coval.ai/concepts/metrics/quickstart.md). For anything custom, see [Write judge prompts](https://docs.coval.ai/concepts/metrics/writing-judge-prompts.md) and [Configure metrics](https://docs.coval.ai/concepts/metrics/configuring-metrics.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.