-
Notifications
You must be signed in to change notification settings - Fork 365
stagehand tool #277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
stagehand tool #277
Conversation
@filip-michalsky could you share a video showing this tool working? |
Hey @lucasgomide - absolutely! Here is a video of the Stagehand tool powering atomic browsing commands for CrewAI web research agent: https://screen.studio/share/1HTuXVvs please let me know if you have any other questions for this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! I liked that..
I drop a few comments, let me know what you think
print 8000 (result) | ||
|
||
# Make sure to clean up stagehand resources | ||
stagehand_tool.close() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about adding contextmanager support or recommending a try/finally approach instead?
We did something similar in MCPServer.
if __name__ == "__main__": | ||
pytest.main(["-xvs", "stagehand_tool_test.py"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need this. The pytest
should be able to collect and run this file automatically
Integration of Stagehand Python SDK with CrewAI
https://pypi.org/project/stagehand-py/