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 SessionOne conversation or piece of work as a harness keeps it: a record of messages, tool calls and observations that can be saved and resumed.Full definition → threads run concurrently. The default still runs them one at a time.
The bash tool now kills the Terminal and shellA text interface for navigating files and running programs.Full definition → and its background jobs on timeout or cancellation, allows 295-second commands (was 120), and cuts output after 30,000 characters with the PathA description of a file or folder location, written using directory names and separators.Full definition → 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_SchemaA written description of a data format: which fields exist, what kind of value each holds and which are required.Full definition →() 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.