🌐
GitHub
github.com › tghamm › Anthropic.SDK
GitHub - tghamm/Anthropic.SDK: An unofficial C#/.NET SDK for accessing the Anthropic Claude API. This package is not affiliated with, endorsed by, or sponsored by Anthropic. Anthropic and Claude are trademarks of Anthropic, PBC.
Anthropic.SDK is an unofficial C# client designed for interacting with the Claude AI API. This powerful interface simplifies the integration of the Claude AI into your C# applications.
Starred by 205 users
Forked by 38 users
Languages   C#
🌐
Microsoft Developer
developer.microsoft.com › dev blogs › blog › microsoft partners with anthropic to create official c# sdk for model context protocol
Microsoft partners with Anthropic to create official C# SDK for Model Context Protocol - Microsoft for Developers
April 11, 2025 - Microsoft is collaborating with Anthropic to create an official C# SDK for the Model Context Protocol (MCP). MCP has seen rapid adoption in the AI community, and this partnership aims to enhance the integration of AI models into C# applications.
🌐
NuGet
nuget.org › packages › Anthropic.SDK › 2.0.0
NuGet Gallery | Anthropic.SDK 2.0.0
A simple C# / .NET library to use with Anthropic's Claude API. Independently developed, this is not an official library and I am not affiliated with Anthropic. An Anthropic account is required.
🌐
AI SDK
ai-sdk.dev › providers › ai-sdk-providers › anthropic
AI SDK Providers: Anthropic
Some models have multi-modal capabilities. ... Anthropic language models can also be used in the streamText, generateObject, and streamObject functions (see AI SDK Core).
🌐
Claude
platform.claude.com › docs › en › api › client-sdks
Claude
<dependency> <groupId>com.anthropic</groupId> <artifactId>anthropic-java</artifactId> <version>2.10.0</version> </dependency> ... The C# SDK is currently in beta.
🌐
Anthropic
docs.anthropic.com › en › docs › claude-code › sdk
Agent SDK overview - Claude Docs
Built on top of the agent harness that powers Claude Code, the Claude Code SDK provides all the building blocks you need to build production-ready agents.
🌐
GitHub
github.com › anthropics › anthropic-sdk-python
GitHub - anthropics/anthropic-sdk-python
This SDK provides support for tool use, aka function calling. More details can be found in the documentation. This library also provides support for the Anthropic Bedrock API if you install this library with the bedrock extra, e.g.
Starred by 2.6K users
Forked by 415 users
Languages   Python
🌐
Go Packages
pkg.go.dev › github.com › modeledge › anthropic-sdk-go › v2
anthropic package - github.com/modeledge/anthropic-sdk-go/v2 - Go Packages
$ go get github.com/modeledge/anthropic-sdk-go/[email protected] Example usage: package main import ( "fmt" "github.com/modeledge/anthropic-sdk-go/v2" "github.com/modeledge/anthropic-sdk-go/v2/data" "github.com/modeledge/anthropic-sdk-go/v2/resp" ) func main() { c, err := anthropic.New(&anthropic.Config{Key: "your keys", DefaultModel: data.ModelFullInstant}) if err != nil { panic(err) } d, err := c.Send(&anthropic.Sender{ Message: data.MessageModule{ Human: "Do you know Golang, please answer me in the shortest possible way.", }, Sender: &resp.Sender{MaxToken: 1200}, }) if err != nil { panic(err) } fmt.Println(d.Response.String()) } Return: {"detail":null,"completion":"Hello world!
🌐
Anthropic
anthropic.com › engineering › building-agents-with-the-claude-agent-sdk
Anthropic
The Claude Agent SDK is a collection of tools that helps developers build powerful agents on top of Claude Code. In this article, we walk through how to get started and share our best practices. Last year, we shared lessons in building effective agents alongside our customers.
Find elsewhere
🌐
npm
npmjs.com › package › @anthropic-ai › sdk
anthropic-ai/sdk
The full API of this library can be found in api.md. import Anthropic from '@anthropic-ai/sdk'; const client = new Anthropic({ apiKey: process.env['ANTHROPIC_API_KEY'], // This is the default and can be omitted }); const message = await client.messages.create({ max_tokens: 1024, messages: [{ role: 'user', content: 'Hello, Claude' }], model: 'claude-sonnet-4-5-20250929', }); console.log(message.content);
      » npm install @anthropic-ai/sdk
    
Published   Dec 06, 2025
Version   0.71.2
Author   Anthropic
🌐
NuGet
nuget.org › packages › Anthropic.SDK
NuGet Gallery | Anthropic.SDK 5.8.0
A C# / .NET library to use with Anthropic's Claude API. Supports Streaming, Tools, Batching, and Semantic Kernel/Agent Framework
🌐
GitHub
github.com › anthropics
Anthropic · GitHub
Anthropic-managed directory of high quality Claude Code Plugins.
🌐
DeepWiki
deepwiki.com › tghamm › Anthropic.SDK
tghamm/Anthropic.SDK | DeepWiki
For advanced feature documentation such as function calling, streaming, and prompt caching, see Advanced Features. Anthropic.SDK is a C# client library that enables .NET applications to interact with Anthropic's Claude AI models through two distinct access paths:
🌐
Go Packages
pkg.go.dev › github.com › adamchol › go-anthropic-sdk
anthropic package - github.com/adamchol/go-anthropic-sdk - Go Packages
package main import ( "context" "fmt" anthropic "github.com/adamchol/go-anthropic-sdk" ) func main() { client := anthropic.NewClient("your-token") resp, err := client.CreateMessage(context.Background(), anthropic.MessageRequest{ Model: anthropic.Claude35SonnetModel, Messages: []anthropic.InputMessage{ { Role: anthropic.MessageRoleUser, Content: "Hello, how are you?", }, }, MaxTokens: 4096, }) if err != nil { fmt.Println(err) } fmt.Println(resp.Content[0].Text) }
🌐
GitHub
github.com › anthropics › anthropic-sdk-csharp
GitHub - anthropics/anthropic-sdk-csharp: Access to Anthropic's safety-first language model APIs in C#
To send a request to the Anthropic API, build an instance of some Params class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a C# class. For example, client.Messages.Create should be called with an instance of MessageCreateParams, and it will return an instance of Task<Message>. The SDK defines methods that return response "chunk" streams, where each chunk can be individually processed as soon as it arrives instead of waiting on the full response.
Starred by 92 users
Forked by 17 users
Languages   C# 99.9% | Shell 0.1%
🌐
GitHub
github.com › anthropics › anthropic-sdk-typescript
GitHub - anthropics/anthropic-sdk-typescript: Access to Anthropic's safety-first language model APIs in TypeScript
The full API of this library can be found in api.md. import Anthropic from '@anthropic-ai/sdk'; const client = new Anthropic({ apiKey: process.env['ANTHROPIC_API_KEY'], // This is the default and can be omitted }); const message = await client.messages.create({ max_tokens: 1024, messages: [{ role: 'user', content: 'Hello, Claude' }], model: 'claude-sonnet-4-5-20250929', }); console.log(message.content);
Starred by 1.5K users
Forked by 184 users
Languages   TypeScript 96.8% | Shell 2.1% | JavaScript 1.1%