stagehand
stagehand copied to clipboard
Is there python sdk for stagehand?
Hi there,
I was looking for the python SDK for the Stagehand, for example, using the observe() method in a python project. but apparently, that sdk-python repo is a SDK for browserbase not stagehand, am I right?
Hey @agn-7 we are working on the python SDK for stagehand. Stay tuned, please. If you mean this https://github.com/browserbase/sdk-python then yes, thats for browserbase, not for stagehand.
@filip-michalsky great. thank you for the instant response.
Hey guys, thanks for the hard work! Any updates/ETA on the status of the stagehand python SDK? Currently, this is the only thing stopping me and my team from using it, have heard similar from a few other people too.
Thanks!
what's this? is it a third-party python implementation of stagehand?
https://pypi.org/project/stagehand-py/
@kavinstewart that's not third-party, it's work in progress on our end! Not quite ready for prime time, yet, though.
@gitanon112 I don't have an exact ETA update on it, as there are a few dependencies to mirror the functionality of the TS stagehand library. It's great feedback and a signal from your guys to follow up here. We will communicate as soon as it's ready.
Thank you very much! Good luck and great work :)
+1
+1!
+1
looking forward it
+1
+1
is it ready now?
Hi @filip-michalsky, any update? Is this ready now?? https://pypi.org/project/stagehand-py/
+1
Hey all, thank you for your patience. We launched the Python SDK for stagehand via waitlist today - you can sign on the waitlist here:
https://docs.google.com/forms/d/e/1FAIpQLSeq1gJo3fMeTr_WT-eErRdK-4VcPZK-oVpaBHcbd_2M3Hi1Wg/viewform
Is the waitlist form still active, I just submitted a response @filip-michalsky
+1 submitted
following -- is the WL still open?
hello, what about the python sdk? is it ready? @filip-michalsky
There are issues in using Stagehand Python SDK.
It is showing missing library.i am in python environment but it is asking me to install uv environment.
ImportError: stagehand-py package not found, please run uv add stagehand-py.
from crewai import Agent, Task, Crew
from crewai_tools import StagehandTool
from stagehand.schemas import AvailableModel
Initialize the tool with your API keys
stagehand_tool = StagehandTool( api_key="bb_live_TpO7uzUJ7hCeSLReYv6xnEuCidY", project_id="cd5c2954", model_api_key="sk-proj-", model_name=AvailableModel.GPT_4O_MINI, dom_settle_timeout_ms=5000, # Wait longer for DOM to settle headless=False, # Run browser in headless mode self_heal=True, # Attempt to recover from errors wait_for_captcha_solves=True, # Wait for CAPTCHA solving verbose=1, # Control logging verbosity (0-3) )
This it self givind error
As the stagehand python SDK has been released, I close this issue.
Hey @agn-7, you linked to the Browserbase Python SDK. Has the Stagehand Python SDK actually been released yet?
@JoeDo Ohh, I was wrong!
AWS has released a package that looks like Stagehand, named nova-act
@filip-michalsky poking around the SDK, is local mode not supported? Seeing validations that a browserbase API, server URL, etc. are required to initialize.
+1
Hi All, the python SDK is now released and GA!
please pip install stagehand
Looking forward to your feedback :)