> ## 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.

# Eve agent integration

> Give Eve agents Browserbase Search, Fetch, and persistent cloud browser tools through Stagehand.

[Eve](https://eve.dev/) is a framework for building durable agents. The `@browserbasehq/eve` extension gives an Eve agent browsers that work where APIs can't.

The extension starts with Browserbase Search and Fetch for lightweight discovery and retrieval. When a page requires JavaScript or interaction, your agent can use [Stagehand](/welcome/quickstarts/stagehand) with a persistent Browserbase browser.

## How it works

The extension adds these tools to your Eve agent:

| Tool             | What your agent can do                                                        |
| ---------------- | ----------------------------------------------------------------------------- |
| `search`         | Find relevant public web pages with Browserbase Search.                       |
| `fetch`          | Retrieve raw, Markdown, or structured page content without a browser session. |
| `create_session` | Create or reconnect to a Browserbase browser.                                 |
| `navigate`       | Open a URL in the current browser.                                            |
| `observe`        | Find elements and candidate actions on the current page.                      |
| `act`            | Perform one natural-language page interaction.                                |
| `extract`        | Return data that matches a JSON Schema.                                       |
| `agent`          | Run a multi-step Stagehand task.                                              |
| `stop_session`   | Stop the browser session and release its resources.                           |

Use Search, then Fetch, then a browser as an escalation path. This approach reserves browser sessions for pages that need them.

## Persistent browser sessions

The extension stores the Browserbase session ID in Eve's durable per-session state. Each browser tool reconnects to the same browser, performs its operation, and disconnects without ending the session. This lets your agent keep browser state across Eve workflow steps and Vercel function invocations.

Call `stop_session` when your agent finishes its task to stop billable browser time. Keep-alive availability depends on your Browserbase plan.

## Model access

Stagehand uses [Browserbase Model Gateway](/platform/model-gateway/overview) for browser inference, so one Browserbase API key covers the browser and Stagehand. The outer Eve agent uses Vercel AI Gateway through an `AI_GATEWAY_API_KEY` or a linked Vercel project's `VERCEL_OIDC_TOKEN`.

## Get started

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/integrations/vercel/eve/quickstart">
    Add the Browserbase extension to an Eve agent and run your first browser
    task.
  </Card>

  <Card title="Example source" icon="github" href="https://github.com/browserbase/integrations/tree/main/examples/integrations/vercel/eve-example">
    Browse the complete Eve agent example on GitHub.
  </Card>
</CardGroup>
