TOOL WIKI · RUNTIME & DEPLOYMENT

Browser Use

Uses agent-driven browser interaction to carry out web tasks.

Download example files Code + setup + checks in a ZIP
Jump to a section 10 sections

EXAMPLE USE CASE

Let an agent perform one bounded read-only browser task

A developer needs a concrete execution environment for a background task, browser operation or service, with a visible terminal result.

Input
An instruction to open Example Domain, report its heading and submit no forms.
Expected output
The observed main heading as the final result.
  • Success check: The current default gateway/cloud-browser path returns the public page heading.
  • Try a failure: An invented heading or navigation outside the task should fail review.

Example scope: Actual managed browser/model execution requiring its service key; the test intentionally uses a harmless public page.

Official reference · Browser Use

WHAT IT ISBrowser automation framework
WHERE IT FITSRuntime & deployment
SEE HOW THE SYSTEM FITS TOGETHERSELECT A COMPONENT
inputprocessresultcheckoutputTask requestGoal + resource budgetBrowser UseBrowser automation frameworkWorker environmentScoped executionExternal operationsAuthorized servicesArtifacts + outcomeValidate the resultLifecyclePersist or clean up
  1. Set the allowed runtime, network access, credentials, and maximum duration.

  2. Tasks that require working through a website interface. Prefer bounded goals and verify the resulting page state after each action.

  3. Run only the workload and dependencies required for the task.

  4. Check permissions at each resource service and reconcile uncertain writes.

  5. Inspect files, records, and task-level acceptance criteria.

  6. Retain required artifacts, release temporary compute, and expire task credentials.

    Result or stopping point
Browser Use

Tasks that require working through a website interface. Prefer bounded goals and verify the resulting page state after each action.

Follow the arrows, then select a component to inspect its responsibility. On mobile, downward arrows connect the next step; bent arrows identify branches and return paths. Select a destination to jump to that component.

When to consider it

  • Tasks that require working through a website interface.

A design decision to make

  • Prefer bounded goals and verify the resulting page state after each action.

Prerequisites and setup

  • Python 3.11+ and a Browser Use key with cloud-browser/model access. The current default uses managed browser and model usage.
Shell
python3 -m venv .venv
source .venv/bin/activate
pip install browser-use
export BROWSER_USE_API_KEY="YOUR_KEY"
export BROWSER_USE_AUTO_LOGIN=false

Try a small integration

agent.py

Python · agent.py
from browser_use import Agent

agent = Agent("Open https://example.com and report its main heading. Do not navigate elsewhere or submit forms.")
result = agent.run_sync()
print(result.final_result())

Run and check the result

Shell
python agent.py
  • The current default gateway/cloud-browser path returns the public page heading.
  • This read-only task isolates browser-agent observation from consequential tool actions.

Common failures

  • A worker accepting a job does not establish completion. Inspect the task result, failure and retry history.
  • Do not expose a development control plane or unauthenticated execution endpoint publicly.

Production decisions

  • Use bounded CPU/memory/time, restricted filesystem mounts and network access, short-lived secrets and per-user isolation.
  • Preserve run/operation identifiers, cancellation and terminal states. Retryable remote writes need provider idempotency or reconciliation.
  • Treat website text as untrusted. Keep live-view URLs private, constrain destination/action policies in code and require review for consequential submissions.

Keep exploring

An agent that can pause and resumeA browser or coding agent in a sandbox

Explore the same layer

TemporalInngestTrigger.devE2B

Compare candidates on your own workload. This entry describes a product’s role; it is not a claim that products in the category are interchangeable.