Skip to content

feat: add Browserbase search through AI Gateway - #4029

Merged
AndrewBarba merged 2 commits into
vercel:mainfrom
shrey150:shrey/browserbase-gateway-web-tools
Oct 6, 2026
Merged

AndrewBarba merged 2 commits into
vercel:mainfrom
shrey150:shrey/browserbase-gateway-web-tools

Conversation

@shrey150

@shrey150 shrey150 commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Agents using AI Gateway can select Browserbase Search without configuring a separate Browserbase key. This adds webSearch({ provider: "browserbase" }) using the agent's Gateway credentials. Direct-provider models keep their native search behavior, and Gateway's default remains Exa. Fetch is separate in #4030.

Validation

  • corepack pnpm build, corepack pnpm typecheck, corepack pnpm guard:invariants, and git diff --check upstream/main passed for the rebase.
  • corepack pnpm --filter eve exec vitest run --config vitest.unit.config.ts src/compiler/normalize-manifest.test.ts src/internal/authored-definition/schema-backed.test.ts src/harness/tools.test.ts — 103 tests passed.
  • Before the final upstream attachment commits: corepack pnpm test, corepack pnpm fmt, corepack pnpm lint, corepack pnpm check:deps, and corepack pnpm docs:check passed. Two initial test timeouts passed on rerun; lint reports existing warnings. Subsequent changes only refine the search eval.
  • After the eval update: corepack pnpm --filter agent-browserbase-tools typecheck, corepack pnpm fmt, and corepack pnpm lint passed. Fourteen assertion probes accepted valid variations and rejected missing citations, unrelated results, and failed searches.
  • Manual HTTP smoke: a local eve agent using openai/gpt-5.4-mini found and cited MDN’s Array.prototype.flatMap reference through Browserbase Search. Used Gateway credentials only; zero failed actions.

The fixture's eve eval remains for CI. Fork workflows and Vercel deployments need maintainer authorization.

Checklist

  • This change was requested or approved by a maintainer
  • I ran the relevant checks from CONTRIBUTING.md
  • I added tests and documentation where relevant
  • I added a changeset if this touches the published eve package
  • DCO sign-off passes for every commit (git commit --signoff)

@vercel

vercel Bot commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

@shrey150 is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@socket-security

socket-security Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​ai-sdk/​provider@​4.0.211001007698100
Addednpm/​@​ai-sdk/​provider-utils@​5.0.53911007698100
Addednpm/​ai@​7.0.1279910010099100

View full report

@shrey150 shrey150 changed the title feat: add Browserbase web tools through AI Gateway feat: add Browserbase search through AI Gateway Sep 30, 2026
@shrey150
shrey150 force-pushed the shrey/browserbase-gateway-web-tools branch from 284633e to 295b05d Compare October 1, 2026 23:25
@shrey150
shrey150 marked this pull request as ready for review October 1, 2026 23:57
@shrey150
shrey150 force-pushed the shrey/browserbase-gateway-web-tools branch from 194dbff to 71aecad Compare October 6, 2026 21:11
@AndrewBarba
AndrewBarba merged commit 8f7001b into vercel:main Oct 6, 2026
65 of 142 checks 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