{"repo":"tghamm/Anthropic.SDK","free":true,"listed":false,"github":"https://github.com/tghamm/Anthropic.SDK","clone":"git clone https://github.com/tghamm/Anthropic.SDK.git","description":"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.","language":"C#","stars":223,"topics":["anthropic","anthropic-claude","c-sharp","claude","claude-ai","csharp","dotnet","dotnet-core","dotnet-standard","machine-learning"],"license":"MIT","category":"machine-learning","readme_excerpt":"Anthropic.SDK 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. It targets NetStandard 2.0, .NET 8.0, and .NET 10.0. Note: This package is not affiliated with, endorsed by, or sponsored by Anthropic. Anthropic and Claude are trademarks of Anthropic, PBC. Table of Contents - Anthropic.SDK - Table of Contents - Installation - API Keys - HttpClient - Usage - Examples - Non-Streaming Call - Streaming Call - Token Count - Extended Thinking - IChatClient - Prompt Caching - Document Support - Citations - MCP Connector - MCP Client Integration - Web Search - Web Fetch - Cost Calculation - List Models - Batching - Tools - Skills - Computer Use - HTTP Resilience - Custom Retry and Logging with IRequestInterceptor - Vertex AI Support - Authentication - 1. Environment Variables - 2. gcloud CLI or Service Account Authentication (Recommended) - Basic Usage - Available Models - Streaming Support - Contributing - License Installation Install Anthropic.SDK via the NuGet package manager: API Keys You can load the API Key from an environment variable named ANTHROPIC API KEY by default. Alternatively, you can supply it as a string to the AnthropicClient constructor. HttpClient The AnthropicClient can optionally take a custom HttpClient in the AnthropicClient constructor, which allows you to control elements such as retries and timeouts. Note: If you provide your ","default_branch":null,"files":null,"tree":[],"storefront":"/r/tghamm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tghamm/Anthropic.SDK/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}