Skip to content

[GRO-1938] feat: Add Browserbase Eve extension#88

Open
Kylejeong2 wants to merge 7 commits into
mainfrom
kylejeong/gro-1938-build-browserbase-eve-extension
Open

[GRO-1938] feat: Add Browserbase Eve extension#88
Kylejeong2 wants to merge 7 commits into
mainfrom
kylejeong/gro-1938-build-browserbase-eve-extension

Conversation

@Kylejeong2

@Kylejeong2 Kylejeong2 commented Jul 20, 2026

Copy link
Copy Markdown
Member

Summary

  • add a publishable @browserbasehq/eve extension built from Eve primitives
  • expose Stagehand navigation, observe, act, extract, and autonomous agent tools
  • provide durable create/stop session tools that reconnect through Eve session state
  • add Browserbase SDK-backed Search and Fetch tools
  • add a runnable pnpm Eve example using Browserbase Model Gateway
  • document Node 24 setup and the Search → Fetch → browser escalation path

Why

GRO-1938 calls for a Browserbase extension for Eve. This gives Eve agents one installable package for lightweight web discovery and retrieval plus persistent, interactive Browserbase sessions.

Stagehand is configured to use Browserbase Model Gateway, so consumers only need BROWSERBASE_API_KEY for browser sessions and Stagehand inference. The example uses Vercel AI Gateway for the outer Eve agent.

Validation

  • pnpm check
  • pnpm --filter browserbase-eve-example typecheck
  • pnpm --filter browserbase-eve-example build
  • live Stagehand observe smoke test through Browserbase Model Gateway
  • live Browserbase SDK Search and Fetch smoke tests
  • git diff --check

Linear: GRO-1938


Note

Low Risk
New example-only packages under examples/integrations/vercel/ with no changes to production libraries or auth paths.

Overview
Adds a new Vercel integration example for Eve: a publishable @browserbasehq/eve package plus a sibling eve-example agent in a pnpm workspace.

The extension wires Browserbase Search/Fetch (no session) and Stagehand browser tools (navigate, observe, act, extract, autonomous agent) behind Eve tool namespaces. Keep-alive Browserbase sessions are stored in Eve durable state so tools reconnect across workflow steps; each call disconnects Stagehand without tearing down the remote browser until stop_session. Parallel tool calls in one step are serialized via a per-session lock, and session release is polled after REQUEST_RELEASE.

Stagehand uses Browserbase Model Gateway (only BROWSERBASE_API_KEY required for browser + inference). The example agent uses Vercel AI Gateway for the outer Eve model and documents Node 24 and a Search → Fetch → browser escalation path. The top-level Vercel examples README now lists this as the third example.

Reviewed by Cursor Bugbot for commit 23ba324. Bugbot is set up for automated code reviews on this repo. Configure here.

@Kylejeong2
Kylejeong2 force-pushed the kylejeong/gro-1938-build-browserbase-eve-extension branch from 5bc6085 to ec7b841 Compare July 20, 2026 21:29
@Kylejeong2 Kylejeong2 changed the title Add Browserbase Eve extension [GRO-1938] feat: Add Browserbase Eve extension Jul 20, 2026
@Kylejeong2
Kylejeong2 marked this pull request as ready for review July 21, 2026 20:13
@Kylejeong2
Kylejeong2 requested a review from a team as a code owner July 21, 2026 20:13
Comment thread examples/integrations/vercel/eve/extension/lib/stagehand.ts Outdated
Comment thread examples/integrations/vercel/eve/extension/lib/stagehand.ts Outdated
Comment thread examples/integrations/vercel/eve/extension/tools/navigate.ts
Comment thread examples/integrations/vercel/eve/extension/tools/session.ts Outdated
Comment thread examples/integrations/vercel/eve/extension/lib/stagehand.ts Outdated
Comment thread examples/integrations/vercel/eve/extension/lib/stagehand.ts
Comment thread examples/integrations/vercel/eve/extension/lib/stagehand.ts
Comment thread examples/integrations/vercel/eve/extension/lib/stagehand.ts
Comment thread examples/integrations/vercel/eve/extension/lib/session-lock.ts
Comment thread examples/integrations/vercel/eve/extension/lib/stagehand.ts Outdated
Comment thread examples/integrations/vercel/eve/extension/lib/stagehand.ts

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 23ba324. Configure here.

Comment thread examples/integrations/vercel/eve/extension/lib/stagehand.ts
Comment thread examples/integrations/vercel/eve/extension/lib/release-session.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant