anthropics/anthropic-sdk-go
Access to Anthropic's safety-first language model APIs via Go
What it solves
This SDK lets Go developers call the Claude API directly from their Go applications, without writing raw HTTP requests or handling JSON manually. It turns Anthropic's AI capabilities into typed Go functions and structs.
How it works
You create a client with an API key (or let it read the ANTHROPIC_API_KEY environment variable), then call methods like client.Messages.New with parameters such as the model, max tokens, and user messages. The SDK handles request encoding, authentication, and response parsing, returning strongly typed results.
Who it's for
Go developers building applications that need to integrate Claude's language model capabilities, such as chatbots, text analysis, or any feature powered by Claude. Requires Go 1.25 or newer.
Highlights
- Official Anthropic SDK for Go
- Access to the full Claude API
- Typed request and response structures
- Easy setup with API key or environment variable
- Supports Go 1.25+
Related
- Project
ghuntley/how-to-build-a-coding-agentA Go‑based workshop that incrementally builds a Claude‑powered coding assistant, adding tools for file reading, directory listing, shell execution, file editing, and code search.
- Project
davila7/claude-code-templatesClaude Code Templates is a searchable catalog and CLI tool that simplifies the installation and management of custom skills, agents, and integrations for Claude Code.
- Project
anthropics/anthropic-sdk-csharpThe Anthropic SDK for C# is the official C# client for the Claude API, available as the `Anthropic` NuGet package. It supports .NET Standard 2.0+, includes a simple async message-creation API, and is licensed under Apache 2.0 (with older MIT-covered parts).
- Dispatch
Claude for Apple Foundation Models IntegrationAnthropic has released a Swift package allowing Claude to be used as a server-side language model within Apple's Foundation Models framework, providing a unified API for switching between on-device and cloud-hosted models.
- Dispatch
Introducing ClaudeAnthropic has released Claude, a next-generation AI assistant designed to be helpful, honest, and harmless, available in high-performance and fast, lightweight versions.