Skip to main content

Installation

Choose Your LLM Provider

HyperAgent needs an LLM to power its AI capabilities. We recommend setting environment variables for your API keys.

Your First Automation

Create a file called demo.ts:
Run it:

CLI Mode

For quick one-off tasks, use the CLI:
CLI Options:

Get Started with 3 Core Methods

HyperAgent gives you three ways to interact with pages:

1. page.ai() — Complex Tasks

For multi-step workflows where AI makes decisions:

2. page.perform() — Single Actions

For fast, specific actions:

3. page.extract() — Data Extraction

For pulling structured data:

Mix and Match

The real power comes from combining these methods:

Scale to the Cloud

When you’re ready to run at scale, switch to Hyperbrowser:
You’ll need a HYPERBROWSER_API_KEY. Get one free at app.hyperbrowser.ai.

Next Steps

page.ai()

Deep dive into multi-step automation

page.perform()

Learn about single-action execution

Data Extraction

Extract structured data with schemas

Configuration

Configure LLMs and browser settings