🌐
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.
Starred by 665 users
Forked by 83 users
Languages   Go
🌐
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 › liushuangls › go-anthropic
GitHub - liushuangls/go-anthropic: Anthropic Claude API wrapper for Go
Anthropic Claude API wrapper for Go (Unofficial).
Starred by 165 users
Forked by 26 users
Languages   Go
🌐
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
🌐
Go Packages
pkg.go.dev › github.com › liushuangls › go-anthropic
anthropic package - github.com/liushuangls/go-anthropic - Go Packages
package main import ( "errors" "fmt" "github.com/liushuangls/go-anthropic" ) func main() { client := anthropic.NewClient("your anthropic apikey") resp, err := client.CreateMessagesStream(context.Background(), anthropic.MessagesStreamRequest{ MessagesRequest: anthropic.MessagesRequest{ Model: anthropic.ModelClaudeInstant1Dot2, Messages: []anthropic.Message{ anthropic.NewUserTextMessage("What is your name?"), }, MaxTokens: 1000, }, OnContentBlockDelta: func(data anthropic.MessagesEventContentBlockDeltaData) { fmt.Printf("Stream Content: %s\n", data.Delta.Text) }, }) if err != nil { var e *anthropic.APIError if errors.As(err, &e) { fmt.Printf("Messages stream error, type: %s, message: %s", e.Type, e.Message) } else { fmt.Printf("Messages stream error: %v\n", err) } return } fmt.Println(resp.Content[0].Text) }
🌐
Go Packages
pkg.go.dev › github.com › 3JoB › anthropic-sdk-go
anthropic package - github.com/3JoB/anthropic-sdk-go - Go Packages
github.com/3JoB/anthropic-sdk-go ... automated processing · Concise and easy-to-use API · Fast data processing · This is a third-party Claude SDK GO library, starting March 23, 2023....
Find elsewhere
🌐
GitHub
github.com › 3JoB › anthropic-sdk-go
GitHub - 3JoB/anthropic-sdk-go: (Need to be maintained) Golang SDK for AnthRopic Claude AI. Provide complete encapsulated interfaces that are easy to quickly get started with.
(Need to be maintained) Golang SDK for AnthRopic Claude AI. Provide complete encapsulated interfaces that are easy to quickly get started with. - 3JoB/anthropic-sdk-go
Starred by 38 users
Forked by 6 users
Languages   Go
🌐
Restack
restack.io › p › anthropic-knowledge-answer-golang-sdk-cat-ai
Anthropic SDK Golang Overview | Restackio
Explore the Anthropic SDK for Golang, enabling seamless integration and advanced AI capabilities in your applications. | Restackio
🌐
Go Packages
pkg.go.dev › github.com › anthropics › anthropic-sdk-go › option
option package - github.com/anthropics/anthropic-sdk-go/option - Go Packages
RequestOption is an option for the requests made by the anthropic API Client which can be supplied to clients, services, and methods.
🌐
Claude
platform.claude.com › docs › en › api › client-sdks
Claude
This page includes brief installation instructions and links to the open-source GitHub repositories for Anthropic's Client SDKs.
🌐
Codingmall
codingmall.com › knowledge-base › 25-global › 1558-anthropic-package-for-go
Anthropic Package for Go: Integration with Claude API
At CodingMall.com we provide Joomla extensions, components, WordPress Plugins, SEO and customized web development solutions.
🌐
GitHub
github.com › madebywelch › anthropic-go
GitHub - madebywelch/anthropic-go: Go SDK for Anthropic's Claude, a next-generation AI assistant for your tasks, no matter the scale.
Go SDK for Anthropic's Claude, a next-generation AI assistant for your tasks, no matter the scale. - madebywelch/anthropic-go
Starred by 36 users
Forked by 18 users
Languages   Go
🌐
Reddit
reddit.com › r/golang › go client for anthropic ai's api w/ support for streaming completions
r/golang on Reddit: Go Client for Anthropic AI's API w/ support for streaming completions
May 20, 2022 - 278K subscribers in the golang community. Ask questions and post articles about the Go programming language and related tools, events etc.