Skip to content

Stagehand v3 version#2

Open
dprevoznik wants to merge 1 commit intomainfrom
feat/stagehand-v3
Open

Stagehand v3 version#2
dprevoznik wants to merge 1 commit intomainfrom
feat/stagehand-v3

Conversation

@dprevoznik
Copy link
Collaborator

@dprevoznik dprevoznik commented Feb 6, 2026

created a stagehand v3 version of this script to potentially update the repo to use that version of the gemini computer use agent harness.


Note

Medium Risk
Moderate risk because it upgrades major SDK versions and changes the core agent/browser initialization and teardown paths, which could alter runtime behavior or break compatibility at execution time.

Overview
Upgrades dependencies to @browserbasehq/stagehand v3 and @onkernel/sdk v0.30, and updates the automation script to use Stagehand v3’s CUA agent API (Google model config via mode: "cua" + modelName, dropping the Stagehand OpenAI model configuration).

The runtime now sets explicit viewport sizing for both Kernel browser creation and Stagehand connection, switches page acquisition to stagehand.context.pages()[0], and ensures browser/Stagehand teardown always runs via try/catch/finally.

Docs and env templates are updated to remove OPENAI_API_KEY and reflect the new two-key setup (KERNEL_API_KEY, GOOGLE_API_KEY).

Written by Cursor Bugbot for commit a0e4791. This will update automatically on new commits. Configure here.

created a stagehand v3 version of this script to potentially update the repo to use that version of the gemini computer use agent harness.
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.

1 participant

Comments