diff --git a/pyproject.toml b/pyproject.toml index 032376be1..7d865feff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -91,10 +91,10 @@ writer = [ a2a = [ "a2a-sdk[sql]>=0.2.11,<1.0.0", - "uvicorn>=0.34.2", - "httpx>=0.28.1", - "fastapi>=0.115.12", - "starlette>=0.46.2", + "uvicorn>=0.34.2,<1.0.0", + "httpx>=0.28.1,<1.0.0", + "fastapi>=0.115.12,<1.0.0", + "starlette>=0.46.2,<1.0.0", ] all = [ # anthropic @@ -137,10 +137,10 @@ all = [ # a2a "a2a-sdk[sql]>=0.2.11,<1.0.0", - "uvicorn>=0.34.2", - "httpx>=0.28.1", - "fastapi>=0.115.12", - "starlette>=0.46.2", + "uvicorn>=0.34.2,<1.0.0", + "httpx>=0.28.1,<1.0.0", + "fastapi>=0.115.12,<1.0.0", + "starlette>=0.46.2,<1.0.0", ] [tool.hatch.version] diff --git a/src/strands/multiagent/__init__.py b/src/strands/multiagent/__init__.py index 610160870..5c77e03a7 100644 --- a/src/strands/multiagent/__init__.py +++ b/src/strands/multiagent/__init__.py @@ -8,12 +8,10 @@ standardized communication between agents. """ -from . import a2a from .base import MultiAgentBase, MultiAgentResult from .graph import GraphBuilder, GraphResult __all__ = [ - "a2a", "GraphBuilder", "GraphResult", "MultiAgentBase", diff --git a/src/strands/multiagent/a2a/__init__.py b/src/strands/multiagent/a2a/__init__.py index 56c1c2900..75f8b1b19 100644 --- a/src/strands/multiagent/a2a/__init__.py +++ b/src/strands/multiagent/a2a/__init__.py @@ -9,6 +9,7 @@ A2AAgent: A wrapper that adapts a Strands Agent to be A2A-compatible. """ +from .executor import StrandsA2AExecutor from .server import A2AServer -__all__ = ["A2AServer"] +__all__ = ["A2AServer", "StrandsA2AExecutor"]