Skip to main content
ClaudeAgentSdk package icon

ClaudeAgentSdk

Unofficial .NET SDK for Claude Code. Build production-ready AI applications with Claude's code generation and analysis capabilities. Supports streaming responses, multi-turn conversations, tool use, and comprehensive error handling. Complete port of the Python SDK with idiomatic C# async/await patterns.

Total Downloads
6.5K
6,504
Published
Nov 8, 2025
Latest stable version

Install

.NET CLI
dotnet add package ClaudeAgentSdk --version 0.2.1
Package Manager Console
Install-Package ClaudeAgentSdk -Version 0.2.1
PackageReference
<PackageReference Include="ClaudeAgentSdk" Version="0.2.1" />

Frameworks

net8.0

Dependencies

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.