Compendium.Abstractions.AI 1.1.0-preview.6

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

Compendium.Abstractions.AI

Provider-agnostic AI/LLM abstractions for the Compendium framework:

  • IAIProvider — completions, streaming, embeddings against any provider.
  • IPromptRegistry / IContextBuilder — prompt and context management.
  • IReranker — document reranking.
  • Agent primitives (IAgent, IAgentToolRegistry, request/turn/tool models).
  • Native tool calls: ToolCall, Message.ToolCalls / Message.ToolCallId, and the calls read back in CompletionResponse.ToolCalls / CompletionChunk.ToolCalls (final chunk). All optional; an adapter that does not support them ignores them.
  • AIErrors — canonical Result-pattern error codes for the AI domain.

Implementations live in the Compendium.Adapters.* packages shipped from the same repository (SCOJH/ai): Anthropic, Azure OpenAI, Bedrock, DeepSeek, Gemini, Hugging Face, LiteLLM, Mercury, Mistral, Ollama, OpenAI, OpenRouter.

All types return Result<T> (Compendium.Core) — no exceptions for control flow.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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 (15)

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

Package Downloads
Compendium.Adapters.OpenRouter

OpenRouter AI provider adapter for Compendium Framework. Implements IAIProvider for access to 100+ LLM models including Claude, GPT-4, Llama, Mistral, and more.

Compendium.Application

Application layer for Compendium Framework: CQRS dispatchers, Idempotency service, Saga orchestration, Pipeline behaviors. Build event-driven applications with clean architecture.

Compendium.Adapters.AzureOpenAI

Azure OpenAI Service adapter for Compendium Framework. Implements IAIProvider against the Azure OpenAI REST API — Entra ID (DefaultAzureCredential) or api-key auth, deployment-name routing, chat completions, streaming, embeddings, tool calling, structured outputs, and Azure content-filter handling.

Compendium.Adapters.Anthropic

Anthropic AI provider adapter for the Compendium framework. Implements IAIProvider against the Anthropic Messages API (Claude 3.5 / 3.7 / 4.x family) with streaming SSE, error mapping, and optional prompt caching.

Compendium.Adapters.Mistral

Mistral AI direct API adapter for Compendium Framework. Implements IAIProvider against Mistral's "la Plateforme" REST API — EU-hosted (France) for GDPR-friendly chat completions, streaming, embeddings, tool calling, structured outputs, and Pixtral vision.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.0-preview.6 656 10/31/2026
1.0.5-preview.8 1,035 9/30/2026
1.0.5-preview.7 652 9/29/2026
1.0.5-preview.5 14,218 9/5/2026
1.0.5-preview.4 7,690 7/24/2026
1.0.5-preview.3 245 7/24/2026
1.0.5-preview.2 124 7/24/2026
1.0.5-preview.1 339 7/20/2026
1.0.4 1,051 6/11/2026
1.0.3 464 5/21/2026
1.0.2 374 5/18/2026
1.0.1 1,190 5/16/2026
1.0.0 4,976 5/14/2026
1.0.0-preview.9 620 5/14/2026
1.0.0-preview.8 1,753 5/2/2026
1.0.0-preview.7 119 5/2/2026
1.0.0-preview.6 155 5/2/2026
1.0.0-preview.5 131 4/30/2026
1.0.0-preview.4 206 4/26/2026
1.0.0-preview.3 98 4/26/2026
Loading failed