{"id":"dc25a4d5-546a-4739-a5e3-5633d106ddab","slug":"mentoragent","kind":"mcp","name":"MentorAgent","summary":"Add AI agents to your .NET app: your methods become tools with role checks and human confirmation. Use the ready-made chat widget in Blazor and MAUI, or connect any frontend through SignalR, SSE, MCP","owner":"Novior-dev","repoUrl":"https://github.com/Novior-dev/MentorAgent","license":"Apache-2.0","licenseTier":"permissive","trust":"community","stars":5,"match":null,"fewStars":false,"format":"mcp","createdAt":"2026-10-10T11:59:42.000Z","addedAt":"2026-10-21T18:15:11.142Z","logoUrl":"https://avatars.githubusercontent.com/u/340255826?v=4","linkOnly":false,"collection":null,"skillPath":null,"categories":["communication"],"tags":["a2a","ai-agents","blazor","csharp","dotnet","human-in-the-loop","llm","microsoft-agent-framework"],"runtime":"binary","local":true,"cloudCapable":false,"cloudCapability":"unknown","cloudReadyOnPlatform":false,"needsApiKey":false,"reviewed":false,"syncedAt":"2026-10-25T21:59:07.850Z","sample":false,"url":"https://conduits.dev/tools/mentoragent","language":"C#","transports":["stdio"],"install":{},"requirements":{"env":[],"upstreamMayCharge":false},"tools":null,"readme":"# MentorAgent\n\n[![NuGet](https://img.shields.io/nuget/v/Novior.MentorAgent.svg)](https://www.nuget.org/packages/Novior.MentorAgent)\n[![Downloads](https://img.shields.io/nuget/dt/Novior.MentorAgent.svg)](https://www.nuget.org/packages/Novior.MentorAgent)\n[![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)\n\nAdd AI agents to your .NET app: your methods become tools with role checks and human confirmation.\nUse the ready-made chat widget in Blazor and MAUI, or connect any frontend through SignalR, SSE, MCP or A2A.\nBuilt on Microsoft Agent Framework, with any provider that offers an `IChatClient`: Azure OpenAI, OpenAI, Ollama and others.\n\n## Which package\n\n| You are building | Install |\n|---|---|\n| A Blazor Server app, or a .NET MAUI Blazor Hybrid app | `Novior.MentorAgent` |\n| The client project of a Blazor WebAssembly or Auto app | `Novior.MentorAgent.Blazor`, with `Novior.MentorAgent.Server` on the server |\n| Any other frontend (React, Angular, Vue, mobile), a Web API or a headless backend; an MCP server or an A2A agent | `Novior.MentorAgent.Server` |\n| Specialist agents defined in YAML | `Novior.MentorAgent.Declarative`, next to the others |\n\n`Novior.MentorAgent.Abstractions` comes with them: you never install it yourself.\n\n## Quick start\n\n```bash\ndotnet add package Novior.MentorAgent\ndotnet add package Microsoft.Extensions.AI.OpenAI\n```\n\n```csharp\n// Program.cs — using Microsoft.Extensions.AI; using Novior.MentorAgent.Extensions;\nbuilder.Services.AddScoped<OrderService>();\nbuilder.Services.AddMentorAgent(options =>\n{\n    options.AppName        = \"Orders\";\n    options.ChatClient     = new OpenAI.Chat.ChatClient(\"gpt-4.1-mini\", builder.Configuration[\"OpenAI:Key\"]).AsIChatClient();\n    options.ScanAssemblies = [typeof(Program).Assembly];\n});\n\n// OrderService.cs — using Novior.MentorAgent.Attributes;\npublic class OrderService\n{\n    [MentorAction(Description = \"Cancels an order\", RequiresConfirmation = true, RequiredRoles = [\"Manager\"])]\n    public Task<bool> CancelOrderAsync(int orderId, string reason) { ... }\n}\n```\n\n```razor\n@* MainLayout.razor, in an interactive app — @using Novior.MentorAgent.Abstractions.Components *@\n<ChatWidget />\n```\n\nAsk the widget to cancel an order: the assistant offers `CancelOrderAsync` only to a signed-in user with the\n`Manager` role, and runs it only after that user confirms in the widget.\n\n## Learn more\n\n- **Documentation:** [docs.mentoragent.net](https://docs.mentoragent.net)\n- **Website:** [mentoragent.net](https://mentoragent.net)\n- **The full reference:** [the package README](Novior.MentorAgent/README.md), the same as on\n  [nuget.org](https://www.nuget.org/packages/Novior.MentorAgent)\n- **A running example:** the [demo](demo/), a small expense-claims app with MentorAgent inside\n- **Help and contributions:** [SUPPORT.md](SUPPORT.md), [CONTRIBUTING.md](CONTRIBUTING.md),\n  [CODE_OF_CONDUCT.md](.github/CODE_OF_CONDUCT.md)\n- **Vulnerabilities:** [SECURITY.md](SECURITY.md) — privately, never in a public issue\n- **What changed:** [CHANGELOG.md](CHANGELOG.md)\n\n## License\n\nApache License 2.0: see [LICENSE](LICENSE) and [NOTICE](NOTICE). \"MentorAgent\" and its logo are trademarks: see\n[TRADEMARKS.md](TRADEMARKS.md) for how they can be used.\n"}