Skip to content

chore(backend/deps): bump stagehand from 0.5.9 to 3.5.0 in /autogpt_platform/backend#12039

Open
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/pip/autogpt_platform/backend/dev/stagehand-3.5.0
Open

chore(backend/deps): bump stagehand from 0.5.9 to 3.5.0 in /autogpt_platform/backend#12039
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/pip/autogpt_platform/backend/dev/stagehand-3.5.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 9, 2026

Bumps stagehand from 0.5.9 to 3.5.0.

Changelog

Sourced from stagehand's changelog.

3.5.0 (2026-01-29)

Full Changelog: v3.4.8...v3.5.0

Features

  • add auto-bedrock support based on bedrock/provider.model-name (eaded9f)
  • Update stainless.yml for project and publish settings (f90c553)

Bug Fixes

  • docs: fix mcp installation instructions for remote servers (85f8584)

Chores

3.4.8 (2026-01-27)

Full Changelog: v3.4.7...v3.4.8

Chores

3.4.7 (2026-01-15)

Full Changelog: v3.4.6...v3.4.7

3.4.6 (2026-01-13)

Full Changelog: v3.4.5...v3.4.6

Chores

  • remove duplicate .keep files for pypi publish step fix (5235658)

3.4.5 (2026-01-13)

Full Changelog: v3.4.4...v3.4.5

Chores

  • windows logging/build fix (5ed0e5f)

3.4.4 (2026-01-13)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Greptile Overview

Greptile Summary

Bumps stagehand from 0.5.9 to 3.5.0, a major version upgrade spanning numerous releases. This dependency update removes several transitive dependencies (browserbase, fastuuid, google-genai, hf-xet, huggingface-hub, litellm, playwright, pyee) that were previously pulled in by the older version of stagehand.

Key changes in stagehand 3.5.0:

  • Added AWS Bedrock support
  • Documentation improvements for MCP installation
  • Internal version bumps and repository sync

The upgrade significantly reduces the dependency tree (417 lines removed from poetry.lock). The current usage in autogpt_platform/backend/backend/blocks/stagehand/blocks.py appears compatible with the new version, using the Stagehand() constructor and .init() method that should remain stable across this upgrade.

Confidence Score: 2/5

  • This PR requires testing before merge due to major version upgrade and potential breaking changes
  • Score reflects the risky nature of a major version upgrade (0.5.9 to 3.5.0) without corresponding code changes or tests. While the current API usage appears compatible, the massive version jump and removal of major dependencies (litellm, playwright) warrant thorough testing. The PR description mentions a create() to start() method rename in the changelog, and though the current code uses .init(), integration testing is needed to verify compatibility.
  • Verify that autogpt_platform/backend/backend/blocks/stagehand/blocks.py still works correctly with the new stagehand version through integration testing

@dependabot dependabot bot added dependencies python Pull requests that update Python code labels Feb 9, 2026
@dependabot dependabot bot requested a review from a team as a code owner February 9, 2026 21:10
@dependabot dependabot bot requested review from Bentlybro and removed request for a team February 9, 2026 21:10
@dependabot dependabot bot requested a review from kcze February 9, 2026 21:10
@dependabot dependabot bot added the python Pull requests that update Python code label Feb 9, 2026
@github-project-automation github-project-automation bot moved this to 🆕 Needs initial review in AutoGPT development kanban Feb 9, 2026
@github-actions github-actions bot added platform/backend AutoGPT Platform - Back end size/l conflicts Automatically applied to PRs with merge conflicts labels Feb 9, 2026
@github-actions
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

@dependabot dependabot bot force-pushed the dependabot/pip/autogpt_platform/backend/dev/stagehand-3.5.0 branch from 4c22a25 to 738a88f Compare February 10, 2026 14:01
@github-actions github-actions bot removed the conflicts Automatically applied to PRs with merge conflicts label Feb 10, 2026
@github-actions
Copy link
Contributor

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@ntindle
Copy link
Member

ntindle commented Feb 10, 2026

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/pip/autogpt_platform/backend/dev/stagehand-3.5.0 branch from 738a88f to 9fe1581 Compare February 10, 2026 21:30
@github-actions github-actions bot added the conflicts Automatically applied to PRs with merge conflicts label Feb 10, 2026
@github-actions
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

@dependabot dependabot bot force-pushed the dependabot/pip/autogpt_platform/backend/dev/stagehand-3.5.0 branch from 9fe1581 to 48124cd Compare February 10, 2026 23:53
@github-actions
Copy link
Contributor

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@github-actions github-actions bot removed the conflicts Automatically applied to PRs with merge conflicts label Feb 10, 2026
@github-actions
Copy link
Contributor

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@claude
Copy link
Contributor

