🌐
GitHub
github.com › anthropics › anthropic-sdk-go
GitHub - anthropics/anthropic-sdk-go: Access to Anthropic's safety-first language model APIs via Go
The Anthropic Go library provides convenient access to the Anthropic REST API from applications written in Go. import ( "github.com/anthropics/anthropic-sdk-go" // imported as anthropic )
Starred by 650 users
Forked by 81 users
Languages   Go
🌐
Claude
docs.claude.com › en › api › client-sdks
Client SDKs - Claude Docs
This page includes brief installation instructions and links to the open-source GitHub repositories for Anthropic’s Client SDKs.
🌐
Go Packages
pkg.go.dev › github.com › adamchol › go-anthropic-sdk
anthropic package - github.com/adamchol/go-anthropic-sdk - Go Packages
August 11, 2024 - This library provides unofficial Go clients for Anthropic API. It is heavily inspired by the Unofficial Go SDK for OpenAI API by @sashabaranov
🌐
GitHub
github.com › liushuangls › go-anthropic
GitHub - liushuangls/go-anthropic: Anthropic Claude API wrapper for Go
Anthropic Claude API wrapper for Go (Unofficial).
Starred by 161 users
Forked by 24 users
Languages   Go
🌐
Anthropic
anthropic.com › learn › build-with-claude
Anthropic Academy: Claude API Development Guide
Learn about Anthropic's APIs, SDKs, and other development tools · Python SDK · TypeScript SDK · Java SDK · Go SDK · Ruby SDK · Understand the Messages API · Process multiple Messages API requests at once with the Message Batches API · Optimize your API usage with prompt caching ·
🌐
Go Packages
pkg.go.dev › github.com › modeledge › anthropic-sdk-go › v2
anthropic package - github.com/modeledge/anthropic-sdk-go/v2 - Go Packages
April 2, 2024 - github.com/modeledge/anthropic-sdk-go · Open Source Insights · Golang SDK for AnthRopic Claude AI · Contextual sequential memory · Prompt automatically handles / Contextual automated processing · Concise and easy-to-use API · Fast data processing · Claude Docs: https://console.anthr...
🌐
Anthropic
anthropic.com › engineering › building-agents-with-the-claude-agent-sdk
Building agents with the Claude Agent SDK
September 29, 2025 - 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.
🌐
Pcarion
pcarion.com › blog › go_model_context_protocol
Go SDK for Anthropic Model Context Protocol | pcarion.com
December 6, 2024 - The one where I write a Go SDK to develop a Model Context Protocol server
Find elsewhere
🌐
AWS re:Post
repost.aws › questions › QUtbSkkVUyTPeMaGo_Fwb2aA › golang-sdk-support-for-claude-v3
Golang SDK support for Claude v3 | AWS re:Post
March 22, 2024 - I'm not very familiar with Go, but based on the documentation below, it looks like "bedrockruntime" can be used, so I thought I could use it just by sending a message API request. https://docs.aws.amazon.com/code-library/latest/ug/go_2_bedrock-runtime_code_examples.html https://github.com/awsdocs/aws-doc-sdk-examples/blob/main/gov2/bedrock-runtime/hello/hello.go#L4 https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/bedrockruntime#Client.InvokeModel · Please check the contents of the following document for message API requests. https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-anthropic-claude-messages.html
🌐
GitHub
github.com › unfunco › anthropic-sdk-go
GitHub - unfunco/anthropic-sdk-go: Go client library for interacting with the Anthropic safety-first language model REST APIs.
Go client library for interacting with the Anthropic safety-first language model REST APIs. - unfunco/anthropic-sdk-go
Author   unfunco
🌐
Reddit
reddit.com › r/aitrailblazer › anthropic claude golang sdk
r/AITrailblazer on Reddit: Anthropic Claude Golang SDK
April 9, 2024 - A Go SDK for interacting with the Anthropic Claude API. This SDK allows you to send structured messages and handle responses from Anthropic's conversational AI models seamlessly within your Go applications.
🌐
GitHub
github.com › anthropics › anthropic-sdk-go › blob › main › client.go
anthropic-sdk-go/client.go at main · anthropics/anthropic-sdk-go
Access to Anthropic's safety-first language model APIs via Go - anthropics/anthropic-sdk-go
Author   anthropics
🌐
Restack
restack.io › p › anthropic-sdk-knowledge-answer-go-programming-cat-ai
Anthropic SDK for Go Programming | Restackio
March 30, 2025 - Begin by setting up your Go environment. Ensure you have Go installed on your machine. You can download it from the official Go website: https://golang.org/dl/. Next, install the Anthropic SDK.
🌐
RubyDoc
rubydoc.info › github › anthropics › anthropic-sdk-ruby › main
RubyDoc.info: File: README – Documentation for anthropics/anthropic-sdk-ruby (main) – RubyDoc.info
April 10, 2025 - Each instance of Anthropic::Client has its own HTTP connection pool with a default size of 99. As such, we recommend instantiating the client once per application in most settings. When all available connections from the pool are checked out, requests wait for a new connection to become available, with queue time counting towards the request timeout. Unless otherwise specified, other classes in the SDK ...
🌐
Skopow
blog.skopow.ski › how-to-send-a-pdf-file-to-claudeai-with-go-sdk
How to send a PDF file to Claude.ai with Go SDK
November 11, 2024 - package main import ( "context" "encoding/base64" "fmt" "io" "os" "github.com/anthropics/anthropic-sdk-go" "github.com/anthropics/anthropic-sdk-go/option" ) func main() { client := anthropic.NewClient( option.WithAPIKey("API_KEY"), option.WithHeader("anthropic-beta", "pdfs-2024-09-25"), ) content := "How many dogs are in the attached document?" println("[user]: " + content) file, err := os.Open("./dogs.pdf") if err != nil { panic(fmt.Errorf("failed to open file: %w", err)) } fileBytes, err := io.ReadAll(file) if err != nil { panic(err) } fileEncoded := base64.StdEncoding.EncodeToString(fileByt