github.com/anthropics/anthropic-sdk-go
v1.66.0
#2005 most downloaded on Go modules
anthropics/anthropic-sdk-go
What this package is like to depend on
Last release 4 days ago
19 Aug 2026
Ships on a steady schedule
a new release about every 1 weeks
Nearly every release is documented
notes for 84 of 84 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
189 releases · first in 2024
115 releases in the last 12 months
see the full history below
Release timeline
189 releases · Jul 2024 to Aug 2026Releases
latest 60 of 189-
v1.66.019 Aug 2026Release notes
Open source →1.66.0 (2026-08-19)
Full Changelog: v1.65.0...v1.66.0
Features
- api: managed agents web search config and self hosted sandbox memory (694b03a)
Release notes
Open source →Full Changelog: v1.65.0...v1.66.0
Features
- api: managed agents web search config and self hosted sandbox memory (694b03a)
-
v1.65.019 Aug 2026Release notes
Open source →1.65.0 (2026-08-19)
Full Changelog: v1.64.0...v1.65.0
Features
- api: Files and Skills APIs are now GA; add computer use and browser use toolsets (e7be7af)
Release notes
Open source →Full Changelog: v1.64.0...v1.65.0
Features
- api: Files and Skills APIs are now GA; add computer use and browser use toolsets (e7be7af)
-
v1.64.019 Aug 2026Release notes
Open source →1.64.0 (2026-08-18)
Full Changelog: v1.63.1...v1.64.0
Features
- api: additions to files and memory stores (5c105da)
- api: updates to skill, files, and user profiles (a0061d6)
Bug Fixes
- api: remove unsupported mid_conv_system content block (bced0f9)
- session-runner: retry tool-result sends for at least the lease TTL (#299) (ebc9533)
- tool-runner: forward the server-assigned container on follow-up requests (#277) (860620c)
- toolrunner: don't yield the final message twice from All() (#314) (1e418f0)
Chores
- internal: remove leftover prism references (a1d9eab)
Release notes
Open source →Full Changelog: v1.63.1...v1.64.0
Features
- api: additions to files and memory stores (5c105da)
- api: updates to skill, files, and user profiles (a0061d6)
Bug Fixes
- api: remove unsupported mid_conv_system content block (bced0f9)
- session-runner: retry tool-result sends for at least the lease TTL (#299) (ebc9533)
- tool-runner: forward the server-assigned container on follow-up requests (#277) (860620c)
- toolrunner: don't yield the final message twice from All() (#314) (1e418f0)
Chores
- internal: remove leftover prism references (a1d9eab)
-
v1.63.113 Aug 2026Release notes
Open source →1.63.1 (2026-08-13)
Full Changelog: v1.63.0...v1.63.1
Bug Fixes
- auth: pin token exchange to the configured base URL and skip auth for other origins (#258) (6e4141c)
- client: apply stop_details from every message_delta when accumulating (#253) (c197a64)
- client: properly render maxLength and maxItems in generated schemas (84a57f5)
- sessions: post "(no output)" for empty text tool results instead of an empty text block (#236) (a588842)
Chores
- ci: run breaking-change detection as a ci.yml job on every push (29aebdb)
Documentation
- api: clarify that user profile name is optional for resold profiles (1039f95)
Release notes
Open source →Full Changelog: v1.63.0...v1.63.1
Bug Fixes
- auth: pin token exchange to the configured base URL and skip auth for other origins (#258) (6e4141c)
- client: apply stop_details from every message_delta when accumulating (#253) (c197a64)
- client: properly render maxLength and maxItems in generated schemas (84a57f5)
- sessions: post "(no output)" for empty text tool results instead of an empty text block (#236) (a588842)
Chores
- ci: run breaking-change detection as a ci.yml job on every push (29aebdb)
Documentation
- api: clarify that user profile name is optional for resold profiles (1039f95)
-
v1.63.011 Aug 2026Release notes
Open source →1.63.0 (2026-08-10)
Full Changelog: v1.62.0...v1.63.0
Features
- api: add output_behavior to dream creation (create a new memory store or update the input store in place) (ba999d5)
Bug Fixes
Release notes
Open source →Full Changelog: v1.62.0...v1.63.0
Features
- api: add output_behavior to dream creation (create a new memory store or update the input store in place) (ba999d5)
Bug Fixes
-
v1.62.006 Aug 2026Release notes
Open source →1.62.0 (2026-08-06)
Full Changelog: v1.61.0...v1.62.0
Features
- api: add
mid-conversation-tool-changes-2026-07-01beta (f53c3d3) - api: add support for session budgets, advisor tool, pinned inference location and skills auto-loading from GitHub (89c04c2)
Bug Fixes
- client: preserve wire-faithful JSON in accumulated streaming messages (#197) (9a01ac0)
- jsonl: prevent silent truncation of large results, and don't panic on close (#203) (77dd33d)
- tools: name tool refusals and a dead shell so they can be matched (#213) (da87d4d)
Chores
Release notes
Open source →Full Changelog: v1.61.0...v1.62.0
Features
- api: add
mid-conversation-tool-changes-2026-07-01beta (f53c3d3) - api: add support for session budgets, advisor tool, pinned inference location and skills auto-loading from GitHub (89c04c2)
Bug Fixes
- client: preserve wire-faithful JSON in accumulated streaming messages (#197) (9a01ac0)
- jsonl: prevent silent truncation of large results, and don't panic on close (#203) (77dd33d)
- tools: name tool refusals and a dead shell so they can be matched (#213) (da87d4d)
Chores
- api: add
-
v1.61.024 Jul 2026 -
v1.60.023 Jul 2026Release notes
Open source →1.60.0 (2026-07-23)
Full Changelog: v1.59.0...v1.60.0
Features
- api: add new stop reason 'model_context_window_exceeded' (94caa5d)
Bug Fixes
Release notes
Open source →Full Changelog: v1.59.0...v1.60.0
Features
- api: add new stop reason 'model_context_window_exceeded' (94caa5d)
Bug Fixes
-
v1.59.022 Jul 2026Release notes
Open source →1.59.0 (2026-07-22)
Full Changelog: v1.58.1...v1.59.0
Features
- api: add support for Managed Agents model effort, initial session events, and threads delta streaming (abca19a)
Release notes
Open source →Full Changelog: v1.58.1...v1.59.0
Features
- api: add support for Managed Agents model effort, initial session events, and threads delta streaming (abca19a)
-
v1.58.121 Jul 2026Release notes
Open source →1.58.1 (2026-07-21)
Full Changelog: v1.58.0...v1.58.1
Bug Fixes
- client: copy all citation fields in ToParam conversions (#191) (26ac1f9)
- vertex: default to the cloud-platform scope in WithGoogleAuth (#190) (7931e70)
Chores
Release notes
Open source →Full Changelog: v1.58.0...v1.58.1
Bug Fixes
- client: copy all citation fields in ToParam conversions (#191) (26ac1f9)
- vertex: default to the cloud-platform scope in WithGoogleAuth (#190) (7931e70)
Chores
-
v1.58.016 Jul 2026Release notes
Open source → -
v1.57.010 Jul 2026Release notes
Open source →Full Changelog: v1.56.0...v1.57.0
Features
- api: add support for dreaming (3736bf0)
- tools: gate session tool calls on evaluated_permission (#151) (4d85a6f)
Bug Fixes
Chores
-
v1.56.002 Jul 2026Release notes
Open source → -
v1.55.101 Jul 2026Release notes
Open source →Full Changelog: v1.55.0...v1.55.1
Chores
- api: remove some nonfunctional types from the SDKs (9bd3d09)
-
v1.55.030 Jun 2026Release notes
Open source →Full Changelog: v1.54.0...v1.55.0
Features
- api: add support for Managed Agents event delta streaming, agent overrides, reverse pagination, vault credential injection scoping, and agent and deployment webhook events (021ef45)
-
v1.54.030 Jun 2026Release notes
Open source → -
v1.53.029 Jun 2026Release notes
Open source →Full Changelog: v1.52.0...v1.53.0
Features
- api: add support for 20260318 web fetch and support tools (6396455)
Chores
-
v1.52.024 Jun 2026Release notes
Open source →Full Changelog: v1.51.1...v1.52.0
Features
- client: add support for system.message streaming events (7bb296d)
Chores
-
v1.51.122 Jun 2026 -
v1.51.018 Jun 2026Release notes
Open source →Full Changelog: v1.50.2...v1.51.0
Features
- api: add support for new code_execution_20260120 tool (f54a4a8)
-
v1.50.215 Jun 2026Release notes
Open source → -
v1.50.109 Jun 2026Release notes
Open source → -
v1.50.009 Jun 2026Release notes
Open source →Full Changelog: v1.49.0...v1.50.0
Features
- api: add support for Managed Agents deployments and environment variable credentials (f72e1d8)
-
v1.49.009 Jun 2026Release notes
Open source →Full Changelog: v1.48.0...v1.49.0
Features
- api: add support for claude-mythos-5 and claude-fable-5, with support for server-side fallbacks on refusal (782f223)
- client: adds client-side fallbacks middleware for API providers that do not support server-side fallbacks (782f223)
Bug Fixes
-
v1.48.006 Jun 2026Release notes
Open source → -
v1.47.005 Jun 2026Release notes
Open source →Full Changelog: v1.46.0...v1.47.0
Features
Bug Fixes
- streaming: accumulate content block events by index (#6) (2161a38)
- streaming: carry encrypted_content through beta compaction accumulator (#875) (13fa611)
- streaming: carry stop_details and usage fields through beta message_delta (#879) (d432c9f)
- streaming: carry stop_details and usage fields through message_delta (#877) (e2fcc35)
- support invopop/jsonschema v0.14.0 (switch to pb33f/ordered-map) (#10) (af018a7)
Chores
- internal: fix artifact url (fd4cde3)
- internal: fix branch names (e1730cd)
- internal: update private repo name (29f7468)
Documentation
-
v1.46.028 May 2026Release notes
Open source →Full Changelog: v1.45.0...v1.46.0
Features
- api: Add support for claude-opus-4-8, mid-conversation system blocks, and usage.output_tokens_details (4cd860b)
- support custom file size caps (#876) (99634e8)
Chores
- examples: rename managed-agents private-sandbox-worker to self-hosted-sandbox-worker (#873) (07d3e46)
Documentation
- replace literal newlines (cbb7ea5)
-
v1.45.1-0.20260527003116-cbccc4c9585527 May 2026 pre-releaseNothing published for this version
-
v1.45.1-0.20260527003044-0114b4a36f3427 May 2026 pre-releaseNothing published for this version
-
v1.45.021 May 2026Release notes
Open source →Full Changelog: v1.44.1...v1.45.0
Features
- api: Add support for thinking-token-count beta for estimated tokens in thinking block deltas when streaming (dedeb6d)
-
v1.44.119 May 2026Release notes
Open source →Full Changelog: v1.44.0...v1.44.1
Bug Fixes
- runner: skip tool calls SessionToolRunner does not own (93afc65)
-
v1.44.019 May 2026Release notes
Open source →Full Changelog: v1.43.0...v1.44.0
Features
- client: Add support for self-hosted sandboxes in CMA with sandbox helpers (34354c4)
-
v1.43.013 May 2026Release notes
Open source →Full Changelog: v1.42.0...v1.43.0
Features
- api: Add BetaManagedAgentsSearchResultBlock types (498fafc)
- api: Add support for cache diagnostics beta (eac032f)
- client: add compatibility aliases for old type names (38e1f89)
- client: add compatibility aliases for old type names (a98b0fb)
- client: optimize json encoder for internal types (f379c42)
Bug Fixes
Chores
-
v1.42.1-0.20260512152659-69da3d60e46512 May 2026 pre-releaseNothing published for this version
-
v1.42.011 May 2026Release notes
Open source →Full Changelog: v1.41.0...v1.42.0
Features
- aws: Add AWS client for Claude Platform on AWS (596baf4)
Bug Fixes
- examples: update examples dependencies (e832b79)
- go: avoid panic when http.DefaultTransport is wrapped (6b75bef)
Chores
-
v1.41.006 May 2026Release notes
Open source →Full Changelog: v1.40.0...v1.41.0
Features
- api: add support for Managed Agents multiagents and outcomes, webhooks, vault validation (33762b0)
- mcp: add mcp tool helpers (#752) (4edf9f5)
Bug Fixes
- api: Adjust webhook configuration (8b2f194)
-
v1.40.1-0.20260506005728-39972c82a38a06 May 2026 pre-releaseNothing published for this version
-
v1.40.1-0.20260505191752-e7aa026b035805 May 2026 pre-releaseNothing published for this version
-
v1.40.1-0.20260505191728-33762b055b2e05 May 2026 pre-releaseNothing published for this version
-
v1.40.005 May 2026Release notes
Open source →Full Changelog: v1.39.0...v1.40.0
Features
- client: allow targeting a workspace for OIDC federation token exchange (6bf66ac)
-
v1.39.004 May 2026Release notes
Open source →Full Changelog: v1.38.0...v1.39.0
Features
- api: improve Managed Agents APIs (eadf509)
- client: add Workload Identity Federation, interactive OAuth, and auth profiles (0f0cc01)
- go: add default http client with timeout (b81c287)
- support setting headers via env (641015d)
Bug Fixes
Chores
- avoid embedding reflect.Type for dead code elimination (11168b4)
-
v1.38.023 Apr 2026Release notes
Open source →Full Changelog: v1.37.0...v1.38.0
Features
- add Type() method to API errors for error kind identification (#676) (0db1712)
- api: CMA Memory public beta (180e00c)
- structured outputs via Schema any with auto-parse (#759) (46073d8)
Bug Fixes
Chores
-
v1.37.016 Apr 2026Release notes
Open source →Full Changelog: v1.36.0...v1.37.0
Features
- api: add claude-opus-4-7, token budgets and user_profiles (6e758a9)
-
v1.36.014 Apr 2026 -
v1.35.113 Apr 2026Release notes
Open source → -
v1.35.010 Apr 2026Release notes
Open source → -
v1.34.009 Apr 2026Release notes
Open source → -
v1.33.008 Apr 2026Release notes
Open source → -
v1.32.007 Apr 2026 -
v1.31.007 Apr 2026Release notes
Open source → -
v1.30.003 Apr 2026Release notes
Open source →Full Changelog: v1.29.0...v1.30.0
Features
- vertex: add support for US multi-region endpoint (6f40457)
-
v1.29.001 Apr 2026Release notes
Open source →Full Changelog: v1.28.0...v1.29.0
Features
- api: add structured stop_details to message responses (1053799)
Chores
- internal: client updates (531283d)
-
v1.28.031 Mar 2026Release notes
Open source →Full Changelog: v1.27.1...v1.28.0
Features
- internal: support comma format in multipart form encoding (97ed8a1)
Bug Fixes
- bump buger/jsonparser to v1.1.2 (GO-2026-4514) (#665) (96565eb)
- prevent duplicate ? in query params (0afa75c)
- types: generate shared enum types that are not referenced by other schemas (5dc86f2)
Chores
- ci: run builds on CI even if only spec metadata changed (010a16f)
- ci: skip lint on metadata-only changes (8cc7cec)
- ci: support opting out of skipping builds on metadata-only commits (adc7184)
- client: fix multipart serialisation of Default() fields (3fc3613)
- internal: bump go toolchain to go1.25.8 to address std lib vulnerabilities (e3feecb)
- internal: support default value struct tag (fc68556)
- internal: update gitignore (e2a5dd1)
- remove unnecessary error check for url parsing (6d42216)
- tests: bump steady to v0.19.4 (3ca1569)
- tests: bump steady to v0.19.5 (7364e49)
- tests: bump steady to v0.19.6 (28ebd01)
- tests: bump steady to v0.19.7 (77fc869)
- tests: bump steady to v0.20.1 (e52beb5)
- tests: bump steady to v0.20.2 (3a20191)
- update docs for api:"required" (aa0a03a)
-
v1.27.118 Mar 2026 -
v1.27.016 Mar 2026Release notes
Open source →Full Changelog: v1.26.0...v1.27.0
Features
- api: change array_format to brackets (ca5ae6e)
- api: chore(config): clean up model enum list (#31) (1db4ea7)
- api: GA thinking-display-setting (1924af2)
- api: remove publishing section from cli target (514282e)
- tests: update mock server (cf24ced)
Bug Fixes
- allow canceling a request while it is waiting to retry (32ee053)
- client: update model reference from claude-3-7-sonnet-latest to claude-sonnet-4-5 (2f42e73)
Chores
- client: reorganize code in Messages files to lead to less conflicts (c677bb5)
- internal: codegen related update (c978aac)
- internal: codegen related update (4ac31a2)
- internal: codegen related update (5b2b2fa)
- internal: codegen related update (9678c6c)
- internal: codegen related update (f6035d2)
- internal: codegen related update (9246bbb)
- internal: move custom custom
jsontags toapi(4392627) - tests: unskip tests that are now supported in steady (b0ca374)
Documentation
-
v1.26.019 Feb 2026Release notes
Open source →Full Changelog: v1.25.1...v1.26.0
Features
- api: Add top-level cache control (automatic caching) (75f9f70)
- client: add BetaToolRunner for automatic tool use loops (#603) (e44128a)
Chores
- internal: codegen related update (6247d2f)
-
v1.25.119 Feb 2026Release notes
Open source →Full Changelog: v1.25.0...v1.25.1
Bug Fixes
- client: use correct format specifier for header serialization (9115a61)
-
v1.25.018 Feb 2026Release notes
Open source →Full Changelog: v1.24.0...v1.25.0
Features
- api: fix shared UserLocation and error code types (cb98cd0)
-
v1.24.018 Feb 2026Release notes
Open source → -
v1.23.017 Feb 2026Release notes
Open source →