# MentorEvalOptions class

> The MentorEvalOptions class of Novior.MentorAgent.Evaluation: Knobs for an evaluation run.

- URL: https://docs.mentoragent.net/api/novior-mentoragent-evaluation/mentorevaloptions
- Verified with: MentorAgent 1.2.0
- Last updated: 2026-10-27
- Packages: Novior.MentorAgent

Knobs for an evaluation run.

## Definition

Namespace: `Novior.MentorAgent.Evaluation`. Package: `Novior.MentorAgent`.

`public sealed class MentorEvalOptions`

```shell
dotnet add package Novior.MentorAgent
```

## Constructors

`public MentorEvalOptions()`

## Properties

### `Checks`

`public IReadOnlyList<EvalCheck>? Checks { get; set; }`

Extra native Agent Framework deterministic checks applied to every case — e.g. `EvalChecks.KeywordCheck("weather")`, `EvalChecks.ToolCalledCheck("get_weather")`, or `FunctionEvaluator.Create(...)`. Added on top of the built-in non-empty check.

### `Evaluators`

`public IReadOnlyList<IAgentEvaluator>? Evaluators { get; set; }`

Additional native Agent Framework evaluators run alongside the local checks — e.g. `FoundryEvals` (cloud quality &amp; safety) or MEAI quality/safety evaluators wrapped for the agent. Each one's pass/fail also gates the report. Requires the corresponding package (`Microsoft.Agents.AI.Foundry`, `Microsoft.Extensions.AI.Evaluation.Quality/Safety`).

### `Judge`

`public bool Judge { get; set; }`

Run the built-in lightweight LLM-as-judge for cases that have an [`EvalCase.Expectation`](https://docs.mentoragent.net/api/novior-mentoragent-evaluation/evalcase#expectation).

### `JudgeClient`

`public IChatClient? JudgeClient { get; set; }`

Client used for the built-in judge; defaults to the mentor's configured `ChatClient`.

### `MaxTotalTokens`

`public long? MaxTotalTokens { get; set; }`

Global token budget for the whole run — the report fails if exceeded (token regression gate).

### `MinQuality`

`public double? MinQuality { get; set; }`

Minimum average quality (0–1). Requires [`MentorEvalOptions.Judge`](https://docs.mentoragent.net/api/novior-mentoragent-evaluation/mentorevaloptions#judge) = true and case expectations.

### `SystemInstructions`

`public string? SystemInstructions { get; set; }`

System prompt applied to every case (e.g. your mentor instructions under test).

---

- Previous: [EvalCase record](https://docs.mentoragent.net/api/novior-mentoragent-evaluation/evalcase.md)
- Next: [MentorEvalReport record](https://docs.mentoragent.net/api/novior-mentoragent-evaluation/mentorevalreport.md)
