Blocks

Stagehand Agent

Autonomous web browsing agent

Use Stagehand to create an autonomous web browsing agent that can navigate across websites, perform tasks, and return structured data.

Back to Catalog
Toolsstagehand_agent

Block Preview

Stagehand Agent

Autonomous web browsing agent

Usage

  1. Add the block to your workflow and connect it to the upstream step.
  2. Configure any required credentials or tokens in the inputs.
  3. Fill in required inputs and optional parameters for the run.
  4. Run a test execution, inspect outputs, and iterate before deploying.
  5. Deploy the stagehand_agent block with monitoring enabled in production.

Inputs (UI)

Starting URL

short-input

Placeholder: Enter the starting URL for the agent

Layout: full

Task

long-input

Placeholder: Enter the task or goal for the agent to achieve. Reference variables using %key% syntax.

Layout: full

Variables

table

Layout: full

Anthropic API Key

short-input

Placeholder: Enter your Anthropic API key

Layout: full

Output Schema

code

Placeholder: Enter JSON Schema...

Layout: full

Enable Memory

switch

Layout: half

Memory Limit

slider

Layout: half

Condition: memoryEnabled = true

Importance Threshold

slider

Layout: half

Condition: memoryEnabled = true

Memory Tags

short-input

Placeholder: customer-support, billing, technical

Layout: half

Condition: memoryEnabled = true

Inputs (API)

startUrl

string

Required

task

string

Required

variables

json

Optional

apiKey

string

Required

outputSchema

json

Optional

memoryEnabled

boolean

Optional

memoryLimit

number

Optional

memoryImportance

number

Optional

memoryTags

string

Optional

Outputs

Primary response type:

{
  "agentResult": "json",
  "structuredOutput": "json"
}

Tool Access

stagehand_agent
Stagehand Agent | NowFlow Blocks