Skip to content

Releases: strands-agents/sdk-python

v1.9.0

17 Sep 19:08
1f25512

Choose a tag to compare

What's Changed

  • feat(telemetry): add cache usage metrics to OpenTelemetry spans by @vamgan in #825
  • docs: improve docstring formatting by @waitasecant in #846
  • ci: bump actions/setup-python from 5 to 6 by @dependabot[bot] in #796
  • ci: bump actions/github-script from 7 to 8 by @dependabot[bot] in #801
  • ci: bump aws-actions/configure-aws-credentials from 4 to 5 by @dependabot[bot] in #795
  • fix: Add type to tool_input by @Unshure in #854
  • feat(swarm): Make entry point configurable by @mkmeral in #851
  • ci: update ruff requirement from <0.13.0,>=0.12.0 to >=0.12.0,<0.14.0 by @dependabot[bot] in #840
  • ci: update openai requirement from <1.102.0,>=1.68.0 to >=1.68.0,<1.108.0 by @dependabot[bot] in #827
  • feat: add automated issue auto-close workflows with dry-run testing by @yonib05 in #832
  • fix: Clean up pyproject.toml by @Unshure in #844
  • fix: Updating documentation in decorator.py by @prabhuteja12 in #852
  • models - openai - use client context by @pgrayy in #856
  • Feature: Handle Bedrock redactedContent by @afarntrog in #848
  • fix: correctly label tool result messages in OpenTelemetry events by @vamgan in #839
  • models - openai - client context comment by @pgrayy in #864
  • fix: litellm structured_output test with more descriptive model by @dbschmigelski in #871
  • fix(mcp): auto cleanup on exceptions occurring in enter by @dbschmigelski in #833
  • fix(mcp): do not verify _background_session is present in stop() by @dbschmigelski in #876
  • docs(README): fix links and imports by @awsarron in #837

New Contributors

Full Changelog: v1.8.0...v1.9.0

v1.8.0

10 Sep 20:18
4fbe46a

Choose a tag to compare

What's Changed

  • Moved tool_spec retrieval to after the before model invocation callback by @pghazanfari in #786
  • fix(graph): fix cyclic graph behavior by @mkmeral in #768
  • fix(models): filter reasoningContent in Bedrock requests using DeepSeek by @aryan835-datainflexion in #652
  • docs: cleanup docs so the yields section renders correctly by @afarntrog in #820
  • Warn on unknown model configuration properties by @zastrowm in #819
  • fix: do not block asyncio event loop between retries by @osdemah in #805
  • feat: improve structured output tool circular reference handling by @afarntrog in #817
  • fix(tools/loader): load and register all decorated @tool functions from file path by @Ratish1 in #742
  • fix(models): patch litellm bug to honor passing in use_litellm_proxy as client_args by @dbschmigelski in #808
  • feat: add default read timeout to Bedrock config by @afarntrog in #829
  • feat: add support for Bedrock/Anthropic ToolChoice to structured_output by @liushang1997 in #720
  • feat(multiagent): allow callers of swarm and graph to pass kwargs to executors by @dbschmigelski in #816
  • feat: add region-aware default model ID for Bedrock by @afarntrog in #835
  • llama.cpp model provider support by @westonbrown in #585
  • fix(llama.cpp) - add ToolChoice and validation of model config values by @awsarron in #838

New Contributors

Full Changelog: v1.7.1...v1.8.0

v1.7.1

05 Sep 20:38
d77f08b

Choose a tag to compare

What's Changed

  • fix: don't emit ToolStream events for non generator functions by @zastrowm in #773
  • fix(tests): adjust test_bedrock_guardrails to account for async behavior by @dbschmigelski in #785
  • fix(doc): replace invalid Hook names in doc comment with BeforeInvocationEvent & AfterInvocationEvent by @deepyes02 in #782
  • fix: Remove status field from toolResult for non-claude 3 models in Bedrock model provider by @mehtarac in #686
  • fix: filter 'SDK_UNKNOWN_MEMBER' from response content by @JackYPCOnline in #798
  • feat: Implement async generator tools by @zastrowm in #788
  • ci: update openai requirement from <1.100.0 to <1.102.0 by @dependabot[bot] in #722
  • fix: only add signature to reasoning blocks if signature is provided by @zastrowm in #806

New Contributors

Full Changelog: v1.7.0...v1.7.1

v1.7.0

02 Sep 18:51
e7d95d6

Choose a tag to compare

What's Changed

  • feat: Implement typed events internally by @zastrowm in #745
  • summarization manager - add summary prompt to messages by @pgrayy in #698
  • feat: Use TypedEvent inheritance for callback behavior by @zastrowm in #755
  • feat: claude citation support with BedrockModel by @theagenticguy in #631
  • feat: Enable hooks for MultiAgents by @zastrowm in #760
  • Add invocation_state to ToolContext by @zastrowm in #761
  • Add VPC endpoint support to BedrockModel class - Add optional endpoin… by @dbavro19 in #502
  • fix: fix stop reason for bedrock model when stop_reason by @JackYPCOnline in #767
  • fix: Return tool result message as part of event + expand unit test coverage by @zastrowm in #771
  • fix: fix loading tools with same tool name by @JackYPCOnline in #772

New Contributors

Full Changelog: v1.6.0...v1.7.0

v1.6.0

26 Aug 17:25
0fac648

