Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk
1.1.0
See the version list below for details.
dotnet add package Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk --version 1.1.0
NuGet\Install-Package Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk -Version 1.1.0
<PackageReference Include="Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk" Version="1.1.0" />
<PackageVersion Include="Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk" Version="1.1.0" />
<PackageReference Include="Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk" />
paket add Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk --version 1.1.0
#r "nuget: Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk, 1.1.0"
#:package Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk@1.1.0
#addin nuget:?package=Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk&version=1.1.0
#tool nuget:?package=Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk&version=1.1.0
Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk
About
Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk is an IModel adapter that runs the Claude Code CLI — via Universal.Anthropic.ClaudeAgentSdk — as an Operative model provider.
Usage
using Universal.Operative.Sdk;
using Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk;
IModel model = new Model(new Model.Options
{
WorkingDirectory = "/path/to/a/writable/directory", // also determines where synthetic transcripts are written
Tools = myTools, // the same ITool list registered on your Engine
});
Notes
Partial Claude stream events are enabled by default and mapped to Operative block start/delta/stop events. Tool calls emitted by assistant messages and tool results emitted by CLI user messages are both retained in the settled response. System, rate-limit, unknown, and otherwise provider-specific messages are exposed through namespaced UnknownEvent payloads rather than dropped. Set Model.Options.IncludePartialMessages to false to use settled assistant messages only.
Experimental: conversation history is maintained via a synthetic session transcript in the CLI's own on-disk format, which is undocumented and may change without notice.
| 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
- Universal.Anthropic.ClaudeAgentSdk (>= 2.0.4)
- Universal.Common.Formats.Gif (>= 2.1.0)
- Universal.Common.Formats.Jpeg (>= 2.1.3)
- Universal.Common.Formats.Png (>= 2.2.0)
- Universal.Common.Formats.WebP (>= 2.0.0)
- Universal.Common.Image (>= 2.0.0)
- Universal.Operative.Sdk (>= 5.1.0)
- Universal.Operative.Sdk.Discrete (>= 1.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Streams Claude events and preserves tool results and provider-specific messages.