claude bot commented Feb 11, 2026

🔍 Dependency Analysis Summary

Package Updated: stagehand (0.5.93.5.0)
Overall Risk Assessment: ⚠️ MEDIUM

This is a major version bump from 0.5.9 to 3.5.0, spanning multiple major versions (0.x → 1.x → 2.x → 3.x). Major version jumps typically indicate breaking changes.


📋 Detailed Changelog Review

stagehand (0.5.9 → 3.5.0)

Based on the Dependabot PR description and commit history, here are the key changes:

Version 3.5.0 (2026-01-29) - Latest

  • New Feature: Auto-bedrock support based on bedrock/provider.model-name format
  • 🐛 Bug Fix: Fixed MCP installation instructions for remote servers
  • 🔧 Internal: Version bump and SDK settings updates

Version 3.4.x Series

  • 🔧 Multiple chore releases for repo sync and build fixes
  • 🪟 Windows logging/build fixes

Version 3.x Breaking Changes (from commits)

  • ⚠️ BREAKING: create() method renamed to start() (commit 74cb7fb)
    • Referenced in commit: "Samfinton/stg 1147 python sdk rename create() to start()"

Note: The complete changelog between 0.5.9 and 3.5.0 is substantial (spanning ~50+ versions). The PR description provides a truncated view.


⚠️ Impact Assessment

Breaking Changes Found: ✅ YES (but not affecting current code)

Primary Breaking Change:

  • .create().start() method rename

Impact on AutoGPT:NO IMPACT

  • AutoGPT's stagehand implementation does NOT use .create() or .start() methods
  • Code instantiates Stagehand directly and calls .init() method
  • Current usage pattern: stagehand = Stagehand(...) followed by await stagehand.init()

Affected Files:

No code changes required

Files using stagehand:

  • autogpt_platform/backend/backend/blocks/stagehand/blocks.py (3 usages)
  • autogpt_platform/backend/backend/blocks/stagehand/_config.py (provider config)

Current usage pattern:

stagehand = Stagehand(
    api_key=stagehand_credentials.api_key.get_secret_value(),
    project_id=input_data.browserbase_project_id,
    model_name=input_data.model.provider_name,
    model_api_key=model_credentials.api_key.get_secret_value(),
)
await stagehand.init()

This pattern is compatible with both old and new versions.

Dependency Tree Changes:

  • Additions: 35 lines
  • Deletions: 382 lines
  • Net reduction of 347 lines suggests dependency cleanup/optimization

Core Dependencies (v3.5.0):

  • anyio (>=3.5.0,<5)
  • distro (>=1.7.0,<2)
  • httpx (>=0.23.0,<1)
  • pydantic (>=1.9.0,<3)
  • sniffio
  • typing-extensions (>=4.10,<5)

All dependencies are compatible with AutoGPT's existing environment.

Test Impact:

⚠️ No existing tests found for stagehand blocks

  • No test files detected in autogpt_platform/backend/test/ directory
  • Testing should be manual or added

🛠️ Recommendations

Action Required:APPROVE WITH TESTING

  1. Pre-merge Testing:

    • ✅ Verify StagehandObserveBlock initialization and .init() method
    • ✅ Test StagehandActBlock with page actions
    • ✅ Test StagehandExtractBlock with data extraction
    • ✅ Ensure Browserbase integration still works correctly
  2. Testing Focus:

    • Initialization: Confirm Stagehand() constructor and stagehand.init() work as expected
    • Model Provider Integration: Test with Claude 4.5 Sonnet (default) and GPT models
    • Page Operations: Verify page.observe(), page.act(), page.extract() methods
    • Error Handling: Check signal handling monkey patch still works in worker threads
  3. Follow-up Tasks:

    • Consider adding unit/integration tests for stagehand blocks
    • Monitor stagehand releases for future breaking changes
    • Review full changelog if issues arise

Merge Recommendation:APPROVE

Rationale:

  • No breaking changes affect AutoGPT's current implementation
  • Dependency tree optimization (net -347 lines)
  • Bug fixes and new features included (AWS Bedrock support)
  • All dependencies compatible with existing environment
  • Risk is MEDIUM only due to major version jump; actual code impact is LOW

Suggested merge after:

  • Basic smoke testing of stagehand blocks in development environment
  • Confirmation that Browserbase integration works with new version

📚 Useful Links


Review completed by Claude Code 🤖

