Skip to main content
Hyperbrowser is a platform for running, running browser agents, and scaling headless browsers. It lets you launch and manage browser sessions at scale and provides easy to use solutions for any webscraping needs, such as scraping a single page or crawling an entire site. Key Features:
  • Instant Scalability - Spin up hundreds of browser sessions in seconds without infrastructure headaches
  • Simple Integration - Works seamlessly with popular tools like Puppeteer and Playwright
  • Powerful APIs - Easy to use APIs for scraping/crawling any site, and much more
  • Bypass Anti-Bot Measures - Built-in stealth mode, ad blocking, automatic CAPTCHA solving, and rotating proxies
This guide provides a quick overview for getting started with Hyperbrowser tools. For more information about Hyperbrowser, please visit the Hyperbrowser website or if you want to check out the docs, you can visit the Hyperbrowser docs.

Browser agents

Hyperbrowser provides powerful browser agent tools that enable AI models to interact with web browsers programmatically. These browser agents can navigate websites, fill forms, click buttons, extract data, and perform complex web automation tasks. Browser agents are particularly useful for:
  • Web scraping and data extraction from complex websites
  • Automating repetitive web tasks
  • Interacting with web applications that require authentication
  • Performing research across multiple websites
  • Testing web applications
Hyperbrowser offers three types of browser agent tools:
  • Browser Use Tool: A general-purpose browser automation tool
  • OpenAI CUA Tool: Integration with OpenAI’s Computer Use Agent
  • Claude Computer Use Tool: Integration with Anthropic’s Claude for computer use

Overview

Integration details

Setup

To access the Hyperbrowser tools you’ll need to install the langchain-hyperbrowser integration package, and create a Hyperbrowser account and get an API key.

Credentials

Head to Hyperbrowser to sign up and generate an API key. Once you’ve done this set the HYPERBROWSER_API_KEY environment variable:

Installation

Install langchain-hyperbrowser.

Instantiation

Browser use tool

The HyperbrowserBrowserUseTool is a tool to perform web automation tasks using a browser agent, specifically the Browser-Use agent.

OpenAI CUA tool

The HyperbrowserOpenAICUATool is a specialized tool that leverages OpenAI’s Computer Use Agent (CUA) capabilities through Hyperbrowser.

Claude computer use tool

The HyperbrowserClaudeComputerUseTool is a specialized tool that leverages Claude’s computer use capabilities through Hyperbrowser.

Invocation

Basic usage

Browser use tool

OpenAI CUA tool

Claude computer use tool

With custom session options

All tools support custom session options:

Async usage

All tools support async usage:

Use within an agent

Here’s how to use any of the Hyperbrowser tools within an agent:

Configuration options

Claude Computer Use, OpenAI CUA, and Browser Use have the following params available:
  • task: The task to execute using the agent
  • max_steps: The maximum number of interaction steps the agent can take to complete the task
  • session_options: Browser session configuration
For more details, see the respective API references:

API reference