Affiant.Abstractions 1.0.0-beta.1

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

Affiant.Abstractions

Domain-agnostic primitives and interfaces for the Affiant framework — "sworn provenance for every AI write."

This is the root of the framework's dependency graph: zero references to any other Affiant package, zero references to Semantic Kernel / Microsoft Agent Framework / Microsoft.Extensions.AI. A host that only needs to implement a contract — write a custom IDocketStore, a custom IStreamingTransport, a field mapper — can reference this package alone. Every other Affiant package depends on it, directly or transitively.

Install

dotnet add package Affiant.Abstractions

Most hosts get this transitively through Affiant.Core or an adapter package (Affiant.SemanticKernel, Affiant.AgentFramework); reference it directly only when implementing a framework contract without pulling in the rest of the framework.

Package contents

Namespace Purpose
Affiant.Abstractions.Models Data types — everything that is not a contract: Affidavit, AffidavitField, ProvenanceTag, ProvenanceChain, ToolEnvelope (discriminated ReadResult/WriteProposal/ToolError), DocketEntry, ReviewStatus, ReviewContext, ReviewRequirement, ReviewResponse (discriminated ReviewGranted/ReviewDenied/ReviewExpired), ChatSession, ConversationContext, TaskInferenceField, Operation, EntityRef, AffiantChatMessage, AffiantToolDescriptor
Affiant.Abstractions.Interfaces Framework contracts a host or adapter implements or consumes — interfaces only: IChatSessionStore, IDocketStore, IStreamingTransport, IApprovalPolicy, IFieldMapper<T>, IWriteExecutor, IRouteRegistry, IIntentInterceptor, IToolAuthorizationPolicy, ITaskInferenceStrategy
Affiant.Abstractions.Transport Wire-shape types for the streaming transport: TransportEvent, EvidenceCard request/response, DocketExpiryEvent, SystemNotificationPayload, UiGuidancePayload
Affiant.Abstractions.Attributes [AffiantWriteTool] — declares a tool method as write-intent for the Tool Descriptor Registry
Affiant.Abstractions.Exceptions AffiantStartupException — the hard-failure type framework startup validation throws (never a warning)

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.
  • net10.0

    • No dependencies.

NuGet packages (5)

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

Package Downloads
Affiant.Core

Affiant Framework — Concrete services for context extraction, review gating, and telemetry. Includes ContextFabric, ReviewGate, DeterministicShortCircuit, base ContextExtractor, TaskInferenceStep, and AffiantTelemetry.

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.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 118 8/23/2026