The official CLI for the Stagehand REST API.
It is generated with Stainless.
go install 'github.com/browserbase/stagehand-cli/cmd/stagehand@latest'go run cmd/stagehand/main.goThe CLI follows a resource-based command structure:
stagehand [resource] [command] [flags]stagehand sessions act \
--id 00000000-your-session-id-000000000000 \
--input 'click the first link on the page'For details about specific commands, use the --help flag.
--debug- Enable debug logging (includes HTTP request/response details)--version,-v- Show the CLI version