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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AIKernel.Providers.MicrosoftAI" Version="0.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AIKernel.Providers.MicrosoftAI" Version="0.1.1" />
                    
Directory.Packages.props
<PackageReference Include="AIKernel.Providers.MicrosoftAI" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AIKernel.Providers.MicrosoftAI --version 0.1.1
                    
#r "nuget: AIKernel.Providers.MicrosoftAI, 0.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AIKernel.Providers.MicrosoftAI@0.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AIKernel.Providers.MicrosoftAI&version=0.1.1
                    
Install as a Cake Addin
#tool nuget:?package=AIKernel.Providers.MicrosoftAI&version=0.1.1
                    
Install as a Cake Tool

AIKernel.Providers

日本語 README

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 as aik 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.json
  • src/Chat/ChatHistoryProvider/chat-history.provider.json
  • src/Compute/CudaComputeProvider/cuda.provider.json
  • src/Pipeline/DynamicPipelineCompilerProvider/dynamic-pipeline.provider.json
  • src/Llm/LocalLlmProvider/local-llm.provider.json
  • src/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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.1.1 8 6/10/2026
0.1.0.1 57 6/8/2026
0.1.0 68 6/8/2026 0.1.0 is deprecated because it is no longer maintained and has critical bugs.
0.0.5 71 6/6/2026 0.0.5 is deprecated because it is no longer maintained.

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.