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.
Videos
08:00
Claude in the Box - Use Anthropic Agent SDK in a Sandbox - YouTube
How to use AgentOps with the Anthropic SDK in 5 minutes
17:01
How openai and anthropic publish their SDK and you can too - YouTube
09:05
Build with Claude as a JavaScript developer - Anthropic API - YouTube
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
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.
Reddit
reddit.com › r/anthropic › golang mcp implementation
r/Anthropic on Reddit: Golang MCP Implementation
November 27, 2024 -
I've scaffolded a basic SDK implementation in Go with the help of the specification docs and Claude Sonnet. Would have taken forever otherwise lol.
I have a basic client implemented with stdio and sse transports. Would love to get this to parity with the JS and Python SDKs. I'm ok with Go but not an expert by any means. Happy to have some help or at least have people check out the lib and note what's missing or can be fixed.
Cheers!
https://github.com/mark3labs/mcp-go
Top answer 1 of 2
1
I've also gone ahead and implemented the filesystem-server in Go using the newly created SDK https://github.com/mark3labs/mcp-filesystem-server
2 of 2
1
Hey, I have made an alternative implementation, that is only intended to be used for servers, but provides somewhat more high level API to register tools, prompts and resources, which allows to colocate related things. It is based on "fx" DI framework to wire everything together. strowk/foxy-contexts: Foxy contexts is a library for building context servers supporting Model Context Protocol I use my own underlying server implementation, it is possible that I might switch to anything that would be an official sdk..
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.
Goreportcard
goreportcard.com › report › github.com › adamchol › go-anthropic-sdk
Go Report Card | Go project code quality report cards
August 9, 2024 - Go Report Card by Shawn Smith and Herman Schaaf, authors of Production Go
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