Stagehand Agent

Autonomous web browsing agent

Configuration

Starting URL*
Enter the starting URL for the agent
Task*
Enter the task or goal for the agent to achieve. Reference variables using %key% syntax.
Variables
Variables
Anthropic API Key*
••••••••
Output Schema
json
Enter JSON schema...

Tools

stagehand_agent

Run an autonomous web agent to complete tasks and extract structured data

Input

ParameterTypeRequiredDescription
startUrlstringYesURL of the webpage to start the agent on
taskstringYesThe task to complete or goal to achieve on the website
variablesjsonNoOptional variables to substitute in the task (format: {key: value}). Reference in task using %key%
providerstringNoAI provider to use: openai or anthropic
apiKeystringYesAPI key for the selected provider
outputSchemajsonNoOptional JSON schema defining the structure of data the agent should return

Output

ParameterTypeDescription
agentResultobjectResult from the Stagehand agent execution
structuredOutputobjectExtracted data matching the provided output schema

Usage Instructions

Integrate Stagehand Agent into the workflow. Can navigate the web and perform tasks.

Notes

  • Category: tools
  • Type: stagehand_agent