Compendium.Abstractions.AI
1.1.0-preview.6
dotnet add package Compendium.Abstractions.AI --version 1.1.0-preview.6
NuGet\Install-Package Compendium.Abstractions.AI -Version 1.1.0-preview.6
<PackageReference Include="Compendium.Abstractions.AI" Version="1.1.0-preview.6" />
<PackageVersion Include="Compendium.Abstractions.AI" Version="1.1.0-preview.6" />
<PackageReference Include="Compendium.Abstractions.AI" />
paket add Compendium.Abstractions.AI --version 1.1.0-preview.6
#r "nuget: Compendium.Abstractions.AI, 1.1.0-preview.6"
#:package Compendium.Abstractions.AI@1.1.0-preview.6
#addin nuget:?package=Compendium.Abstractions.AI&version=1.1.0-preview.6&prerelease
#tool nuget:?package=Compendium.Abstractions.AI&version=1.1.0-preview.6&prerelease
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 inCompletionResponse.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 | Versions 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. |
-
net10.0
- Compendium.Core (>= 1.0.5-preview.5)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.13)
-
net9.0
- Compendium.Core (>= 1.0.5-preview.5)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.20)
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 |