AIKernel.Providers.MicrosoftAI
0.1.1
dotnet add package AIKernel.Providers.MicrosoftAI --version 0.1.1
NuGet\Install-Package AIKernel.Providers.MicrosoftAI -Version 0.1.1
<PackageReference Include="AIKernel.Providers.MicrosoftAI" Version="0.1.1" />
<PackageVersion Include="AIKernel.Providers.MicrosoftAI" Version="0.1.1" />
<PackageReference Include="AIKernel.Providers.MicrosoftAI" />
paket add AIKernel.Providers.MicrosoftAI --version 0.1.1
#r "nuget: AIKernel.Providers.MicrosoftAI, 0.1.1"
#:package AIKernel.Providers.MicrosoftAI@0.1.1
#addin nuget:?package=AIKernel.Providers.MicrosoftAI&version=0.1.1
#tool nuget:?package=AIKernel.Providers.MicrosoftAI&version=0.1.1
AIKernel.Providers
AIKernel.Providers is the official extension provider workspace for AIKernel.NET.
AIKernel.Core owns contracts, deterministic runtime boundaries, VFS, DSL, and standard OS-level providers. AIKernel.Tools owns instrumentation, replay, inspection, and canonical formatting. AIKernel.Providers owns external provider drivers that bind AIKernel capability contracts to concrete services, local runtimes, native modules, or moved provider implementations.
This keeps provider-specific endpoint, credential, runtime, and native-driver logic out of Core and Tools.
Repository Role
AIKernel.Providers contains official extension providers for the AIKernel Semantic Runtime.
Providers in this repository implement AIKernel provider contracts from AIKernel.NET packages and are intended to be loaded by CLI, host applications, or Python wrappers as external provider modules. They expose capability descriptors and invocation surfaces while preserving the contract boundary defined by AIKernel.Core and AIKernel.Abstractions.
OS abstractions such as compute, process supervision, networking, logging, semantic routing, and file-system aliases live in AIKernel.Abstractions. This repository keeps only driver implementations such as CPU/CUDA compute, standard file systems, logging drivers, process supervisor drivers, network drivers, schedulers, and profilers.
AIKernel.Providers participates in the 0.1.1 public release scheduled
for 2026-06-09. Version 0.1.1 is the first public release of this repository.
During development before publication, packages use 0.1.1-dev1 style
pre-release versions.
Release notes:
Providers
Provider projects are grouped by category under src/:
src/Llm- LLM and model-hosting providers.src/Chat- chat-domain storage and history providers.src/Compute- native and accelerator compute providers.src/Pipeline- semantic pipeline compiler and pipeline orchestration providers.src/Standard- OS standard driver providers.ChatOpenAIProvider- OpenAI-compatible ChatCompletion, Embedding, and Moderation provider manifest surface. This is the official external OpenAI provider set extracted from Tools.ChatHistoryProvider- deterministic chat history provider extracted from the former RomStorage provider role.CudaComputeProvider- abstract provider surface for native CUDA compute modules, including CUDA 13 style native capability manifests.DynamicPipelineCompilerProvider- dynamic semantic pipeline compiler provider intended for CLI-driven installation such asaik install provider dynamic-pipeline.LocalLlmProvider- local LLM runtime provider for runtimes such as Ollama, llama.cpp, and vLLM.AIKernel.Providers.Standard- standard OS driver provider package containing CPU compute, memory/physical/ZIP file system, console/file logging, process supervision, event bus, network, scheduler, and profiler providers.AIKernel.Providers.MicrosoftAI- Microsoft.Extensions.AI based provider implementation moved under AIKernel.Providers management from AIKernel.Core. This repository now owns its packaging, tests, documentation, and Python wrapper inclusion.
Provider Manifests
Each external provider includes a JSON manifest that can be copied into a host provider directory and loaded dynamically:
src/Llm/ChatOpenAIProvider/openai.provider.jsonsrc/Chat/ChatHistoryProvider/chat-history.provider.jsonsrc/Compute/CudaComputeProvider/cuda.provider.jsonsrc/Pipeline/DynamicPipelineCompilerProvider/dynamic-pipeline.provider.jsonsrc/Llm/LocalLlmProvider/local-llm.provider.jsonsrc/Standard/AIKernel.Providers.Standard/standard.provider.json
The manifest records:
providerId- provider name and version
- managed assembly name
- exported capabilities
- provider metadata needed by host and CLI tooling
- CLI install/list/load hints
MicrosoftAIProvider is consumed as a managed package and dependency-injection extension surface; it does not currently ship a separate manifest file.
Python Package
aikernel-providers is the Python wrapper package for the official extension
provider set.
It exposes the C# provider contract boundary as Python objects and helper functions:
- provider capability descriptors
- manifest and managed assembly discovery
- pythonnet runtime loading
- provider-specific wrapper modules
- bundled provider assemblies and manifest JSON files
The Python package does not reimplement provider behavior. It bundles the C#
assemblies under aikernel_providers/native and delegates to the managed
contract surface.
See:
Dependency Direction
The intended dependency direction is:
- AIKernel.NET defines contracts, DTOs, enums, and Core runtime boundaries.
- AIKernel.Providers implements official external provider drivers.
- AIKernel.Tools consumes providers only as packages when a tool needs an external capability.
- Core and Tools do not own provider-specific endpoint, HTTP, credential, or native-driver logic.
Rules:
- Providers may depend on AIKernel.NET contract packages and AIKernel.Core.
- Providers must not depend on AIKernel.Tools.
- Tools must not contain provider-specific capability descriptors.
- Core must not depend on external providers.
Build
dotnet build AIKernel.Providers.slnx
dotnet test AIKernel.Providers.slnx
Common package metadata is centralized in Directory.Build.props.
Package Installation
For .NET hosts during public release:
dotnet add package AIKernel.Providers.ChatOpenAI --version 0.1.1
dotnet add package AIKernel.Providers.ChatHistory --version 0.1.1
dotnet add package AIKernel.Providers.CudaCompute --version 0.1.1
dotnet add package AIKernel.Providers.DynamicPipelineCompiler --version 0.1.1
dotnet add package AIKernel.Providers.LocalLlm --version 0.1.1
dotnet add package AIKernel.Providers.MicrosoftAI --version 0.1.1
For Python hosts:
pip install aikernel-providers
Import the Python module as aikernel_providers:
from aikernel_providers import (
ChatOpenAICapability,
ChatHistoryCapability,
CudaComputeCapability,
DynamicPipelineCompilerCapability,
LocalLlmCapability,
MicrosoftAIProviderOptions,
)
The wheel bundles managed provider assemblies under
aikernel_providers/native. It is a wrapper over the public C# provider
surface, not a separate Python implementation of provider semantics.
Documentation
Contributor Guidelines
Provider changes must follow the shared AIKernel development discipline:
Provider implementations should keep endpoint/native-driver behavior outside Core, expose fail-closed contracts, use monadic LINQ where failures are composed, and keep Python wrappers aligned with the public C# surface.
| 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
- AIKernel.Abstractions (= 0.1.1)
- AIKernel.Common (= 0.1.1)
- AIKernel.Core (= 0.1.1)
- AIKernel.Dtos (= 0.1.1)
- AIKernel.Enums (= 0.1.1)
- Microsoft.Extensions.AI.Abstractions (>= 10.6.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.8)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.8)
- Microsoft.Extensions.Logging (>= 10.0.8)
- Microsoft.Extensions.Options (>= 10.0.8)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.8)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
AIKernel.Providers v0.1.1 - Official extension provider set aligned with AIKernel.NET, AIKernel.Core, AIKernel.Control, and AIKernel.Cuda13.0 v0.1.1. Adds ChatOpenAIProvider, ChatHistoryProvider, CudaComputeProvider, AIKernel.Providers.Standard OS driver providers, DynamicPipelineCompilerProvider, LocalLlmProvider, and AIKernel.Providers.MicrosoftAI. MicrosoftAI provider ownership moved from AIKernel.Core to AIKernel.Providers. Includes dynamic provider manifests, bilingual reference documentation, and Python wrapper support.