IntentSharp.Extensions.AI
1.0.0
Prefix Reserved
See the version list below for details.
dotnet add package IntentSharp.Extensions.AI --version 1.0.0
NuGet\Install-Package IntentSharp.Extensions.AI -Version 1.0.0
<PackageReference Include="IntentSharp.Extensions.AI" Version="1.0.0" />
<PackageVersion Include="IntentSharp.Extensions.AI" Version="1.0.0" />
<PackageReference Include="IntentSharp.Extensions.AI" />
paket add IntentSharp.Extensions.AI --version 1.0.0
#r "nuget: IntentSharp.Extensions.AI, 1.0.0"
#:package IntentSharp.Extensions.AI@1.0.0
#addin nuget:?package=IntentSharp.Extensions.AI&version=1.0.0
#tool nuget:?package=IntentSharp.Extensions.AI&version=1.0.0
IntentSharp.Extensions.AI
Run IntentSharp on any Microsoft.Extensions.AI IChatClient, such as Ollama or Azure OpenAI, and give catalog intents
to Microsoft Agent Framework agents as AIFunction tools, each answer checked before the agent sees it. An entry of
the chat-client kind in the provider file names a chat client registered in dependency injection. It brings
IntentSharp and
IntentSharp.Catalog with it; a project whose provider file names
only the openai and anthropic kinds and gives no intents to agents does not need it. Guide:
Microsoft.Extensions.AI.
dotnet add package IntentSharp.Extensions.AI
using IntentSharp;
using IntentSharp.Catalog;
using IntentSharp.Extensions.AI;
using Microsoft.Extensions.AI;
public static class OrderDesk
{
// model: the IChatClient your application already uses. agent: a chat client that calls the tools it is given.
public static async Task<ChatResponse> TriageAsync(IChatClient model, IChatClient agent, string inbox)
{
using var client = new IntentClientBuilder().UseChatClient(model).Build();
using var catalog = new FileIntentCatalog("intents");
var intents = new IntentRuntime(client, catalog);
var options = new ChatOptions { Tools = [.. intents.AsAIFunctions()] };
return await agent.GetResponseAsync(inbox, options);
}
}
Documentation: https://intentsharp.com/docs/
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- IntentSharp (= 1.0.0)
- IntentSharp.Catalog (= 1.0.0)
- Microsoft.Extensions.AI.Abstractions (>= 10.10.1)
-
net8.0
- IntentSharp (= 1.0.0)
- IntentSharp.Catalog (= 1.0.0)
- Microsoft.Extensions.AI.Abstractions (>= 10.10.1)
-
net9.0
- IntentSharp (= 1.0.0)
- IntentSharp.Catalog (= 1.0.0)
- Microsoft.Extensions.AI.Abstractions (>= 10.10.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.0 | 62 | 11/13/2026 |
| 1.0.1 | 130 | 11/6/2026 |
| 1.0.0 | 143 | 10/28/2026 |
| 1.0.0-rc.3 | 89 | 10/20/2026 |
Release notes for version 1.0.0, with breaking changes, new features and fixes: https://intentsharp.com/changelog