strands.types.agent
Agent-related type definitions for the SDK.
This module defines the types used for an Agent.
ConcurrentInvocationMode
Section titled “ConcurrentInvocationMode”class ConcurrentInvocationMode(str, Enum)Defined in: src/strands/types/agent.py:15
Mode controlling concurrent invocation behavior.
Values: THROW: Raises ConcurrencyException if concurrent invocation is attempted (default). UNSAFE_REENTRANT: Allows concurrent invocations without locking.
Warnings:
The UNSAFE_REENTRANT mode makes no guarantees about resulting behavior and is
provided only for advanced use cases where the caller understands the risks.