Skip to content

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

Merged
Kylejeong2 merged 8 commits into
mainfrom
kylejeong/gro-1938-build-browserbase-eve-extension
Jul 22, 2026
Merged

[GRO-1938] feat: Add Browserbase Eve extension#88
Kylejeong2 merged 8 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

Medium Risk
New external integration surface (API keys, billable browser sessions, session release correctness) and session concurrency logic; scope is additive (new package + example) with no changes to existing production paths.

Overview
Introduces @browserbasehq/eve, a publishable Eve extension that wires Browserbase Search/Fetch and Stagehand browser tools into agent workflows. Agents get namespaced tools for search, fetch, create/stop session, navigate, observe, act, extract, and multi-step agent runs.

Persistent sessions are tracked in Eve durable state (browser-session); each tool reconnects via keep-alive Browserbase sessions, disconnects Stagehand after one operation, and stop_session requests release with polling. Parallel tool calls in a single step are serialized with an in-memory session lock; stale sessions are cleared when the remote session is terminal.

Stagehand uses Browserbase Model Gateway (only BROWSERBASE_API_KEY required for browser + inference). Config covers model, timeout, and proxies.

Adds a pnpm workspace linking packages/eve-browserbase to examples/integrations/vercel/eve-example (runnable Eve agent, env template, Node 24). The Vercel integrations README now documents this as a third example.

Reviewed by Cursor Bugbot for commit a84b82a. 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 packages/eve-browserbase/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 packages/eve-browserbase/extension/lib/stagehand.ts
Comment thread packages/eve-browserbase/extension/lib/stagehand.ts
Comment thread packages/eve-browserbase/extension/lib/stagehand.ts
Comment thread packages/eve-browserbase/extension/lib/session-lock.ts
Comment thread examples/integrations/vercel/eve/extension/lib/stagehand.ts Outdated
Comment thread packages/eve-browserbase/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 packages/eve-browserbase/extension/lib/stagehand.ts
Comment thread packages/eve-browserbase/extension/lib/release-session.ts
@Kylejeong2
Kylejeong2 merged commit 6e15de9 into main Jul 22, 2026
1 check passed
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.

2 participants