Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk
2.0.2
See the version list below for details.
dotnet add package Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk --version 2.0.2
NuGet\Install-Package Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk -Version 2.0.2
<PackageReference Include="Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk" Version="2.0.2" />
<PackageVersion Include="Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk" Version="2.0.2" />
<PackageReference Include="Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk" />
paket add Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk --version 2.0.2
#r "nuget: Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk, 2.0.2"
#:package Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk@2.0.2
#addin nuget:?package=Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk&version=2.0.2
#tool nuget:?package=Universal.Operative.Sdk.Discrete.Anthropic.ClaudeAgentSdk&version=2.0.2
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 | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. 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
- 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 (>= 6.0.1)
- Universal.Operative.Sdk.Discrete (>= 2.0.1)
-
net8.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 (>= 6.0.1)
- Universal.Operative.Sdk.Discrete (>= 2.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Bounds inline documents before provider requests.