> ## Documentation Index
> Fetch the complete documentation index at: https://hyperbrowser.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# HyperBrowser Provider

> Run HyperAgent locally or scale to the cloud with Hyperbrowser

HyperAgent supports two browser providers: local Chromium for development and Hyperbrowser for production scale.

## Local Browser (Default)

By default, HyperAgent launches a local Chromium browser:

```typescript theme={null}
const agent = new HyperAgent({
  // browserProvider defaults to "Local"
});
```

**Pros:**

* No API key required
* Free to use
* Full control over browser instance
* Works offline

**Cons:**

* Limited to your machine's resources
* Manual scaling required
* No built-in stealth or proxy features

## Hyperbrowser Cloud

You can use Hyperbrowser to scale your production needs [Hyperbrowser](/sessions/create):

```typescript theme={null}
const agent = new HyperAgent({
  browserProvider: "Hyperbrowser",
});
```

**Environment variable:** `HYPERBROWSER_API_KEY`

Get your free API key at [app.hyperbrowser.ai](https://app.hyperbrowser.ai).

**Pros:**

* Scale to hundreds of concurrent sessions
* Built-in stealth mode and proxy rotation
* CAPTCHA solving support
* Session recordings and live view
* No local resources consumed

**Cons:**

* Requires API key
* Network latency
* Usage-based pricing

## Hyperbrowser Configuration

When using Hyperbrowser, you can configure session options:

```typescript theme={null}
const agent = new HyperAgent({
  browserProvider: "Hyperbrowser",
  // Session options passed to Hyperbrowser
});
```

For advanced session configuration (proxies, stealth, CAPTCHA solving), see:

* [Session Configuration](/sessions/create)
* [Stealth Mode](/sessions/stealth)
* [Proxy Settings](/sessions/proxy)
* [CAPTCHA Solving](/sessions/captcha-solving)

## Next Steps

<CardGroup cols={2}>
  <Card title="LLM Providers" icon="microchip" href="/hyperagent/llm-providers">
    Configure your AI provider
  </Card>

  <Card title="Action Caching" icon="database" href="/hyperagent/action-cache">
    Record and replay automations
  </Card>
</CardGroup>
