Table of Contents

Namespace LMKit.Agents.Evaluation

Classes

AgentEvaluationCase

One evaluation case: the user turns played in order against the agent (a follow-up is a second turn), and the checks the final answer and the whole case's tool use must pass.

AgentEvaluationCaseResult

The outcome of one case: whether it passed, each failed check in words, and what the run observed.

AgentEvaluationChecks

What one evaluation case requires, as mechanical checks that pass or fail without a judge: what the final answer must and must not say, which tools must and must not be called, whether the answer must cite its evidence or abstain, and which properties a structured answer must carry. A check left null is not applied.

AgentEvaluationReport

The outcome of a suite run: every case's result, the totals, and the comparison with an earlier run (Compare(AgentEvaluationReport)) that says exactly which cases a change won and lost.

AgentEvaluationReport.Comparison

Which cases changed between two runs of the same suite.

AgentEvaluationSuite

A regression suite for an agent: the cases an agent change must keep passing. Stored and moved as JSON (ToJson(), FromJson(string)), the same file an LM-Kit server runs, so a suite written once gates the agent in process and on the server alike.

AgentEvaluationTranscript

What one case's run observed, whoever played it (an in-process conversation, a server over HTTP): the answer to each turn, every tool call, and the knowledge verdict of the final answer. The checks read nothing else.

AgentEvaluationTranscript.CitedPassage

One passage the final answer cited.

AgentEvaluationTranscript.ToolCallRecord

One tool call the agent made.

AgentEvaluator

Runs evaluation suites and scores what they observed. The checks are mechanical (what the answer says, which tools ran, whether the answer cites or abstains, whether a structured answer carries its properties), so the same transcript always scores the same way. Every case runs with zero real side effects: the in-process runner answers every tool that writes with a SimulatedTool.

Share