Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Browser Navigation

Let an agent complete a task in a browser, such as locating information or downloading a document from a website. Describe the intended result and where the agent should stop.

Before you start

Browser Navigation must be available in your environment. You need access to the target website; sign-in or other human interaction may be required.

Run a browser task

  1. Enter the website and task in Task Prompt. Specify the information to return, any files to download, and whether the task should stop before submitting a change.

  2. Choose Session if the task needs saved browser context. Use Sandbox ID only to continue work in an existing browser environment.

  3. Choose the available Model and set Max Steps. Run the tool and use the browser view if it requests human action.

  4. Check Status, Success, and Result. Review New Files Created for downloads and Error for a failed task.

Browser navigation controls in StackAI
Task Prompt states what the browser should accomplish. Session selects saved browser session context when required. Model selects the available navigation model, and Max Steps limits the number of navigation steps. A step limit is not a timeout or a guarantee that the task will finish. Check the result before starting a dependent action.

Result: A completed task returns a result or summary. A task that needs human action must be continued before dependent work can rely on it.

Behavior and troubleshooting

A saved session and an active sandbox are different: a session preserves browser context, while a sandbox identifies a running environment. Check Session Restored and Session Saved when continuity matters. Max Steps limits navigation steps; it is not a timeout or a completion guarantee. Downloads support PDF, PNG, JPG/JPEG, GIF, WEBP, DOCX, XLSX, PPTX, UTF-8 CSV, and BAI2 files up to 30 MB. Legacy XLS and other unsupported formats are not returned. Check the destination before repeating an interrupted task that changes records.

Inputs

Field
Parameter
Description

Task Prompt (required)

prompt

The task description for the browser agent to execute.

Sandbox ID

sandbox_id

Optional sandbox ID to reuse an existing browser session.

Session

session

Optional persisted browser session to restore before the run and save back after it completes.

Session Name

session_name

Name for a new persisted browser session.

Model

model

The AI model to use for browser navigation.

Max Steps

max_steps

Maximum number of steps the browser agent can take.

Configuration

Field
Parameter
Description

Browser Navigation Settings

browser_navigation_settings

Advanced browser settings. Leave the default configuration unless the interface requires a change.

Outputs

Field
Parameter
Description

Success

success

Whether the browser agent completed the task successfully.

Result

result

The result or summary from the browser agent.

Steps Taken

steps

Number of steps the agent took to complete the task.

Error

error

Error message if the task failed.

Sandbox ID

sandbox_id

The ID of the sandbox used for this operation.

Stream URL

stream_url

The URL for viewing the browser session.

Session Saved

session_saved

Whether the browser session was saved to persistent storage.

Session Restored

session_restored

Whether a saved browser session was restored before the run started.

Active Session Name

active_session_name

Resolved display name of the active browser session used for persistence.

New Files Created

new_files

List of new files created during task execution.

Screenshots

screenshots

Screenshots the browser agent took because the task prompt asked it to capture one at a certain point (for example, as evidence of a finding). Empty if the task did not ask for any screenshots.

Status

status

The status of the task.

Event Type

event_type

Type of streaming event (thinking, action, result, step, done, error).

Event Data

event_data

Typed event data payload for the current streaming event.

Needs Human Action

needs_human_action

Whether the task requires human intervention to proceed.

Takeover Reason

takeover_reason

Reason why human action is needed, if applicable.

Tool Results, Errors, and Agent Continuation

Was this helpful?