CodedProjects.AI.ApiMapper.Client.MicrosoftExtensionsAI
1.0.0
See the version list below for details.
dotnet add package CodedProjects.AI.ApiMapper.Client.MicrosoftExtensionsAI --version 1.0.0
NuGet\Install-Package CodedProjects.AI.ApiMapper.Client.MicrosoftExtensionsAI -Version 1.0.0
<PackageReference Include="CodedProjects.AI.ApiMapper.Client.MicrosoftExtensionsAI" Version="1.0.0" />
<PackageVersion Include="CodedProjects.AI.ApiMapper.Client.MicrosoftExtensionsAI" Version="1.0.0" />
<PackageReference Include="CodedProjects.AI.ApiMapper.Client.MicrosoftExtensionsAI" />
paket add CodedProjects.AI.ApiMapper.Client.MicrosoftExtensionsAI --version 1.0.0
#r "nuget: CodedProjects.AI.ApiMapper.Client.MicrosoftExtensionsAI, 1.0.0"
#:package CodedProjects.AI.ApiMapper.Client.MicrosoftExtensionsAI@1.0.0
#addin nuget:?package=CodedProjects.AI.ApiMapper.Client.MicrosoftExtensionsAI&version=1.0.0
#tool nuget:?package=CodedProjects.AI.ApiMapper.Client.MicrosoftExtensionsAI&version=1.0.0
CodedProjects AI ApiMapper .NET SDK
The CodedProjects AI ApiMapper .NET SDK helps .NET applications discover and invoke governed AI-facing tools exposed by the AI ApiMapper Runtime.
Use these packages when you want to:
- connect an AI client to tenant-scoped tools published by AI ApiMapper,
- fetch the runtime system prompt and available tool definitions,
- invoke tools through a typed .NET client,
- bridge those tools into common .NET AI stacks such as
Microsoft.Extensions.AI, Semantic Kernel, and Azure AI Foundry.
Packages
Core client
dotnet add package CodedProjects.AI.ApiMapper.Client
Provides the base IAiApiMapperClient, HTTP client registration, authentication configuration, tool discovery, and tool invocation support.
Microsoft.Extensions.AI adapter
dotnet add package CodedProjects.AI.ApiMapper.Client.MicrosoftExtensionsAI
Converts runtime tools into AIFunction instances for Microsoft.Extensions.AI.
Semantic Kernel adapter
dotnet add package CodedProjects.AI.ApiMapper.Client.SemanticKernel
Loads published runtime tools as a Semantic Kernel plugin.
Azure AI Foundry adapter
dotnet add package CodedProjects.AI.ApiMapper.Client.AzureAIFoundry --prerelease
Adds Azure AI Foundry agent integration. This package is currently prerelease because it depends on prerelease Azure AI agent libraries.
Quick start
using CodedProjects.AI.ApiMapper.Client;
using Microsoft.Extensions.DependencyInjection;
var services = new ServiceCollection();
services
.AddApiMapperClient(options =>
{
options.BaseUrl = new Uri("https://runtime.example.com/");
options.TenantId = Guid.Parse("11111111-1111-1111-1111-111111111111");
options.ClientId = "my-ai-client";
options.SystemPromptResourceUri = "urn:apimapper:system-prompt";
})
.WithApiKey("replace-with-your-api-key");
After resolving IAiApiMapperClient, you can:
- call
GetSystemPromptAsync()to load the runtime-provided system prompt, - call
GetToolsAsync()to enumerate published tools, - call
InvokeToolAsync()to execute a tool with JSON-like arguments.
Examples
Runnable examples are available for:
- raw MCP-style client usage,
Microsoft.Extensions.AI,- Semantic Kernel,
- Azure AI Foundry.
Package metadata
- License: MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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
- CodedProjects.AI.ApiMapper.Client (>= 1.0.0)
- Microsoft.Extensions.AI.Abstractions (>= 9.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial public release of the CodedProjects AI ApiMapper .NET SDK packages.