Affiant.SemanticKernel
1.0.0-beta.1
Prefix Reserved
dotnet add package Affiant.SemanticKernel --version 1.0.0-beta.1
NuGet\Install-Package Affiant.SemanticKernel -Version 1.0.0-beta.1
<PackageReference Include="Affiant.SemanticKernel" Version="1.0.0-beta.1" />
<PackageVersion Include="Affiant.SemanticKernel" Version="1.0.0-beta.1" />
<PackageReference Include="Affiant.SemanticKernel" />
paket add Affiant.SemanticKernel --version 1.0.0-beta.1
#r "nuget: Affiant.SemanticKernel, 1.0.0-beta.1"
#:package Affiant.SemanticKernel@1.0.0-beta.1
#addin nuget:?package=Affiant.SemanticKernel&version=1.0.0-beta.1&prerelease
#tool nuget:?package=Affiant.SemanticKernel&version=1.0.0-beta.1&prerelease
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
- Affiant Framework Specification — the full design contract, including the seven normative rules
- Tool Authoring Guide — write your first Affiant plugin pair
Part of the Affiant Framework | Apache-2.0 License
| 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
- Affiant.Core (>= 1.0.0-beta.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.4)
- Microsoft.SemanticKernel (>= 1.74.0)
- Microsoft.SemanticKernel.Connectors.Google (>= 1.74.0-alpha)
- Microsoft.SemanticKernel.Connectors.Ollama (>= 1.74.0-alpha)
- Microsoft.SemanticKernel.Connectors.OpenAI (>= 1.74.0)
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 |