npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@browserbasehq/eve

v0.1.0

Published

An Eve extension that gives agents Browserbase-powered Stagehand browser tools.

Downloads

8,538

Readme

Browserbase for Eve

An Eve extension that gives an agent Browserbase Search and Fetch plus a persistent Browserbase browser powered by Stagehand. It exposes Stagehand's focused primitives (act, observe, and extract) plus navigation and autonomous agent tools.

Install

pnpm add @browserbasehq/eve

Add your credentials to the consuming Eve app:

BROWSERBASE_API_KEY=bb_live_...

Mount the extension

The filename under agent/extensions/ becomes the tool namespace. Mounting the extension as browserbase.ts creates tools such as browserbase__search, browserbase__fetch, browserbase__create_session, and browserbase__navigate.

// agent/extensions/browserbase.ts
import browserbase from '@browserbasehq/eve';

export default browserbase({
  apiKey: process.env.BROWSERBASE_API_KEY!,
  model: 'openai/gpt-5.4-mini',
});

Start Eve and give the agent a browser task:

pnpm exec eve dev
Open https://news.ycombinator.com and extract the titles and URLs of the first
five stories.

The extension keeps the Browserbase session ID in Eve's durable per-session state. Each browser tool reconnects to that browser, performs one operation, and disconnects without terminating it. browserbase__create_session creates or reconnects the browser explicitly, and browserbase__stop_session terminates it.

Tools

| Tool | Purpose | | ---------------- | ------------------------------------------------------- | | search | Find relevant public web pages with Browserbase Search. | | fetch | Retrieve raw, markdown, or structured page content. | | create_session | Create or reconnect the Browserbase session. | | stop_session | Stop the Browserbase session and release resources. | | navigate | Open a URL in the current browser. | | observe | Find relevant elements and candidate actions. | | act | Perform one natural-language page interaction. | | extract | Return data validated against a supplied JSON Schema. | | agent | Run a multi-step autonomous Stagehand task. |

Use Search → Fetch → browser as an escalation path: discover sources cheaply, retrieve straightforward content without a session, and create a browser only when the page requires JavaScript or interaction. Fetch supports Browserbase's raw, markdown, and schema-driven json formats.

For predictable and efficient runs, use create_sessionnavigateobserveact or extract, then stop_session. Reserve agent for workflows that need Stagehand to plan several steps on its own.

Configuration

| Option | Default | Description | | ----------------------- | --------------------- | --------------------------------------------------- | | apiKey | required | Browserbase API key for browsers and Model Gateway. | | model | openai/gpt-5.4-mini | Stagehand Model Gateway model identifier. | | sessionTimeoutSeconds | 900 | Session timeout, from 60 to 21,600 seconds. | | proxies | false | Enable Browserbase proxies for new sessions. |

Stagehand runs through Browserbase Model Gateway, so consumers do not need an OpenAI or other model-provider API key. The Browserbase API key covers both the browser session and Stagehand inference.

The extension uses Browserbase keepAlive sessions so it can reconnect across Eve workflow steps and Vercel function invocations. Parallel browser calls made inside one Eve workflow step are queued in that step's managed runtime; durable state reconnects later steps and invocations. Close the session after the task to avoid leaving billable browser time running. Keep-alive availability depends on your Browserbase plan.

Build

nvm use
pnpm install
pnpm check

Eve requires Node.js 24 or newer. This directory's .nvmrc pins Node 24.16.0; run nvm install 24.16.0 first if needed.

eve extension build writes the publishable extension and type declarations to dist/.

Example agent

The eve-example directory contains a runnable Eve agent that mounts this package locally. It includes the agent instructions, environment template, and a Browserbase research prompt for a complete smoke test.