Affiant.Core 1.0.0-beta.1

Prefix Reserved
This is a prerelease version of Affiant.Core.
dotnet add package Affiant.Core --version 1.0.0-beta.1
                    
NuGet\Install-Package Affiant.Core -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.Core" 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.Core" Version="1.0.0-beta.1" />
                    
Directory.Packages.props
<PackageReference Include="Affiant.Core" />
                    
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.Core --version 1.0.0-beta.1
                    
#r "nuget: Affiant.Core, 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.Core@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.Core&version=1.0.0-beta.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Affiant.Core&version=1.0.0-beta.1&prerelease
                    
Install as a Cake Tool

Affiant.Core

Concrete backend-neutral services for the Affiant framework — "sworn provenance for every AI write."

Sits directly above Affiant.Abstractions in the framework's dependency graph and is depended on by every adapter package (Affiant.SemanticKernel, Affiant.AgentFramework, Affiant.Docket, Affiant.EntityFramework, Affiant.Policies, Affiant.Transport.SignalR). Core never references an adapter — it consumes adapter-provided implementations of its interfaces through DI.

Install

dotnet add package Affiant.Core
builder.Services.AddAffiantCore();

AddAffiantCore() registers the tool descriptor registry, the observability event stream, the scoped ContextFabric, and the completion filter pipeline building blocks. It is a prerequisite for every adapter's own AddAffiant*() call — see the adapter package (Affiant.SemanticKernel or Affiant.AgentFramework) for the full host wiring sequence.

Package contents

Namespace Purpose
Affiant.Core.Services ContextFabric (conversation-scoped entity/field tracking), ReviewGate (the review state machine), ApprovalPolicyEvaluator, DeterministicShortCircuit, EvidenceCardRequestFactory, SessionLockRegistry (per-session turn-serialization lock), AffiantToolRegistry
Affiant.Core.Filters Backend-neutral filter pipeline steps: ContextExtractor<T> base class, TaskInferenceStep, ToolErrorFilter, ToolTracingFilter, ToolArgumentCaptureFilter, InferenceTriggerFilter, TaskInferenceMergeFilter, ReviewGateFilter
Affiant.Core.Policies ReviewerConfirmationPolicy — the default IApprovalPolicy fallback
Affiant.Core.Observability AffiantTelemetry, InMemoryObservabilityEventStream<T>
Affiant.Core.Triggers WriteIntentInferenceTrigger and the framework's IInferenceTrigger implementations
Affiant.Core.UiBridge UiGuidanceBridge — routes IRouteRegistry lookups onto the TransportEvent.UiGuidance wire path
Affiant.Core.Extensions ServiceCollectionExtensionsAddAffiantCore, AddAffiantTool<TStrategy>, AddAffiantReadTool, AddDeterministicFieldSource<TSource>, AddFieldResolver<TResolver>, AddAffidavitProjection<TProjection>

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 (8)

Showing the top 5 NuGet packages that depend on Affiant.Core:

Package Downloads
Affiant.Docket

Durable review queue for Affiant, providing persistence and expiry semantics for review workflows across multiple database backends.

Affiant.Transport.SignalR

Affiant Framework — SignalR transport adapter. Provides AffiantHub abstract base class for subclassable SignalR hubs and SignalRStreamingTransport implementing IStreamingTransport with in-process reviewer-confirmation routing.

Affiant.EntityFramework

EntityFramework Core persistence adapter for Affiant, providing the shared AffiantDbContext with schema isolation support.

Affiant.SemanticKernel

Semantic Kernel adapter for the Affiant framework — canonical filter pipeline wiring (task inference, context extraction, review gating, error handling), inference orchestration adapters, per-provider connector capabilities with manual tool-invocation fallback, and hard-failure startup validation

Affiant.Policies

Approval policy framework for Affiant, providing Standing Orders, Referral routing, and risk-scoring for review workflows.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-beta.1 110 8/23/2026