American artificial intelligence corporation

Anthropic PBC is an American artificial intelligence (AI) company founded in 2021. It has developed a family of large language models (LLMs) named Claude. The company researches and develops AI to "study … Wikipedia
Factsheet
Company type Private
Founded 2021; 4 years ago (2021)
Factsheet
Company type Private
Founded 2021; 4 years ago (2021)
🌐
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
🌐
Go Packages
pkg.go.dev › github.com › anthropics › anthropic-sdk-go
anthropic package - github.com/anthropics/anthropic-sdk-go - Go Packages
package main import ( "context" "fmt" "github.com/anthropics/anthropic-sdk-go" "github.com/anthropics/anthropic-sdk-go/option" ) func main() { client := anthropic.NewClient( option.WithAPIKey("my-anthropic-api-key"), // defaults to os.LookupEnv("ANTHROPIC_API_KEY") ) message, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{ MaxTokens: 1024, Messages: []anthropic.MessageParam{ anthropic.NewUserMessage(anthropic.NewTextBlock("What is a quaternion?")), }, Model: anthropic.ModelClaudeSonnet4_5_20250929, }) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", message.Content) }
🌐
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 › adamchol › go-anthropic-sdk
anthropic package - github.com/adamchol/go-anthropic-sdk - Go Packages
It is heavily inspired by the Unofficial Go SDK for OpenAI API by @sashabaranov ... 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 › anthropics
Anthropic · GitHub
anthropic-sdk-go Public · Access to Anthropic's safety-first language model APIs via Go · anthropics/anthropic-sdk-go’s past year of commit activity · Go 664 MIT 83 25 11 Updated · Dec 26, 2025 · anthropic-sdk-php Public · Access to Anthropic's safety-first language model APIs in PHP ·
🌐
Go Packages
pkg.go.dev › github.com › modeledge › anthropic-sdk-go › v2
anthropic package - github.com/modeledge/anthropic-sdk-go/v2 - Go Packages
$ go get github.com/modeledge/anthropic-sdk-go/[email protected] Example usage: package main import ( "fmt" "github.com/modeledge/anthropic-sdk-go/v2" "github.com/modeledge/anthropic-sdk-go/v2/data" "github.com/modeledge/anthropic-sdk-go/v2/resp" ) func main() { c, err := anthropic.New(&anthropic.Config{Key: "your keys", DefaultModel: data.ModelFullInstant}) if err != nil { panic(err) } d, err := c.Send(&anthropic.Sender{ Message: data.MessageModule{ Human: "Do you know Golang, please answer me in the shortest possible way.", }, Sender: &resp.Sender{MaxToken: 1200}, }) if err != nil { panic(err) } fmt.Println(d.Response.String()) } Return: {"detail":null,"completion":"Hello world!
🌐
GitHub
github.com › anthropics › anthropic-sdk-python
GitHub - anthropics/anthropic-sdk-python
This SDK provides support for tool use, aka function calling. More details can be found in the documentation. This library also provides support for the Anthropic Bedrock API if you install this library with the bedrock extra, e.g.
Starred by 2.6K users
Forked by 415 users
Languages   Python
🌐
Go Packages
pkg.go.dev › github.com › 3JoB › anthropic-sdk-go
anthropic package - github.com/3JoB/anthropic-sdk-go - Go Packages
package main import ( "fmt" "github.com/3JoB/anthropic-sdk-go" "github.com/3JoB/anthropic-sdk-go/data" ) func main() { c, err := anthropic.New("api keys","modules") if err != nil { panic(err) } d, err := c.Send(&anthropic.Opts{ Message: data.MessageModule{ Human: "Do you know Golang, please answer me in the shortest possible way.", }, Sender: anthropic.Sender{MaxToken: 1200}, }) if err != nil { panic(err) } fmt.Println(d.Response.String()) }
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.
package main import ( "fmt" "github.com/3JoB/anthropic-sdk-go/v2" "github.com/3JoB/anthropic-sdk-go/v2/resp" "github.com/3JoB/anthropic-sdk-go/v2/data" ) func main() { c, err := anthropic.New(&anthropic.Config{Key: "your keys", DefaultModel: data.ModelFullInstant}) if err != nil { panic(err) } d, err := c.Send(&anthropic.Sender{ Message: data.MessageModule{ Human: "Do you know Golang, please answer me in the shortest possible way.", }, Sender: &resp.Sender{MaxToken: 1200}, }) if err != nil { panic(err) } fmt.Println(d.Response.String()) ds, err := c.Send(&anthropic.Sender{ Message: data.MessageModule{ Human: "What is its current version number?", }, SessionID: d.ID, Sender: &resp.Sender{MaxToken: 1200}, }) if err != nil { panic(err) } fmt.Println(ds.Response.String()) }
Starred by 38 users
Forked by 6 users
Languages   Go
🌐
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
🌐
Go Packages
pkg.go.dev › github.com › anthropics › anthropic-sdk-go › option
option package - github.com/anthropics/anthropic-sdk-go/option - Go Packages
github.com/anthropics/anthropic-sdk-go · Open Source Insights · type HTTPClient · type Middleware · type MiddlewareNext · type RequestOption · func WithAPIKey(value string) RequestOption · func WithAuthToken(value string) RequestOption · func WithBaseURL(base string) RequestOption ·
🌐
GitHub
github.com › liushuangls › go-anthropic
GitHub - liushuangls/go-anthropic: Anthropic Claude API wrapper for Go
Anthropic Claude API wrapper for Go. Contribute to liushuangls/go-anthropic development by creating an account on GitHub.
Starred by 161 users
Forked by 24 users
Languages   Go
🌐
GitHub
github.com › DatraAI › anthropic-sdk-go
GitHub - DatraAI/anthropic-sdk-go: Access to Anthropic's safety-first language model APIs via Go
This library requires Go 1.18+. The full API of this library can be found in api.md. package main import ( "context" "fmt" "github.com/anthropics/anthropic-sdk-go" "github.com/anthropics/anthropic-sdk-go/option" ) func main() { client := anthropic.NewClient( option.WithAPIKey("my-anthropic-api-key"), // defaults to os.LookupEnv("ANTHROPIC_API_KEY") ) message, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{ MaxTokens: 1024, Messages: []anthropic.MessageParam{ anthropic.NewUserMessage(anthropic.NewTextBlock("What is a quaternion?")), }, Model: anthropic.ModelClaudeSonnet4_20250514, }) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", message.Content) }
Author   DatraAI
🌐
GitHub
github.com › anthropics › anthropic-sdk-go › releases
Releases · anthropics/anthropic-sdk-go
Access to Anthropic's safety-first language model APIs via Go - Releases · anthropics/anthropic-sdk-go
Author   anthropics
🌐
GitHub
github.com › anthropics › anthropic-sdk-go › blob › main › CHANGELOG.md
anthropic-sdk-go/CHANGELOG.md at main · anthropics/anthropic-sdk-go
Access to Anthropic's safety-first language model APIs via Go - anthropic-sdk-go/CHANGELOG.md at main · anthropics/anthropic-sdk-go
Author   anthropics
🌐
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 - anthropic-sdk-go/client.go at main · anthropics/anthropic-sdk-go
Author   anthropics
🌐
GitHub
github.com › anthropics › anthropic-sdk-go › pulls
Pull requests · anthropics/anthropic-sdk-go
Access to Anthropic's safety-first language model APIs via Go - Pull requests · anthropics/anthropic-sdk-go
Author   anthropics
🌐
Go Packages
pkg.go.dev › github.com › fabiustech › anthropic
anthropic package - github.com/fabiustech/anthropic - Go Packages
Model Model `json:"model,omitempty"` // MaxTokensToSample is the maximum number of tokens to generate before stopping. Required. MaxTokensToSample int `json:"max_tokens_to_sample"` // StopSequences specifies a list of sequences to stop sampling at. Anthropic's models stop on "\n\nHuman:", and // may include additional built-in stop sequences in the future.
🌐
GitHub
github.com › anthropics › anthropic-sdk-go › blob › main › examples › tools › main.go
anthropic-sdk-go/examples/tools/main.go at main · anthropics/anthropic-sdk-go
Access to Anthropic's safety-first language model APIs via Go - anthropic-sdk-go/examples/tools/main.go at main · anthropics/anthropic-sdk-go
Author   anthropics