Affiant.SemanticKernel 1.0.0-beta.1

Prefix Reserved
This is a prerelease version of Affiant.SemanticKernel.
dotnet add package Affiant.SemanticKernel --version 1.0.0-beta.1
                    
NuGet\Install-Package Affiant.SemanticKernel -Version 1.0.0-beta.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="Affiant.SemanticKernel" Version="1.0.0-beta.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Affiant.SemanticKernel" Version="1.0.0-beta.1" />
                    
Directory.Packages.props
<PackageReference Include="Affiant.SemanticKernel" />
                    
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 Affiant.SemanticKernel --version 1.0.0-beta.1
                    
#r "nuget: Affiant.SemanticKernel, 1.0.0-beta.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 Affiant.SemanticKernel@1.0.0-beta.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=Affiant.SemanticKernel&version=1.0.0-beta.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Affiant.SemanticKernel&version=1.0.0-beta.1&prerelease
                    
Install as a Cake Tool

Affiant.SemanticKernel

Semantic Kernel adapter for the Affiant framework — "sworn provenance for every AI write."

Wires the Affiant filter pipeline (structured task inference, deterministic context extraction, review gating, structured error handling) into any Semantic Kernel host application, and provides per-provider connector capability detection with a manual tool-invocation fallback for providers without native auto-function-calling support.

Quick start

builder.Services.AddAffiantCore();
builder.Services.AddAffiantSemanticKernel();

AddAffiantSemanticKernel() registers the SK filter pipeline in its canonical order (error handling → deterministic short-circuit → context extraction → argument capture → inference trigger → post-tool merge → review gate), the connector CapabilityRegistry, and the ManualToolInvoker fallback. Write tools are declared with the [AffiantWriteTool] attribute and registered via AddAffiantTool<TStrategy>(); misregistration is a hard startup failure (AffiantStartupException), never a warning.

Package contents

Namespace Purpose
Affiant.SemanticKernel.Filters AffiantFilterPipeline — registers the SK filter pipeline in canonical order
Affiant.SemanticKernel.Adapters Inference orchestration adapters (SemanticKernelInferenceCompletionPort and pre-tool trigger filters)
Affiant.SemanticKernel.Connectors Per-provider connector capabilities, provider configuration, and manual tool-invocation fallback
Affiant.SemanticKernel.Validation Startup validation — registry-vs-kernel cross-checks that fail the host fast on misconfiguration

Further reading


Part of the Affiant Framework | Apache-2.0 License

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
1.0.0-beta.1 48 8/23/2026