# MentorAgent 1.5.0 release notes

> What's new in MentorAgent 1.5.0: pages known from your routes, a scan of the pages, recipes, forms and grids as UI actions, and the cost per agent and user.

- URL: https://docs.mentoragent.net/release-notes/1-5-0
- Verified with: MentorAgent 1.5.0
- Last updated: 2026-11-27
- Packages: Novior.MentorAgent, Novior.MentorAgent.Abstractions, Novior.MentorAgent.Blazor, Novior.MentorAgent.Declarative, Novior.MentorAgent.Server

MentorAgent 1.5.0 was published on NuGet on 26 November 2026 (UTC). It is a minor version: it adds new features, changes four behaviors and fixes defects, 21 of them with a BUG number. It has one breaking change, for an application that implements `IA2ARequestHandler` of the Agent-to-Agent (A2A) SDK itself: see [Breaking changes](https://docs.mentoragent.net/release-notes/1-5-0#breaking-changes). The five packages that 1.4.x already had are checked against the public API of 1.4.0, so code built on 1.4.x compiles unchanged, except in that case.

| Package | Version |
|---|---|
| [Novior.MentorAgent](https://www.nuget.org/packages/Novior.MentorAgent/1.5.0) | 1.5.0 |
| [Novior.MentorAgent.Abstractions](https://www.nuget.org/packages/Novior.MentorAgent.Abstractions/1.5.0) | 1.5.0 |
| [Novior.MentorAgent.Blazor](https://www.nuget.org/packages/Novior.MentorAgent.Blazor/1.5.0) | 1.5.0 |
| [Novior.MentorAgent.Declarative](https://www.nuget.org/packages/Novior.MentorAgent.Declarative/1.5.0) | 1.5.0 |
| [Novior.MentorAgent.Server](https://www.nuget.org/packages/Novior.MentorAgent.Server/1.5.0) | 1.5.0 |
| [Novior.MentorAgent.Scanner](https://www.nuget.org/packages/Novior.MentorAgent.Scanner/1.5.0) | 1.5.0, new, for development only |
| [Novior.MentorAgent.Cli](https://www.nuget.org/packages/Novior.MentorAgent.Cli/1.5.0) | 1.5.0, new, a .NET tool |

Each package requires the MentorAgent packages that it depends on at exactly this version: upgrade together all the MentorAgent packages that your application uses. The two new packages are for development: reference `Novior.MentorAgent.Scanner` in Debug builds only, and install `Novior.MentorAgent.Cli` as a .NET tool. MentorAgent 1.5.0 runs on .NET 10. To upgrade, see [Upgrade from 1.4.1](https://docs.mentoragent.net/release-notes/1-5-0#upgrade-from-141).

## Highlights

- **[Pages known from your routes](https://docs.mentoragent.net/release-notes/1-5-0#pages-known-from-your-routes).** With the [AutoMentor](https://docs.mentoragent.net/reference/glossary#automentor) on, MentorAgent knows the pages of a Blazor application from their `@page` routes, with no attribute.
- **[A scan of your pages](https://docs.mentoragent.net/release-notes/1-5-0#a-scan-of-your-pages).** A scan reads the fields of each page in a browser, at development time or in a pipeline, and writes a manifest that the application carries.
- **[Pages observed in production](https://docs.mentoragent.net/release-notes/1-5-0#pages-observed-in-production).** The widget reports the structure of what users open, with the labels of its elements, never what a field holds.
- **[Recipes](https://docs.mentoragent.net/release-notes/1-5-0#recipes).** A sequence of steps on a page, approved outside your code, runs in the user's browser as one [UI action](https://docs.mentoragent.net/concepts/server-and-ui-actions). React and Angular pages run them too, with `/mentor/agent.js`.
- **[Forms and grids as UI actions](https://docs.mentoragent.net/release-notes/1-5-0#forms-and-grids-as-ui-actions).** A form becomes one action that fills it, and a grid becomes actions that open a row, sort and filter.
- **[The assistant turned off by your application](https://docs.mentoragent.net/release-notes/1-5-0#the-assistant-turned-off-by-your-application).** A switch of yours, or a console, turns the assistant off, and the widget says so.
- **[The cost per agent and per user](https://docs.mentoragent.net/release-notes/1-5-0#the-cost-per-agent-and-per-user).** Your observer receives every model call, with its tokens, its agent and its user.
- **[Who provides a tool](https://docs.mentoragent.net/release-notes/1-5-0#who-provides-a-tool).** A policy knows whether a tool is your application's, a Model Context Protocol (MCP) server's or MentorAgent's own.
- **[An accessible widget](https://docs.mentoragent.net/release-notes/1-5-0#an-accessible-widget).** The widget meets the Web Content Accessibility Guidelines (WCAG) 2.1, levels A and AA, in what was tested.

## New features

### Pages known from your routes

**Why.** Until now, MentorAgent knew only the pages that carry `[MentorPage]`. Now it lists every page of a Blazor application from its routes, with what a scan or the users saw of each one. `GetPages()` gives the list to your code and to the tools that read the catalog. In this version the model does not receive the list: to let the agent open a page with `navigate_to`, describe the page with `[MentorPage]`, as before.

With [`AutoMentor.Enabled`](https://docs.mentoragent.net/reference/options#mentorautomentoroptionsenabled), MentorAgent reads once the components that carry `@page`: in the entry assembly, in the assemblies that it references and that use the components, and in the new `AutoMentor.PageAssemblies`. It keeps the structure only: a route and the component that serves it. The WebAssembly client of `Novior.MentorAgent.Blazor` sends its own pages to the server at every connection, with the new hub method `ReportPages`. `MentorAgentBlazorOptions.PageAssemblies` adds an assembly to the pages that the client reads.

`IMentorActionCatalog.GetPages()` lists the pages that the AutoMentor knows. Each one is a `MentorPageInfo`, with its route, its component, its coverage (`MentorPageCoverage`: `ToScan`, `Scanned` or `Observed`), when a scan read it, and its elements (`MentorPageElement`). See [Pages the agent knows](https://docs.mentoragent.net/concepts/pages).

### A scan of your pages

**Why.** To fill in a field or open a tab, the agent needs to know what the page holds. A scan reads it once, so the agent does not have to guess.

`Novior.MentorAgent.Scanner` is a new package for development. With `AddMentorUiScanner()`, it scans the pages of a Blazor application once the application has started, in `Development` only. It uses the Edge or Chrome that is already installed, and downloads no browser. It writes `mentor-ui-manifest.json` in the project, and an MSBuild file of `Novior.MentorAgent` embeds that file in the application. The manifest holds structure only, never a value: a password field, card data, and an element that is hidden, disabled or inside `data-mentor-exclude` are never in it.

- **With roles.** With `MentorAgent:Scanner:Roles`, the scan also reads the pages once for each role, as a user of its own that has only that role. It clicks only what opens a tab, a menu or a collapsed section, never a submit or a delete.
- **Only what changed.** A scan reads again only the pages whose code changed, or whose layout changed.
- **.NET MAUI.** In a Blazor Hybrid app on Windows, `StartMentorUiScan()` reads the pages in the app's own WebView2, in a Debug build.
- **React and Angular.** With `MentorUiScannerOptions.FrontEndUrl`, the scanner reads the pages of a front end that the .NET backend does not serve, such as the development server of Vite or of the Angular CLI.
- **In a pipeline.** `Novior.MentorAgent.Cli` is a new .NET tool: `novior-mentor scan` runs the same scan from outside the app, for a continuous integration (CI) pipeline or a WebAssembly standalone app. `--fail-on-change` writes nothing, and exits with 3 when the manifest would change.

See [Scan your pages](https://docs.mentoragent.net/configure/scan-your-pages).

### Pages observed in production

**Why.** A scan sees what a developer opens. Users open dialogs, tabs and panels that the scan may have missed.

With the AutoMentor on, `MentorAutoMentorOptions.ObservePages` is on by default. The widget reads what users open and sends its structure to your application:

- **The labels can be text of the page.** A label can be the visible text of a button or a link. The text of a row, a list or a card is sent only as the label tied to one of its fields. Mark such parts of a page with `data-mentor-exclude`.
- **No values.** The widget never sends a value or the options of a select.
- **Two users first.** An element reaches `GetPages()` only after two users saw it the same way, or one user in a .NET MAUI Blazor Hybrid app.
- **The selector** is the element's `data-mentor-id`, or a path of tags and positions. It never holds an id, a class or a name, which may belong to a record. Give your elements a `data-mentor-id` for stable selectors.
- **Where it stays.** What a user saw stays in memory, in your application's process, and never in the log.

See [Pages observed in production](https://docs.mentoragent.net/concepts/pages#pages-observed-in-production).

### Recipes

**Why.** Some tasks are a fixed sequence of steps on a page. A recipe lets the agent run that sequence, with the same rules as any other UI action.

A recipe is a sequence of steps on one page. The widget runs it in the user's browser, and the model is offered it as one of the page's UI actions, with its own roles and confirmation. Your application gets its recipes from an `IMentorRecipeSource`, registered with `AddMentorRecipeSource<T>()`, for example from a console where the recipes are approved. A session asks the source once and keeps what it gives.

- **Limits.** A recipe that breaks a rule of `MentorRecipeLimits` is left out, with a code of `MentorRecipeRejectionReasons`, and is never a tool. `IMentorAgentSourceObserver.OnRecipesLoaded` receives the code.
- **Governed.** The action policies decide a recipe by its page and name, when it is offered and when it is called.
- **When the page changes.** A step whose element is gone, hidden, disabled or excluded stops the recipe and turns the recipe off. The decision is `Failed`, with the new reason code `element-missing`.
- **Rows.** A row step finds a row of a table or a grid by the text of a key cell, a virtualized `QuickGrid` included, and clicks an action in it.
- **React, Angular and other front ends.** `Novior.MentorAgent.Server` serves `/mentor/agent.js`, a JavaScript module that a front end loads with `<script type="module">` and ties to its own SignalR connection with `attach(connection, options)`. The recipes then run in its pages. See [Run recipes in your front end](https://docs.mentoragent.net/configure/any-front-end#run-recipes-in-your-front-end).

See [Recipes](https://docs.mentoragent.net/configure/recipes).

### Forms and grids as UI actions

**Why.** Forms and grids are most of what a business page holds. Registering them takes one line, instead of one UI action for each field or column.

- **A form.** `IMentorPageContext.RegisterForm<TModel>(name, description, js, configure)` registers the form whose model is `TModel` as one UI action, `fill_<name>`. `js` is the page's `IJSRuntime`. Its parameter is the list of the fields to fill: the simple properties of the model that have a setter. The action fills the form and never sends it: sending it stays an action of your application, with its confirmation. Passwords, secrets, tokens, PINs, cards, IBANs and one-time codes are never offered, unless you include them with `IncludeSensitive`.
- **A grid.** `IMentorPageContext.RegisterGrid<TRow>(name, description, js, key, configure)` registers a table, written by hand or a `QuickGrid`, as `open_<name>_row`, `sort_<name>` and `filter_<name>`. Each one is offered only when the grid can do it. Nothing of the rows goes back to the model.

Both go through the gate as any UI action, and are for Blazor pages. See [Forms and grids](https://docs.mentoragent.net/configure/forms-and-grids).

### The assistant turned off by your application

**Why.** An administrator may need to turn the assistant off without a release, and the user must see why it does not answer.

Here, the assistant is the agent as your users see it in the chat widget: the widget's texts and `IMentorAssistantStatus` use that name. Register an `IMentorAssistantStatus`. While its `IsOn` is false, the widget disables the input and the send button, shows *off* in its header, and says that the administrator turned the assistant off. The sentence is in the widget's ten languages. The hub has the method `GetAssistantStatus` and the event `AssistantStatus(bool)`, and the WebAssembly widget follows them. In React or Angular, `/mentor/agent.js` gives `assistantIsOn()` and `onAssistantStatus(callback)`. The README explains this in "Showing that the assistant is off".

### The cost per agent and per user

**Why.** To share the cost of the model between departments or customers, you need each call with who made it.

The new `IMentorActionObserver.OnModelCallAsync` receives a `MentorModelCall` for each call to a model. The call holds:

- the tokens, with the cached and the reasoning tokens when the provider says so;
- the model, and how the call ended;
- the agent that made the call, the session, the turn, the user and the tenant.

It never holds the text. The [router](https://docs.mentoragent.net/reference/glossary#router) of a handoff now has a kind of its own, the new `MentorAgentKind.Router`. MentorAgent's own calls, such as the safety checks, the classifiers and the warm-up, come with no agent and with what they were for (`MentorModelCallPurpose`). The method has a default body that does nothing, so an existing observer is unchanged. The calls come on a queue of their own: a full queue drops calls, never a decision. See [Cost and latency](https://docs.mentoragent.net/configure/cost-and-latency) and [Action policies and observers](https://docs.mentoragent.net/reference/action-policies#imentoractionobserver).

### Who provides a tool

**Why.** A tool of an MCP server that you do not control deserves stricter rules than your own actions.

`MentorActionRequest` and `MentorActionDecision` have `Provenance`, a `MentorActionProvenance` (`Application`, `McpServer` or `Library`), and `ProvenanceName`, the MCP server's `Name`. `Unknown` is the default of a request that you build by hand, and MentorAgent never sends it: treat it as not trusted. See [Action policies and observers](https://docs.mentoragent.net/reference/action-policies#imentoractionpolicy).

### An accessible widget

**Why.** A product sold to a public body, or in the European Union, has to state its accessibility.

The widget meets WCAG 2.1 A and AA in what was tested. axe-core finds no violation in any state and theme, the keyboard and the focus are checked against EN 301 549, and the widget was used with Narrator on Windows. [Accessibility](https://docs.mentoragent.net/reference/accessibility) says what was tested and what was not, as `ACCESSIBILITY.md` in the repository does. What changes on screen is in [Improvements](https://docs.mentoragent.net/release-notes/1-5-0#improvements).

### Other features

- **The schema of an action's arguments.** `MentorActionInfo.ParametersSchema` is the JSON schema that the model reads in the action's tool, for every origin.
- **The A2A agent card follows your policies.** The new stage `MentorActionStage.Card` asks `IsAllowedAsync` with no caller, and the card leaves out what a policy does not allow. The card has no caller, so a policy should answer no there only for an action that is off for every caller. The card is built again when it is older than 30 seconds.
- **The rules of actions.** `ACTION-RULES.md` has new areas for pages, recipes, forms and grids, and new rules for the schema of the arguments, the provenance, the card and the calls of other agents.

## Improvements

- **The widget's contrast.** The panel is nearly opaque by default, so the contrast of its text no longer depends on the page behind it. To bring back the glass panel, set `--bm-bg-panel` again, and then the contrast is yours to keep. The muted text is lighter, and the `Minimal` theme has darker links and status colors.
- **A screen reader follows the conversation.** The conversation is a log that a screen reader announces once each reply is complete. A confirmation is an alert dialog that takes the focus, never on its Confirm button. After a reply, the focus is back in the message field.
- **The keyboard.** Esc closes the tour, a field or a detail first, then the panel, and never answers a confirmation. The closed panel can no longer be reached with Tab.
- **Less motion.** A visitor who asks for less motion gets none.
- **The hub opens with the widget.** The WebAssembly client opens the hub connection when the widget is created, not at the first message. Two openings at once make one connection.
- **More spans and counted calls.** With [`EnableObservability`](https://docs.mentoragent.net/reference/options#enableobservability), every agent's model calls and MentorAgent's own calls have their spans. See [Breaking changes](https://docs.mentoragent.net/release-notes/1-5-0#breaking-changes) for what this changes.

## Fixes

This version fixes 21 defects with a number, and the closed panel that Tab could still reach. The two of [severity](https://docs.mentoragent.net/release-notes#versioning-and-support) S2 are:

- **BUG-251 and BUG-247 (S2), present from 1.0.0.** With [`RequireActionForChangeRequests`](https://docs.mentoragent.net/reference/options#requireactionforchangerequests) or [`RequireLookupForRecordQuestions`](https://docs.mentoragent.net/reference/options#requirelookupforrecordquestions) on, a request for what one of the page's own actions does could be taken for a request for one of your actions. The user was asked to confirm an action that they had not asked for, or the reply missed what was asked. The request classifier now sees the page's actions too.

Others that you may notice:

- **BUG-238 (S3):** [`CheckAnnouncedActions`](https://docs.mentoragent.net/reference/options#checkannouncedactions) did nothing with `UseServiceManagedHistory`, which the Responses client requires. It now checks a turn of one request there.
- **BUG-240 (S3):** with [`RoutingStrategy`](https://docs.mentoragent.net/reference/options#routingstrategy) `Classifier` or `Cascade`, the routing classifier's call was billed and counted nowhere. It is now counted on the dashboard.
- **BUG-241 (S3):** a UI action whose handler threw reached the observers as `Executed`. It is now `Failed`, and the model gets your [`OnException`](https://docs.mentoragent.net/reference/options#onexception) message.
- **BUG-235:** a specialist's call to an action that its agent does not hold now has a decision, `Denied` with `not-offered`.
- **BUG-248 and BUG-249 (S3, S4):** a call that a policy did not allow now says that a rule of the application does not offer the action, in the application's language, on the MCP server too.
- **BUG-250 (S3):** the A2A agent card listed an action that a policy turns off for every caller: see [Other features](https://docs.mentoragent.net/release-notes/1-5-0#other-features).
- **BUG-243 and BUG-244 (S3):** a declarative agent in valid YAML that Agent Framework's reader refused is now loaded, and one that would load with fewer tools than its file lists is not: see [Breaking changes](https://docs.mentoragent.net/release-notes/1-5-0#breaking-changes).
- **The widget, for screen readers and small screens:** the tour announces each step and keeps the focus inside (BUG-262, BUG-263), decorative images are no longer read (BUG-257), the voice output remembers a visitor who turned it off (BUG-260), the voice and `PrimaryColor` work on a page rendered without a prerender (BUG-261), and the panel takes the whole screen under 480 px (BUG-253).
- **BUG-254 (S4):** a request to `/mentor/approve`, `/mentor/cancel` or `/mentor/session` that met the close of its connection now answers 404, not 500.

The full list, with BUG-242, BUG-245, BUG-265 and the scan's labels, is in the [CHANGELOG](https://docs.mentoragent.net/release-notes/1-5-0#full-list-of-changes).

## Security

This version fixes no security defect. The security fix of 1.4.1 is in it: see [MentorAgent 1.4.1](https://docs.mentoragent.net/release-notes/1-4-1#security).

## Breaking changes

**For an application that implements the A2A SDK's `IA2ARequestHandler`.** MentorAgent 1.5.0 depends on A2A 1.0.0-preview4, where each of the eleven operations of `IA2ARequestHandler` takes an `A2ARequestContext?` before the cancellation token. An application that implements the interface itself, or calls the handler's methods of `A2AServer` directly, no longer compiles. Add the argument, and pass it unchanged to an inner handler. It is null when the request negotiated no extension. `IAgentHandler` and `IA2AClient` do not change, and MentorAgent's own A2A agent and client behave as before.

Four changes of behavior:

- **A declarative agent with a tool that has no `kind` is not loaded.** In `Novior.MentorAgent.Declarative`, up to 1.4.1, an entry of `tools` without `kind` was dropped without a word, and the agent loaded without that tool (BUG-244). Now an agent whose file lists a tool that Agent Framework's factory did not make is not loaded, with `invalid-definition`, and the reason names the entry. See [Specialists in YAML](https://docs.mentoragent.net/concepts/agent-levels#specialists-in-yaml).
- **More spans, and a jump in the token metrics.** With `EnableObservability`, the model calls of the agents under the coordinator have their own spans: the router of the handoff, the specialists, the team members and the agents of an `IMentorAgentSource`. The GenAI token metrics (`gen_ai.client.token.usage`) now count those calls, which they missed, so a threshold or a chart on them sees a jump. The dashboard's totals do not change.
- **Spans for MentorAgent's own calls.** With `EnableObservability`, the checks on `ClassifierChatClient`, the routing classifier and the warm-up have their spans too, each with `mentoragent.model.purpose`. A client that your host already traces with `UseOpenTelemetry()` is not traced again.
- **The warm-up is counted.** With [`WarmUpChatModel`](https://docs.mentoragent.net/reference/options#warmupchatmodel), the warm-up request is counted on the dashboard under its model, in no session: one more request per client at each start, which the provider bills.

The steps are in [Upgrade from 1.4.1](https://docs.mentoragent.net/release-notes/1-5-0#upgrade-from-141).

## Deprecations

This version deprecates nothing.

## Dependency updates

- **Microsoft Agent Framework 1.28.0.** `Microsoft.Agents.AI` and `Microsoft.Agents.AI.Workflows` 1.28.0. In `Novior.MentorAgent.Declarative`, `Microsoft.Agents.AI.Declarative` 1.28.0-rc1. The breaking changes of Agent Framework 1.28 are in parts that MentorAgent does not use. A host that collects Agent Framework's telemetry sees its workflow spans renamed.
- **Microsoft.Extensions.AI 11.0.0.** It requires the 11.0.0 packages of `Microsoft.Extensions.DependencyInjection.Abstractions`, `Microsoft.Extensions.Logging.Abstractions`, `Microsoft.Extensions.Caching.Abstractions`, `Microsoft.Extensions.Primitives`, `System.Diagnostics.DiagnosticSource` and `System.Numerics.Tensors`. A .NET 10 application that uses MentorAgent now gets those at 11.0.0, above the versions of the shared framework. `Microsoft.Extensions.AI.OpenAI` 11.0.0 requires `OpenAI` 2.14.0 or later. The pin for Azure OpenAI with the Responses API, in [Known issues](https://docs.mentoragent.net/reference/known-issues#azure-openai-responses-and-openai), still works on 11.0.0.
- **A2A 1.0.0-preview4**, in `Novior.MentorAgent` and `Novior.MentorAgent.Server`: see [Breaking changes](https://docs.mentoragent.net/release-notes/1-5-0#breaking-changes).

## Known issues

The defects that are still open in 1.5.0, with what to do about each one, are on the [Known issues](https://docs.mentoragent.net/reference/known-issues) page, together with the prerelease packages and the package versions to pin. The limits that are not defects are in [Known limitations](https://docs.mentoragent.net/reference/known-limitations).

## Upgrade from 1.4.1

1. **Upgrade the packages together.** Each package requires the others at exactly its own version. Add `Novior.MentorAgent.Scanner` and `Novior.MentorAgent.Cli` only if you scan your pages.
2. **If you implement `IA2ARequestHandler`,** add the `A2ARequestContext?` argument to each operation and pass it on unchanged: see [Breaking changes](https://docs.mentoragent.net/release-notes/1-5-0#breaking-changes).
3. **Check your declarative agents.** Write `kind: function` in every entry of `tools`. An agent that lists a tool without `kind` is no longer loaded.
4. **Check what reads your telemetry.** With `EnableObservability`, a delegated turn or a team emits more spans, and the GenAI token metrics count more calls. Move a threshold or an alert on `gen_ai.client.token.usage`.
5. **Expect one more request per client at each start** if you use `WarmUpChatModel`: it is now counted, and the provider bills it.
6. **Check the packages that come with Microsoft.Extensions.AI 11.0.0.** If your project pins `OpenAI`, or one of the base packages listed in [Dependency updates](https://docs.mentoragent.net/release-notes/1-5-0#dependency-updates), move it to the version that 1.5.0 requires: `OpenAI` 2.14.0 or later, the base packages 11.0.0 or later.
7. **Update the links you write by hand.** If a page links `MentorAgent.css` and `MentorAgent.js` itself, as the `index.html` of a [Blazor WebAssembly](https://docs.mentoragent.net/configure/blazor-webassembly#minimal-configuration) client or of a [.NET MAUI](https://docs.mentoragent.net/configure/maui#minimal-configuration) application does, change `?v=1.4.1` to `?v=1.5.0` in both links.
8. **Check the widget's look.** The panel is nearly opaque by default. If your theme relied on the glass panel, set `--bm-bg-panel` again.

If you upgrade from 1.4.0, first read [Upgrade from 1.4.0](https://docs.mentoragent.net/release-notes/1-4-1#upgrade-from-140) in the 1.4.1 notes.

## Full list of changes

Every entry of this version is in the [1.5.0 section of CHANGELOG.md](https://github.com/Novior-dev/MentorAgent/blob/main/CHANGELOG.md#150---2026-11-26), which is also the [release notes on NuGet](https://www.nuget.org/packages/Novior.MentorAgent/1.5.0#releasenotes-body-tab).

---

- Previous: [Release notes](https://docs.mentoragent.net/release-notes.md)
- Next: [MentorAgent 1.4.1 release notes](https://docs.mentoragent.net/release-notes/1-4-1.md)