Choose a tag to compare

What's Changed

  • fix: fix non-serializable parameter of agent from toolUse block by @JackYPCOnline in #568
  • Add .DS_Store to .gitignore by @vawsgit in #681
  • feat(a2a): support A2A FileParts and DataParts by @jer96 in #596
  • ci: update pre-commit requirement from <4.2.0,>=3.2.0 to >=3.2.0,<4.4.0 by @dependabot[bot] in #706
  • ci: update ruff requirement from <0.5.0,>=0.4.4 to >=0.4.4,<0.13.0 by @dependabot[bot] in #704
  • ci: update pytest-asyncio requirement from <0.27.0,>=0.26.0 to >=0.26.0,<1.2.0 by @dependabot[bot] in #708
  • fix: add system_prompt to structured_output_span before adding input_messages by @chengweitsai in #709
  • feat(multiagent): Add call implementation to MultiAgentBase by @mkmeral in #645
  • chore: Update pydantic minimum version by @mehtarac in #723
  • tool executors by @pgrayy in #658
  • feat: Add support for agent invoke with no input, or Message input by @Unshure in #653
  • ci: bump actions/checkout from 4 to 5 by @dependabot[bot] in #711
  • ci: bump actions/download-artifact from 4 to 5 by @dependabot[bot] in #712
  • ci: update pytest-cov requirement from <5.0.0,>=4.1.0 to >=4.1.0,<7.0.0 by @dependabot[bot] in #705
  • fix: prevent path traversal for message_id in file_session_manager by @mehtarac in #728
  • fix: Add AgentInput TypeAlias by @Unshure in #738
  • fix: Move AgentInput to types submodule by @Unshure in #746

New Contributors

Full Changelog: v1.5.0...v1.6.0

v1.5.0

19 Aug 02:10
cfcf93d

Choose a tag to compare

What's Changed

  • feature(graph): Allow cyclic graphs by @mkmeral in #497
  • chore: request to include code snippet section by @poshinchen in #654
  • feat: Add configuration option to MCP Client for server init timeout by @fhwilton55 in #657
  • fix: Properly handle prompt=None & avoid agent hanging by @zastrowm in #643
  • feat: add structured_output_span by @poshinchen in #655
  • litellm - set 1.73.1 as minimum version by @pgrayy in #668
  • feat: expose tool_use and agent through ToolContext to decorated tools by @dbschmigelski in #557
  • session manager - prevent file path injection by @pgrayy in #680
  • fix: only set signature in message if signature was provided by the model by @clareliguori in #682
  • fix: Add openai dependency to sagemaker dependency group by @zastrowm in #678
  • Have [all] group reference the other optional dependency groups by name by @zastrowm in #674
  • fix: append blank text content if assistant content is empty by @poshinchen in #677
  • feat: add cached token metrics support for Amazon Bedrock by @oaltagar-aws in #531

New Contributors

Full Changelog: v1.4.0...v1.5.0

v1.4.0

08 Aug 17:38
adac26f

Choose a tag to compare

What's Changed

  • fix(telemetry): added mcp tracing context propagation by @poshinchen in #569
  • Change max_tokens type to int to match Anthropic API by @vinc3m1 in #588
  • feat: Add additional intructions for contributors to find issues that are ready to be worked on by @mehtarac in #595
  • feat(a2a): configurable request handler by @jer96 in #601
  • chore(a2a): update host per AppSec recommendation by @jer96 in #619
  • fix(event_loop): ensure tool_use content blocks are valid after max_tokens to prevent unrecoverable state by @dbschmigelski in #607
  • fix(structured_output): do not modify conversation_history when prompt is passed by @dbschmigelski in #628

New Contributors

Full Changelog: v1.3.0...v1.4.0

v1.3.0

04 Aug 17:45
c85464c

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.2.0...v1.3.0

v1.2.0

30 Jul 14:36
b13c5c5

Choose a tag to compare

What's Changed

  • Support for Amazon SageMaker AI endpoints as Model Provider by @dgallitelli in #176
  • fix: Remove leftover print statement from sagemaker model provider by @mehtarac in #553
  • [Feat] Update structured output error message by @Unshure in #563
  • feat(mcp): retain structured content in the AgentTool response by @dbschmigelski in #528
  • feat(mcp): Add list_prompts, get_prompt methods by @Ketansuhaas in #160

New Contributors

Full Changelog: v1.1.0...v1.2.0

v1.1.0

24 Jul 21:09
b30e7e6

Choose a tag to compare

What's Changed

  • Update to use dedicated github logo by @zastrowm in #505
  • deps(a2a): address interface changes and bump min version by @jer96 in #515
  • ci: expose STRANDS_TEST_API_KEYS_SECRET_NAME to integration tests by @dbschmigelski in #513
  • Don't re-run workflows on un/approvals by @zastrowm in #516
  • Doc fixes: suppressing some typos in various texts by @didier-durand in #487
  • docs: add hot reloading documentation for load_tools_from_directory by @cagataycali in #517
  • ci: enable integ tests for anthropic, cohere, mistral, openai, writer by @dbschmigelski in #510
  • Automatically flatten nested tool collections by @zastrowm in #508
  • feat(a2a): support mounts for containerized deployments by @jer96 in #524
  • fix: include agent trace into tool for agent as tools by @poshinchen in #526

Full Changelog: v1.0.1...v1.1.0