Skip to content

[BUG] agent-core-browser extra pins bedrock-agentcore <1.2.0 and conflicts with current SDK #551

Description

@kmdwork

Checks

  • I have updated to the lastest minor and patch version of Strands
  • I have checked the documentation and this is not expected behavior
  • I have searched ./issues and there are no duplicates of my issue

Strands Version

1.50.2

Tools Package Version

strands-agents-tools 0.8.6.dev4+g60b63901e

Tools used

AgentCoreBrowser

Imported with:
from strands_tools.browser import AgentCoreBrowser

Python Version

3.14

Operating System

macOS 26.5.2

Installation Method

other

Steps to Reproduce

  1. Create a Python project managed by uv.

  2. Add a current version of bedrock-agentcore:uv add 'bedrock-agentcore>=1.9.1'

  3. Add the AgentCore Browser extra from the Strands Tools GitHub repository:
    uv add 'strands-agents-tools[agent-core-browser] @ git+https://github.com/strands-agents/tools.git@60b63901e5640f0176a8eb25352ac730765fd8ce'

  4. Dependency resolution fails because the agent-core-browser extra requires an older AgentCore SDK range.
    The relevant project dependencies are equivalent to:

[project]
dependencies = [
    "bedrock-agentcore>=1.9.1",
    "strands-agents-tools[agent-core-browser] @ git+https://github.com/strands-agents/tools.git@60b63901e5640f0176a8eb25352ac730765fd8ce",
]

Expected Behavior

The agent-core-browser extra should be installable with a currently
supported version of bedrock-agentcore.
Alternatively, the dependency constraint should cover the newer compatible
AgentCore SDK versions after they have been tested.

Actual Behavior

uv reports that the requirements are unsatisfiable:

Because only strands-agents-tools[agent-core-browser]
==0.8.6.dev4+g60b63901e is available and
strands-agents-tools[agent-core-browser]
==0.8.6.dev4+g60b63901e depends on
bedrock-agentcore>=1.1.0,<1.2.0,
all versions of strands-agents-tools[agent-core-browser]
depend on bedrock-agentcore>=1.1.0,<1.2.0.

Because the project depends on bedrock-agentcore>=1.9.1 and
strands-agents-tools[agent-core-browser], the requirements are
unsatisfiable.

As a result, strands_tools is not installed and the following import fails:
from strands_tools.browser import AgentCoreBrowser

ModuleNotFoundError: No module named 'strands_tools'

Additional Context

As a workaround, I added the following uv dependency override:

[tool.uv]
override-dependencies = [
    "bedrock-agentcore>=1.9.1",
]

This installed bedrock-agentcore 1.18.1.
After applying the override, the tested AgentCoreBrowser workflow worked
successfully in Amazon Bedrock AgentCore Runtime, including:

  • Starting an AgentCore Browser session
  • Connecting through Playwright
  • Opening a web page
  • Reading the page contents
  • Closing the browser session

The following APIs used by AgentCoreBrowser are present in
bedrock-agentcore 1.18.1 and worked successfully in this workflow:

  • BrowserClient
  • BrowserClient.start()
  • BrowserClient.generate_ws_headers()
    This does not prove complete compatibility with every browser feature, but
    it suggests that the <1.2.0 upper bound may now be unnecessarily
    restrictive.

Possible Solution

Test AgentCoreBrowser against recent bedrock-agentcore versions and
relax the upper bound accordingly.
For example, if compatibility is confirmed:
bedrock-agentcore>=1.1.0,<2.0.0

Another option would be to test a range of recent AgentCore SDK versions in
CI before changing the upper bound.
The uv override works as a temporary workaround, but it bypasses the package's declared dependency constraint and should not be required by users.

Related Issues

I searched the existing issues and did not find an issue reporting this specific bedrock-agentcore <1.2.0 dependency conflict.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    Language

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions