# anthropics/anthropic-sdk-go

Access to Anthropic's safety-first language model APIs via Go

Repository: https://github.com/anthropics/anthropic-sdk-go
Canonical: https://ross.abutalabs.com/products/anthropic-sdk-go
Language: Go
License: MIT
License Family: permissive
Last push: 2026-09-02T20:23:39+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 100, release rhythm 88, longevity 54
- inputs: {"age_days": 765, "days_push": 0, "days_rel": 1, "gap_med": 2.0, "n_releases_24m": 87}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1183, forks 211 (observed 2026-09-03T02:15:09.111146+00:00)

## What it is
The official Go SDK for accessing Anthropic's Claude language model APIs. It provides typed clients for messages, streaming, and other Claude API endpoints from Go applications.

## Use cases
- call the claude api from go
- send chat messages to anthropic models in a go backend
- stream llm responses in a go service
- integrate claude into a go application
- build an ai-powered go cli

## When to choose
- your application is written in Go and needs Claude API access
- you want an officially maintained, typed client instead of raw HTTP calls
- you need streaming and message APIs with idiomatic Go types

## When to avoid
- you use another language like Python or TypeScript
- you need a multi-provider LLM abstraction rather than Anthropic-specific APIs
- you want a self-hosted model runtime rather than an API client

## Facets
- artifact type: library
- maturity: active
- function: sdk, http-client, llm-inference
- domain: large-language-models, artificial-intelligence, apis, developer-tools
- platform: go, cross-platform
- tags: anthropic, claude, api-client, llm, go-sdk

## Member repositories
- anthropics/anthropic-sdk-go (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:09.111146+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:25:15.915659+00:00, confidence not recorded.
  - readme: https://github.com/anthropics/anthropic-sdk-go (fetched 2026-09-03T02:15:09.111146+00:00, sha 83bb724a4722)
- Data as of 2026-08-30T08:39:29.467469+00:00.
