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.
On this page
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. 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 (external site) | 1.5.0 |
| Novior.MentorAgent.Abstractions (external site) | 1.5.0 |
| Novior.MentorAgent.Blazor (external site) | 1.5.0 |
| Novior.MentorAgent.Declarative (external site) | 1.5.0 |
| Novior.MentorAgent.Server (external site) | 1.5.0 |
| Novior.MentorAgent.Scanner (external site) | 1.5.0, new, for development only |
| Novior.MentorAgent.Cli (external site) | 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.
Highlights
Section titled “Highlights”- Pages known from your routes. With the AutoMentor on, MentorAgent knows the pages of a Blazor application from their
@pageroutes, with no attribute. - 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. The widget reports the structure of what users open, with the labels of its elements, never what a field holds.
- Recipes. A sequence of steps on a page, approved outside your code, runs in the user's browser as one UI action. React and Angular pages run them too, with
/mentor/agent.js. - 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. A switch of yours, or a console, turns the assistant off, and the widget says so.
- 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. A policy knows whether a tool is your application's, a Model Context Protocol (MCP) server's or MentorAgent's own.
- An accessible widget. The widget meets the Web Content Accessibility Guidelines (WCAG) 2.1, levels A and AA, in what was tested.
New features
Section titled “New features”Pages known from your routes
Section titled “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, 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.
A scan of your pages
Section titled “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.Cliis a new .NET tool:novior-mentor scanruns the same scan from outside the app, for a continuous integration (CI) pipeline or a WebAssembly standalone app.--fail-on-changewrites nothing, and exits with 3 when the manifest would change.
See Scan your pages.
Pages observed in production
Section titled “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 adata-mentor-idfor 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.
Recipes
Section titled “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
MentorRecipeLimitsis left out, with a code ofMentorRecipeRejectionReasons, and is never a tool.IMentorAgentSourceObserver.OnRecipesLoadedreceives 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 codeelement-missing. - Rows. A row step finds a row of a table or a grid by the text of a key cell, a virtualized
QuickGridincluded, and clicks an action in it. - React, Angular and other front ends.
Novior.MentorAgent.Serverserves/mentor/agent.js, a JavaScript module that a front end loads with<script type="module">and ties to its own SignalR connection withattach(connection, options). The recipes then run in its pages. See Run recipes in your front end.
See Recipes.
Forms and grids as UI actions
Section titled “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 isTModelas one UI action,fill_<name>.jsis the page'sIJSRuntime. 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 withIncludeSensitive. - A grid.
IMentorPageContext.RegisterGrid<TRow>(name, description, js, key, configure)registers a table, written by hand or aQuickGrid, asopen_<name>_row,sort_<name>andfilter_<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.
The assistant turned off by your application
Section titled “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
Section titled “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 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 and Action policies and observers.
Who provides a tool
Section titled “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.
An accessible widget
Section titled “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 says what was tested and what was not, as ACCESSIBILITY.md in the repository does. What changes on screen is in Improvements.
Other features
Section titled “Other features”- The schema of an action's arguments.
MentorActionInfo.ParametersSchemais 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.CardasksIsAllowedAsyncwith 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.mdhas 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
Section titled “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-panelagain, and then the contrast is yours to keep. The muted text is lighter, and theMinimaltheme 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, every agent's model calls and MentorAgent's own calls have their spans. See Breaking changes for what this changes.
This version fixes 21 defects with a number, and the closed panel that Tab could still reach. The two of severity S2 are:
- BUG-251 and BUG-247 (S2), present from 1.0.0. With
RequireActionForChangeRequestsorRequireLookupForRecordQuestionson, 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):
CheckAnnouncedActionsdid nothing withUseServiceManagedHistory, which the Responses client requires. It now checks a turn of one request there. - BUG-240 (S3): with
RoutingStrategyClassifierorCascade, 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 nowFailed, and the model gets yourOnExceptionmessage. - BUG-235: a specialist's call to an action that its agent does not hold now has a decision,
Deniedwithnot-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.
- 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.
- 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
PrimaryColorwork 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/cancelor/mentor/sessionthat 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.
Security
Section titled “Security”This version fixes no security defect. The security fix of 1.4.1 is in it: see MentorAgent 1.4.1.
Breaking changes
Section titled “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
kindis not loaded. InNovior.MentorAgent.Declarative, up to 1.4.1, an entry oftoolswithoutkindwas 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, withinvalid-definition, and the reason names the entry. See 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 anIMentorAgentSource. 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 onClassifierChatClient, the routing classifier and the warm-up have their spans too, each withmentoragent.model.purpose. A client that your host already traces withUseOpenTelemetry()is not traced again. - The warm-up is counted. With
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.
Deprecations
Section titled “Deprecations”This version deprecates nothing.
Dependency updates
Section titled “Dependency updates”- Microsoft Agent Framework 1.28.0.
Microsoft.Agents.AIandMicrosoft.Agents.AI.Workflows1.28.0. InNovior.MentorAgent.Declarative,Microsoft.Agents.AI.Declarative1.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.DiagnosticSourceandSystem.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.OpenAI11.0.0 requiresOpenAI2.14.0 or later. The pin for Azure OpenAI with the Responses API, in Known issues, still works on 11.0.0. - A2A 1.0.0-preview4, in
Novior.MentorAgentandNovior.MentorAgent.Server: see Breaking changes.
Known issues
Section titled “Known issues”The defects that are still open in 1.5.0, with what to do about each one, are on the Known issues page, together with the prerelease packages and the package versions to pin. The limits that are not defects are in Known limitations.
Upgrade from 1.4.1
Section titled “Upgrade from 1.4.1”- Upgrade the packages together. Each package requires the others at exactly its own version. Add
Novior.MentorAgent.ScannerandNovior.MentorAgent.Clionly if you scan your pages. - If you implement
IA2ARequestHandler, add theA2ARequestContext?argument to each operation and pass it on unchanged: see Breaking changes. - Check your declarative agents. Write
kind: functionin every entry oftools. An agent that lists a tool withoutkindis no longer loaded. - 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 ongen_ai.client.token.usage. - Expect one more request per client at each start if you use
WarmUpChatModel: it is now counted, and the provider bills it. - 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, move it to the version that 1.5.0 requires:OpenAI2.14.0 or later, the base packages 11.0.0 or later. - Update the links you write by hand. If a page links
MentorAgent.cssandMentorAgent.jsitself, as theindex.htmlof a Blazor WebAssembly client or of a .NET MAUI application does, change?v=1.4.1to?v=1.5.0in both links. - Check the widget's look. The panel is nearly opaque by default. If your theme relied on the glass panel, set
--bm-bg-panelagain.
If you upgrade from 1.4.0, first read Upgrade from 1.4.0 in the 1.4.1 notes.
Full list of changes
Section titled “Full list of changes”Every entry of this version is in the 1.5.0 section of CHANGELOG.md (external site), which is also the release notes on NuGet (external site).
See also
Section titled “See also”- Release notes — Every stable MentorAgent version, newest first, with its date and what it brings; how versions are numbered and supported, and how dependencies are followed.
- MentorAgent 1.4.1 release notes — MentorAgent 1.4.1 fixes a security defect with the tools of MCP servers and two defects of severity S1: who is affected, and what to do before you upgrade.
- MentorAgent 1.4.0 release notes — What's new in MentorAgent 1.4.0: actions registered in code, commands and queries, endpoints as actions, teams from YAML, and UI actions through the gate.
- Any front end: React, Angular, Vue — Build the chat in React, Angular, Vue or a mobile app with a .NET AI agent behind it: SignalR or Server-Sent Events, confirmation over HTTP, stopping an answer.
- Cost and latency — What decides the tokens and the response time of each turn, the options that reduce them and what each costs in model calls, and how to measure your app.
- Action policies and observers — The types that let your code decide on each action, record every decision of the gate, know who confirmed a call, and list the actions.
- Known issues — The open defects of the current MentorAgent version and how to avoid them, the prerelease packages it depends on, and the package versions to pin.
