Vibeleaderboard
← All Intel
Intel / repo

anthropic-sdk-python v2.16.0

Source
github.com
Publisher
Anthropic
Author
anthropic-sdks-releaser[bot]Top Viber
Date
Why it matters

Python users get Managed Agents on Bedrock and concurrent session tool calls via max_concurrent_calls. The bash tool now runs up to 295 seconds, truncates at 30,000 characters with a file for the remainder, and kills background jobs on timeout.

Key takeaways · AI-distilled
  • Version 2.16.0 adds support for Claude Managed Agents on Amazon Bedrock and a max_concurrent_calls option: above 1, or None for no limit, calls from different threads run concurrently. The default still runs them one at a time.
  • The bash tool now kills the and its background jobs on timeout or cancellation, allows 295-second commands (was 120), and cuts output after 30,000 characters with the of a file holding the rest.
  • Async tools are cancelled when the session no longer accepts their result, the tool timeout rises to 325 seconds (was 150), and async tools must shield cleanup awaits with anyio.CancelScope(shield=True).
  • transform_() now generates a model's JSON schema once, so a schema that changes after first use keeps its first version; pass Model.model_json_schema() to regenerate it on every call.
Terms in this piece · Glossary
  • Session — One conversation or piece of work as a harness keeps it: a record of messages, tool calls and observations that can be saved and resumed.
  • Terminal and shell — A text interface for navigating files and running programs.
  • Path — A description of a file or folder location, written using directory names and separators.
  • Schema — A written description of a data format: which fields exist, what kind of value each holds and which are required.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

More from anthropic-sdks-releaser[bot]
Recommended reads