Otto-AGPT added a commit that referenced this pull request Feb 11, 2026
Backend:
- aiodns: 3.5.0 → 4.0.0
- yt-dlp: 2025.12.08 → 2026.2.4
- e2b-code-interpreter: 1.5.2 → 2.4.1 (major)
- stagehand: 0.5.1 → 3.5.0 (major)
- groq: 0.30.0 → 1.0.0 (major)
- todoist-api-python: 2.1.7 → 3.2.1 (major)
- supabase: 2.27.3 → 2.28.0
- isort: 5.13.2 → 7.0.0 (major, dev)
- redis: 6.2.0 → 7.1.1 (major)

Libs:
- launchdarkly-server-sdk: 9.14.1 → 9.15.0
- supabase: 2.27.2 → 2.28.0
- redis: 6.2.0 → 7.1.1 (major)
- pytest: 8.4.1 → 9.0.2 (major, dev)

Combines: #12043, #12041, #12045, #12042, #12039, #12038, #12044, #11152, #12056, #12031, #12032
@Otto-AGPT
Copy link
Contributor

Superseded by #12058 (combined Python dependency updates)

@Otto-AGPT Otto-AGPT closed this Feb 11, 2026
@dependabot dependabot bot deleted the dependabot/pip/autogpt_platform/backend/dev/stagehand-3.5.0 branch February 11, 2026 02:18
@Otto-AGPT
Copy link
Contributor

@dependabot recreate

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 11, 2026

Looks like this PR is closed. If you re-open it I'll rebase it as long as no-one else has edited it (you can use @dependabot reopen if the branch has been deleted).

@ntindle
Copy link
Member

ntindle commented Feb 11, 2026

@dependabot reopen

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 11, 2026

Beginning January 27, 2026, Dependabot will no longer support the @dependabot reopen command. Please use GitHub's native pull request controls instead. Please see the changelog announcement for additional details.

@ntindle
Copy link
Member

ntindle commented Feb 11, 2026

a

@ntindle ntindle restored the dependabot/pip/autogpt_platform/backend/dev/stagehand-3.5.0 branch February 11, 2026 02:30
@ntindle ntindle reopened this Feb 11, 2026
Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

exa-py = "^1.14.20"
croniter = "^6.0.0"
stagehand = "^0.5.1"
stagehand = "^3.5.0"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check that stagehand blocks still function correctly after this major version upgrade (0.5.9 → 3.5.0). The changelog mentions API changes including create() renamed to start(), and this upgrade removes several dependencies (litellm, playwright, browserbase). Verify integration tests pass for StagehandObserveBlock, StagehandActBlock, and StagehandExtractBlock.

@github-actions github-actions bot added the conflicts Automatically applied to PRs with merge conflicts label Feb 13, 2026
@github-actions
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

1 similar comment
@github-actions
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

@dependabot dependabot bot force-pushed the dependabot/pip/autogpt_platform/backend/dev/stagehand-3.5.0 branch from 48124cd to 4ed1d0f Compare February 13, 2026 09:28
@github-actions github-actions bot removed the conflicts Automatically applied to PRs with merge conflicts label Feb 13, 2026
@github-actions
Copy link
Contributor

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@github-actions github-actions bot added the conflicts Automatically applied to PRs with merge conflicts label Feb 13, 2026
@github-actions
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

Bumps [stagehand](https://github.com/browserbase/stagehand-python) from 0.5.9 to 3.5.0.
- [Release notes](https://github.com/browserbase/stagehand-python/releases)
- [Changelog](https://github.com/browserbase/stagehand-python/blob/main/CHANGELOG.md)
- [Commits](browserbase/stagehand-python@stagehand-v0.5.9...v3.5.0)

---
updated-dependencies:
- dependency-name: stagehand
  dependency-version: 3.5.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/autogpt_platform/backend/dev/stagehand-3.5.0 branch from 4ed1d0f to 71e61e6 Compare February 13, 2026 16:09
@github-actions
Copy link
Contributor

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@github-actions github-actions bot removed the conflicts Automatically applied to PRs with merge conflicts label Feb 13, 2026
@github-actions
Copy link
Contributor

🔍 PR Overlap Detection

This check compares your PR against all other open PRs targeting the same branch to detect potential merge conflicts early.

🟢 Low Risk — File Overlap Only

These PRs touch the same files but different sections (click to expand)

Summary: 0 conflict(s), 0 medium risk, 8 low risk (out of 8 PRs with file overlap)


Auto-generated on push. Ignores: openapi.json, lock files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies platform/backend AutoGPT Platform - Back end python Pull requests that update Python code size/l

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants