Skip to content

Conversation

@awsarron
Copy link
Member

@awsarron awsarron commented Jul 14, 2025

Description

remove a2a module from strands.multiagent init.py as it is an optional dependency

without this fix, importing anything from strands.multiagent module requires the a2a optional dependencies

Related Issues

N/A

Documentation PR

N/A

Type of Change

Bug fix

Testing

How have you tested the change? Verify that the changes do not break functionality or introduce warnings in consuming repositories: agents-docs, agents-tools, agents-cli

  • I ran hatch run prepare
  • Ran hatch run test-integ
  • Installed strands-agents in a fresh venv, tested with from strands.multiagent import GraphBuilder in a standalone script. Previously it failed requiring the a2a dependencies, now it works fine

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@awsarron awsarron closed this Jul 14, 2025
@awsarron
Copy link
Member Author

duplicate of #447

@awsarron awsarron deleted the fix-a2a-import branch July 14, 2025 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants