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
| Parameter | Type | Required | Description |
|---|---|---|---|
startUrl | string | Yes | URL of the webpage to start the agent on |
task | string | Yes | The task to complete or goal to achieve on the website |
variables | json | No | Optional variables to substitute in the task (format: {key: value}). Reference in task using %key% |
format | string | No | No description |
provider | string | No | AI provider to use: openai or anthropic |
apiKey | string | Yes | API key for the selected provider |
outputSchema | json | No | Optional JSON schema defining the structure of data the agent should return |
Output
| Parameter | Type | Description |
|---|---|---|
success | boolean | Whether the agent task completed successfully |
completed | boolean | Whether the task was fully completed |
message | string | Status message or final result |
Usage Instructions
Integrate Stagehand Agent into the workflow. Can navigate the web and perform tasks.
Notes
- Category:
tools - Type:
stagehand_agent