strands-agents breaking changes
Updated December 4, 2026
On this page
Latest version 1.69.0, released December 3, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
- From 0.3.0 to 1.66.0: 77 breaking changes in 3 versions.
- From 0.2.0 to 1.66.0: 163 breaking changes in 4 versions.
strands-agents 1.66.0 breaking changes
- Removed
strands.experimental.context_manager.OffloadConditions.threshold
OffloadConditions.threshold was removed in strands-agents 1.66.0 pypi.org - Removed
strands.experimental.context_manager.OffloadConditions.utilization
OffloadConditions.utilization was removed in strands-agents 1.66.0 pypi.org - Removed
strands.session.snapshot_session_manager.Stash.refs_for
Stash.refs_for was removed in strands-agents 1.66.0 pypi.org - Behavior changed
The commit is marked as a breaking change to context offload conditions. Check code that configures offload conditions and review its granularity behavior. github.com - Default changed
The default model is now Claude Opus 5.5 on Anthropic's Bedrock client. Code that relied on the previous default should set the model explicitly. github.com - Signature changed
strands.Agent.__init__
Was def __init__(self, model: Model | str | ModelRouter | None = None, messages: Messages | None = None, tools: list[Union[str, dict[str, str], ToolProvider, Any]] | None = None, system_prompt: str | list[SystemContentBlock] | None = None... pypi.org - Signature changed
strands.agent.agent.Agent.__init__
Was def __init__(self, model: Model | str | ModelRouter | None = None, messages: Messages | None = None, tools: list[Union[str, dict[str, str], ToolProvider, Any]] | None = None, system_prompt: str | list[SystemContentBlock] | None = None... pypi.org - Signature changed
strands.agent.agent.NotASandboxLocalEnvironment.execute_code_streaming
Was async def execute_code_streaming(self, code: str, language: str, *, timeout: float | None = None, cwd: str | None = None, env: dict[str, str] | None = None, **kwargs: Any) -> AsyncGenerator[StreamChunk | ExecutionResult, None]; now... pypi.org - Signature changed
strands.agent.agent.NotASandboxLocalEnvironment.execute_streaming
Was async def execute_streaming(self, command: str, *, timeout: float | None = None, cwd: str | None = None, env: dict[str, str] | None = None, **kwargs: Any) -> AsyncGenerator[StreamChunk | ExecutionResult, None]; now async def... pypi.org - Signature changed
strands.agent.agent.ToolRegistry.__init__
Was def __init__(self) -> None; now def __init__(self, *, sort_tool_specs: bool = False) -> None. pypi.org - Signature changed
strands.Agent.cancel
Was def cancel(self, *, message: str | None = None, after_current_tools: bool = False) -> None; now def cancel(self, *, message: str | None = None, after_current_tools: bool = False, cancel_background_tasks: bool = False) -> None. pypi.org - Signature changed
strands.bidi.BidiAgent.cancel
Was def cancel(self, *, message: str | None = None, after_current_tools: bool = False) -> None; now def cancel(self, *, message: str | None = None, after_current_tools: bool = False, cancel_background_tasks: bool = False) -> None. pypi.org - Signature changed
strands.experimental.context_manager.OffloadConditions.preserve_recent
Was preserve_recent: int | float; now preserve_recent: int | str. pypi.org - Signature changed
strands.LocalAgent.cancel
Was def cancel(self, *, message: str | None = None, after_current_tools: bool = False) -> None; now def cancel(self, *, message: str | None = None, after_current_tools: bool = False, cancel_background_tasks: bool = False) -> None. pypi.org - Signature changed
strands.models.anthropic.AnthropicModel.AnthropicConfig.max_tokens
Was max_tokens: Required[int]; now max_tokens: int. pypi.org - Signature changed
strands.PosixShellSandbox.execute_code_streaming
Was async def execute_code_streaming(self, code: str, language: str, *, timeout: float | None = None, cwd: str | None = None, env: dict[str, str] | None = None, **kwargs: Any) -> AsyncGenerator[StreamChunk | ExecutionResult, None]; now... pypi.org - Signature changed
strands.sandbox.base.Sandbox.execute
Was async def execute(self, command: str, *, timeout: float | None = None, cwd: str | None = None, env: dict[str, str] | None = None, **kwargs: Any) -> ExecutionResult; now async def execute(self, command: str, *, timeout: float | None =... pypi.org - Signature changed
strands.sandbox.base.Sandbox.execute_code
Was async def execute_code(self, code: str, language: str, *, timeout: float | None = None, cwd: str | None = None, env: dict[str, str] | None = None, **kwargs: Any) -> ExecutionResult; now async def execute_code(self, code: str, language... pypi.org - Signature changed
strands.sandbox.base.Sandbox.execute_code_streaming
Was async def execute_code_streaming(self, code: str, language: str, *, timeout: float | None = None, cwd: str | None = None, env: dict[str, str] | None = None, **kwargs: Any) -> AsyncGenerator[StreamChunk | ExecutionResult, None]; now... pypi.org - Signature changed
strands.sandbox.base.Sandbox.execute_streaming
Was async def execute_streaming(self, command: str, *, timeout: float | None = None, cwd: str | None = None, env: dict[str, str] | None = None, **kwargs: Any) -> AsyncGenerator[StreamChunk | ExecutionResult, None]; now async def... pypi.org - Signature changed
strands.Sandbox.execute
Was async def execute(self, command: str, *, timeout: float | None = None, cwd: str | None = None, env: dict[str, str] | None = None, **kwargs: Any) -> ExecutionResult; now async def execute(self, command: str, *, timeout: float | None =... pypi.org - Signature changed
strands.Sandbox.execute_code
Was async def execute_code(self, code: str, language: str, *, timeout: float | None = None, cwd: str | None = None, env: dict[str, str] | None = None, **kwargs: Any) -> ExecutionResult; now async def execute_code(self, code: str, language... pypi.org - Signature changed
strands.Sandbox.execute_code_streaming
Was async def execute_code_streaming(self, code: str, language: str, *, timeout: float | None = None, cwd: str | None = None, env: dict[str, str] | None = None, **kwargs: Any) -> AsyncGenerator[StreamChunk | ExecutionResult, None]; now... pypi.org - Signature changed
strands.Sandbox.execute_streaming
Was async def execute_streaming(self, command: str, *, timeout: float | None = None, cwd: str | None = None, env: dict[str, str] | None = None, **kwargs: Any) -> AsyncGenerator[StreamChunk | ExecutionResult, None]; now async def... pypi.org - Signature changed
strands.session.snapshot_session_manager.Stash.list
Was async def list(self) -> list[str]; now async def list(self, prefix: str = '') -> builtins.list[str]. pypi.org - Signature changed
strands.tools.mcp.mcp_client.MCPClient.__init__
Was def __init__(self, transport_callable: Callable[[], MCPTransport] | None = None, *, url: str | None = None, headers: dict[str, str] | None = None, auth: MCPClientCredentials | None = None, auth_provider: httpx.Auth | None = None... pypi.org - Signature changed
strands.tools.mcp.MCPClient.__init__
Was def __init__(self, transport_callable: Callable[[], MCPTransport] | None = None, *, url: str | None = None, headers: dict[str, str] | None = None, auth: MCPClientCredentials | None = None, auth_provider: httpx.Auth | None = None... pypi.org - Signature changed
strands.tools.registry.ToolRegistry.__init__
Was def __init__(self) -> None; now def __init__(self, *, sort_tool_specs: bool = False) -> None. pypi.org - Signature changed
strands.types.agent.LocalAgent.cancel
Was def cancel(self, *, message: str | None = None, after_current_tools: bool = False) -> None; now def cancel(self, *, message: str | None = None, after_current_tools: bool = False, cancel_background_tasks: bool = False) -> None. pypi.org
strands-agents 1.65.0 breaking changes
- Removed
Todos are no longer included in the default built-in plugins. Code that relied on the todos behavior by default must enable it explicitly. github.com - Removed
strands.agent.conversation_manager.compression.context_compression.process_stream
strands.agent.conversation_manager.compression.context_compression.process_stream was removed in strands-agents 1.65.0 pypi.org - Removed
strands.event_loop.event_loop.stream_messages
strands.event_loop.event_loop.stream_messages was removed in strands-agents 1.65.0 pypi.org - Removed
strands.models.routing.classifier_strategy.InvocationContext
strands.models.routing.classifier_strategy.InvocationContext was removed in strands-agents 1.65.0 pypi.org - Removed
strands.models.routing.classifier_strategy.Usage
strands.models.routing.classifier_strategy.Usage was removed in strands-agents 1.65.0 pypi.org - Behavior changed
The TypeScript context offload conditions changed how granularity is decided, and this breaking change may alter existing offload behavior. Review offload configuration in the TypeScript SDK. github.com - Behavior changed
Injected text is now stored in conversation history as an InjectedBlock instead of plain text in the TypeScript SDK, which can change how existing code reads history. github.com - Behavior changed
Injected text is now stored in conversation history as an injected block instead of plain text, which can change how existing code reads or processes history. github.com - Signature changed
strands.models.anthropic.AnthropicModel.__init__
Was def __init__(self, *, client_args: dict[str, Any] | None = None, **model_config: Unpack[AnthropicConfig]); now def __init__(self, *, client: _AsyncClient | None = None, client_args: dict[str, Any] | None = None, **model_config... pypi.org - Signature changed
strands.models.anthropic.thinking_with_drop_block
Was def thinking_with_drop_block(thinking: Any) -> dict[str, Any] | None; now def thinking_with_drop_block(thinking: Any, tool_forced: bool = False) -> dict[str, Any] | None. pypi.org
And 8 more in this version. Sign up to see every change
strands-agents 1.0.0 breaking changes
- Removed
strands.agent.conversation_manager.sliding_window_conversation_manager.is_assistant_message
strands.agent.conversation_manager.sliding_window_conversation_manager.is_assistant_message was removed in strands-agents 1.0.0 pypi.org - Removed
strands.agent.conversation_manager.sliding_window_conversation_manager.is_user_message
strands.agent.conversation_manager.sliding_window_conversation_manager.is_user_message was removed in strands-agents 1.0.0 pypi.org - Removed
strands.agent.conversation_manager.sliding_window_conversation_manager.Message
strands.agent.conversation_manager.sliding_window_conversation_manager.Message was removed in strands-agents 1.0.0 pypi.org - Removed
strands.models.mistral.MistralModel.client
MistralModel.client was removed in strands-agents 1.0.0 pypi.org - Removed
strands.models.ollama.OllamaModel.client
OllamaModel.client was removed in strands-agents 1.0.0 pypi.org - Removed
strands.multiagent.graph.Graph.execute
Graph.execute was removed in strands-agents 1.0.0 pypi.org - Removed
strands.multiagent.graph.Graph.execute_async
Graph.execute_async was removed in strands-agents 1.0.0 pypi.org - Removed
strands.multiagent.MultiAgentBase.execute
MultiAgentBase.execute was removed in strands-agents 1.0.0 pypi.org - Removed
strands.multiagent.MultiAgentBase.execute_async
MultiAgentBase.execute_async was removed in strands-agents 1.0.0 pypi.org - Renamed
strands.multiagent.graph.AgentResult
Use strands.multiagent.swarm.AgentResult instead. pypi.org
And 20 more in this version. Sign up to see every change
strands-agents 0.3.0 breaking changes
- Removed
strands.Agent.__del__
Agent.__del__ was removed in strands-agents 0.3.0 pypi.org - Removed
strands.agent.agent.AgentToolHandler
strands.agent.agent.AgentToolHandler was removed in strands-agents 0.3.0 pypi.org - Removed
strands.agent.agent.EndRequestEvent
strands.agent.agent.EndRequestEvent was removed in strands-agents 0.3.0 pypi.org - Removed
strands.agent.agent.Model.converse
Model.converse was removed in strands-agents 0.3.0 pypi.org - Removed
strands.agent.agent.Model.format_chunk
Model.format_chunk was removed in strands-agents 0.3.0 pypi.org - Removed
strands.agent.agent.Model.format_request
Model.format_request was removed in strands-agents 0.3.0 pypi.org - Removed
strands.agent.agent.StartRequestEvent
strands.agent.agent.StartRequestEvent was removed in strands-agents 0.3.0 pypi.org - Removed
strands.agent.agent.ToolConfig
strands.agent.agent.ToolConfig was removed in strands-agents 0.3.0 pypi.org - Removed
strands.agent.agent.ToolRegistry.initialize_tool_config
ToolRegistry.initialize_tool_config was removed in strands-agents 0.3.0 pypi.org - Removed
strands.Agent.thread_pool
Agent.thread_pool was removed in strands-agents 0.3.0 pypi.org
And 76 more in this version. Sign up to see every change
strands-agents 0.2.0 breaking changes
- Removed
strands.agent.agent.CompositeCallbackHandler
strands.agent.agent.CompositeCallbackHandler was removed in strands-agents 0.2.0 pypi.org - Removed
strands.event_loop.error_handler
strands.event_loop.error_handler was removed in strands-agents 0.2.0 pypi.org - Removed
strands.event_loop.event_loop.handle_throttling_error
strands.event_loop.event_loop.handle_throttling_error was removed in strands-agents 0.2.0 pypi.org - Removed
strands.event_loop.event_loop.ToolHandler.preprocess
ToolHandler.preprocess was removed in strands-agents 0.2.0 pypi.org - Removed
strands.handlers.tool_handler.ToolResult
strands.handlers.tool_handler.ToolResult was removed in strands-agents 0.2.0 pypi.org - Removed
strands.models.anthropic.PrintingCallbackHandler
strands.models.anthropic.PrintingCallbackHandler was removed in strands-agents 0.2.0 pypi.org - Removed
strands.models.bedrock.PrintingCallbackHandler
strands.models.bedrock.PrintingCallbackHandler was removed in strands-agents 0.2.0 pypi.org - Removed
strands.multiagent.a2a.agent
strands.multiagent.a2a.agent was removed in strands-agents 0.2.0 pypi.org - Removed
strands.telemetry.get_otel_resource
strands.telemetry.get_otel_resource was removed in strands-agents 0.2.0 pypi.org - Removed
strands.telemetry.Tracer.enable_console_export
Tracer.enable_console_export was removed in strands-agents 0.2.0 pypi.org
And 31 more in this version. Sign up to see every change
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.