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

# Prime Intellect

> Run Browserbase-backed browser environments for AI agent evaluation and RL training with Prime Intellect.

Browserbase integrates with [Prime Intellect](https://www.primeintellect.ai/) through [`BrowserEnv`](https://github.com/PrimeIntellect-ai/verifiers/blob/main/verifiers/envs/integrations/browser_env/browser_env.py) to provide the infrastructure for evaluating and training state-of-the-art browser agents.

`BrowserEnv` connects Prime's evaluation and RL training pipelines to Browserbase's cloud browsers, giving your agents real browser sessions to interact with — no local browser setup required.

Use it to benchmark agent performance on web tasks, generate reward signals for reinforcement learning, and train models that can navigate, extract, and act on live web pages.

How it works:

<iframe width="100%" height="400" src="https://www.youtube.com/embed/KOaBpKNRFxQ" title="Prime Intellect integration" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

`BrowserEnv` supports two modes:

<CardGroup cols={2}>
  <Card title="DOM mode" icon="code">
    The agent receives structured DOM content (HTML/accessibility tree) and issues high-level instructions. Recommended default for most tasks.
  </Card>

  <Card title="CUA mode" icon="image">
    The agent receives screenshots and uses coordinate-based actions (click, type, scroll). Best for pixel-grounded or visual tasks.
  </Card>
</CardGroup>

## When you'd use this

* **Benchmark browser agents** — Run standardized browser tasks against your model and collect reward signals using `prime eval`.
* **Train browser-capable models with RL** — Use Browserbase sessions as the environment in Prime's Hosted Training or self-managed `prime-rl` pipelines.
* **Run browser tasks in Prime's environment workflow** — Plug `BrowserEnv` into any verifiers-compatible evaluation or training loop.

## How it fits together

| Component                       | Role                                                                                |
| ------------------------------- | ----------------------------------------------------------------------------------- |
| **Browserbase**                 | Cloud browser infrastructure — creates and manages browser sessions via API         |
| **verifiers `BrowserEnv`**      | Environment abstraction that wraps Browserbase sessions for evaluation and training |
| **Prime CLI / Hosted Training** | Orchestrates evaluation runs (`prime eval`) and RL training loops                   |

Browserbase handles the browsers. `BrowserEnv` translates between Browserbase sessions and the verifiers environment interface. Prime orchestrates the workflow.

## Guides

<CardGroup cols={2}>
  <Card title="Evaluate browser agents" icon="chart-bar" iconType="sharp-solid" href="/integrations/prime-intellect/evals">
    Run browser agent evaluations with prime eval.
  </Card>

  <Card title="Train browser agents" icon="brain" iconType="sharp-solid" href="/integrations/prime-intellect/rl-training">
    Wire BrowserEnv into Prime RL training workflows.
  </Card>
</CardGroup>
