Anthropic 12.32.0
Prefix ReservedSee the version list below for details.
dotnet add package Anthropic --version 12.32.0
NuGet\Install-Package Anthropic -Version 12.32.0
<PackageReference Include="Anthropic" Version="12.32.0" />
<PackageVersion Include="Anthropic" Version="12.32.0" />
<PackageReference Include="Anthropic" />
paket add Anthropic --version 12.32.0
#r "nuget: Anthropic, 12.32.0"
#:package Anthropic@12.32.0
#addin nuget:?package=Anthropic&version=12.32.0
#tool nuget:?package=Anthropic&version=12.32.0
Claude SDK for C#
As of version 10+, the Anthropic package is now the official Claude SDK for C#. Package versions 3.X and below were previously used for the tryAGI community-built SDK, which has moved to tryAGI.Anthropic. If you need to continue using the former client in your project, update your package reference to tryAGI.Anthropic.
The Claude SDK for C# provides access to the Claude API from C# applications.
Documentation
Full documentation is available at platform.claude.com/docs/en/api/sdks/csharp.
Installation
dotnet add package Anthropic
Getting started
using System;
using Anthropic;
using Anthropic.Models.Messages;
AnthropicClient client = new();
MessageCreateParams parameters = new()
{
MaxTokens = 1024,
Messages =
[
new()
{
Role = Role.User,
Content = "Hello, Claude",
},
],
Model = "claude-opus-4-6",
};
var message = await client.Messages.Create(parameters);
Console.WriteLine(message);
Requirements
.NET Standard 2.0+
Contributing
See CONTRIBUTING.md.
License
This project is licensed under the MIT License. See the LICENSE file for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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 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 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.AI.Abstractions (>= 10.5.1)
- System.Collections.Immutable (>= 8.0.0)
- System.Net.ServerSentEvents (>= 10.0.1)
- System.Text.Json (>= 10.0.6)
- System.Threading.Tasks.Extensions (>= 4.6.3)
-
net8.0
- Microsoft.Extensions.AI.Abstractions (>= 10.5.1)
- System.Net.ServerSentEvents (>= 10.0.1)
- System.Text.Json (>= 10.0.6)
-
net9.0
- Microsoft.Extensions.AI.Abstractions (>= 10.5.1)
- System.Net.ServerSentEvents (>= 10.0.1)
- System.Text.Json (>= 10.0.6)
NuGet packages (79)
Showing the top 5 NuGet packages that depend on Anthropic:
| Package | Downloads |
|---|---|
|
Anthropic.Foundry
Package Description |
|
|
LangChain.Providers.Anthropic
Anthropic API LLM and Chat model provider. |
|
|
Microsoft.Agents.AI.Anthropic
Provides Microsoft Agent Framework support for Anthropic Agents. |
|
|
Anthropic.Bedrock
Package Description |
|
|
Anthropic.Vertex
Package Description |
GitHub repositories (10)
Showing the top 10 popular GitHub repositories that depend on Anthropic:
| Repository | Stars |
|---|---|
|
Sylinko/Everywhere
On-screen aware AI assistant for your desktop. Uses current app context, multiple LLMs, and MCP tools to help you act across apps.
|
|
|
modelcontextprotocol/csharp-sdk
The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft.
|
|
|
getcellm/cellm
Use LLMs in Excel formulas
|
|
|
clawdotnet/openclaw.net
Self-hosted Personal AI + agent runtime in .NET (NativeAOT-friendly)
|
|
|
DotHarness/dotcraft
The agent harness for .NET: embeddable, extensible, remotely controllable and ready to use.
|
|
|
CodeAlta/CodeAlta
Your efficient agentic AI coding CLI assistant
|
|
|
netclaw-dev/netclaw
Simple, secure, reliable agents. Self-hosted. Open source. Built with .NET.
|
|
|
rappen/FetchXMLBuilder
FetchXML Builder for XrmToolBox and Microsoft Dynamics 365 / CRM
|
|
|
Cysharp/CompilerBrain
CLI Coding Agent not for Vibe-coding, for C# Expert.
|
|
|
MarkMpn/Sql4Cds
SQL 4 CDS core engine and XrmToolbox tool
|
| Version | Downloads | Last Updated |
|---|---|---|
| 12.49.0 | 701 | 9/18/2026 |
| 12.48.0 | 11,560 | 9/15/2026 |
| 12.47.0 | 31,509 | 9/10/2026 |
| 12.46.0 | 53,392 | 9/4/2026 |
| 12.45.0 | 69,717 | 9/1/2026 |
| 12.44.0 | 62,613 | 8/27/2026 |
| 12.43.0 | 20,837 | 8/26/2026 |
| 12.42.1 | 13,102 | 8/25/2026 |
| 12.42.0 | 89,785 | 8/19/2026 |
| 12.41.0 | 52,693 | 8/19/2026 |
| 12.40.0 | 207,231 | 8/7/2026 |
| 12.39.0 | 235,663 | 7/24/2026 |
| 12.38.0 | 20,155 | 7/23/2026 |
| 12.37.0 | 10,977 | 7/22/2026 |
| 12.36.1 | 11,028 | 7/21/2026 |
| 12.36.0 | 82,679 | 7/16/2026 |
| 12.35.1 | 307,806 | 7/2/2026 |
| 12.35.0 | 3,250 | 7/2/2026 |
| 12.34.1 | 26,715 | 7/1/2026 |
| 12.32.0 | 14,927 | 6/29/2026 |