- 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
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
- 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
Tool | Package | Local | Serializable | JS support |
---|---|---|---|---|
Browser Use Tool | langchain-hyperbrowser | ❌ | ❌ | ❌ |
OpenAI CUA Tool | langchain-hyperbrowser | ❌ | ❌ | ❌ |
Claude Computer Use Tool | langchain-hyperbrowser | ❌ | ❌ | ❌ |
Setup
To access the Hyperbrowser tools you’ll need to install thelangchain-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
TheHyperbrowserBrowserUseTool
is a tool to perform web automation tasks using a browser agent, specifically the Browser-Use agent.
OpenAI CUA Tool
TheHyperbrowserOpenAICUATool
is a specialized tool that leverages OpenAI’s Computer Use Agent (CUA) capabilities through Hyperbrowser.
Claude Computer Use Tool
TheHyperbrowserClaudeComputerUseTool
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 agentmax_steps
: The maximum number of interaction steps the agent can take to complete the tasksession_options
: Browser session configuration