AI Gateway adds Browserbase Search and Fetch tools
Key point
The tools are available in AI SDK 7.0.116 and later, allowing models to access current web information via a single API key.
Details
AI Gateway now hosts Browserbase Search and Fetch tools, enabling models to access current information, find relevant pages, and retrieve their contents. This integration works alongside Browserbase's existing AI SDK and Vercel Marketplace integrations.
Unified Access Across Providers
The tools allow developers to use Browserbase capabilities across different model providers with a single AI Gateway API key. By adding web search and page retrieval to any model that supports tool calling, developers can maintain the same tools even when switching between models.
Implementation Details
These helpers are available in AI SDK 7.0.116 and later. To implement them, users must:
- Update the SDK using
pnpm add ai@latest - Set the
AI_GATEWAY_API_KEYenvironment variable - Pass the helpers in the
toolsconfiguration
AI Gateway itself provides a unified API for calling models, tracking usage and cost, and configuring routing, retries, and failover. Users can utilize an AI Gateway API key or bring their own provider key.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.