anthropic Anthropic Python SDK Releases · · 1.5.0

Anthropic Python SDK v1.5.0 Introduces Managed Agent and Tooling Enhancements

sdkaigapreviewdeprecationengineermedia
feature patch

Anthropic has released version 1.5.0 of its Python SDK, introducing several new features and bug fixes. This update enhances Managed Agent capabilities with auto mode tool permissions and support for mounting public GitHub repositories without explicit authorization. It also improves developer experience by allowing direct tool object acceptance in API calls and adding a beta value for user profiles. The release includes security-related fixes for credential files and error handling for large content with the web_fetch tool.

  • add auto mode tool permissions for Managed Agents
  • add content_too_large web_fetch tool error code
  • add the user-profiles-2026-09-04 beta value and external_user_details to user profiles
  • support mounting public GitHub repositories without an authorization_token in Managed Agents sessions
  • add Message.to_param() and BetaMessage.to_param()
Features (7)
  • api add auto mode tool permissions for Managed Agents
  • api add content_too_large web_fetch tool error code
  • api add the user-profiles-2026-09-04 beta value and external_user_details to user profiles
  • api support mounting public GitHub repositories without an authorization_token in Managed Agents sessions
  • client add Message.to_param() and BetaMessage.to_param()
  • credentials add CredentialsError and IdentityTokenFileError
  • tools accept tool objects directly in messages.create, parse, stream and count_tokens
Fixes (4)
  • client merge extra_body before client hooks run
  • credentials refuse credentials files accessible by group or others
  • streaming keep partial tool input JSON off content blocks
  • types leave parsed_output out of dumped text blocks
Maintenance (8)
  • client clean up the unused idempotency request option
  • client keep the idempotency_key request option as a deprecated no-op
  • docs correct the environment scope field description
  • internal remove generated file header comments
  • internal restore package version
  • internal restore package version
  • internal stop stamping the package version into generated files
  • tests restore empty test package marker files
Read the original announcement →

https://github.com/anthropics/anthropic-sdk-python/releases/tag/v1.5.0

Related releases