Hercules

EvaluateScorers

Evaluate

Agent scorers

A scorer decides whether a reply was any good. Point it at your test cases and it grades every one, so a change to your Agent turns into a number you can compare.

Go to Agent → open an Agent → Evaluate → Scorers.

How does a scorer grade?

An AI does the grading. You describe what a good answer looks like in plain English, and it reads each reply and grades it against what you wrote.

What can I start from?

PresetWhat it asks
Answer accuracyDoes the reply correctly answer the question?
No hallucinationIs everything true, with nothing made up?
Tone & politenessIs the reply polite, professional, and empathetic?
Escalation handlingDoes it give a real next step when needed?
Instruction followingDoes it stick to the Agent's instructions?
SecurityIs the reply free of harmful or unsafe content?

How do I write my own?

Describe what earns a pass, in plain English, and be specific.

Answer accuracy criteria
Pass when the reply answers the question asked and every fact in it matches the expected output. Fail when it answers a different question, or adds a fact the expected output does not support.

Then choose what you want back:

Result typeWhat you get
Pass/failA yes or no
PercentageA score between 0% and 100%
ChoiceOne label from a list you write

Pick the model under What model should we use?. It offers the same tiers your Agent runs on: Lite, Balanced, Expert, and Expert - Fast. Balanced is the usual choice.

Can I try a scorer before saving it?

Yes. There's a preview panel next to what you're writing. Pick a dataset, choose some cases, and click Run on N cases. You get a pass rate and a grade for each one, so you can tighten your wording before saving.

Can a scorer grade real runs?

Yes, as long as it doesn't need an expected answer to compare against. Under Advanced, answer Run this scorer on production runs? and type what share of runs to grade, as any whole percentage from 1 to 100. Grades show up beside the run in Run history, and add up on Analytics.

A scorer that compares against the expected answer can't grade real runs, because a real run doesn't have one.

Additional FAQ

Do scorers have versions?

Yes. Each one keeps its own history, so you can see exactly how your wording changed.

How many scorers can I use in one evaluation?

Up to five, and you can't add more once you hit it. Pick the ones that answer the question you're asking.

Do scorers cost credits?

Yes. Grading uses AI, including every time it grades a real run. See Costs and limits.

My scorer disagrees with me. What now?

Read the reasoning it gives on each case. If the reasoning is fair but your wording was vague, tighten the wording. It only knows what you told it.