{"slug": "search-sdk-integrate-web-search-into-agents", "title": "Search SDK – Integrate web search into agents", "summary": "Search SDK launches a unified TypeScript SDK for integrating web search into AI agents, supporting multiple providers like Firecrawl, Tavily, Exa, Brave, and Serper with a single API. The SDK provides agent-ready tools for Vercel AI SDK, ensuring consistent result shapes and lightweight dependencies.", "body_md": "[Unified web search for AI agents](/docs/)\n\n# One web search API for every provider\n\nA unified TypeScript SDK to search and scrape the web from your agents. Swap providers without touching your app code, and hand framework-native tools straight to your model.\n\n- Providers\n- 5\n- Unified API\n- 1\n- Dual builds\n- ESM + CJS\n- Heavy deps\n- 0\n\nProviders\n\nUnified API\n\nDual builds\n\nHeavy deps\n\nProvider-agnostic\n\n## Swap providers, keep your code\n\nsearch() and scrape() always return the same shape. Change the provider factory on one line — the rest of your code never moves.\n\nCapabilities\n\n## Everything an agent needs to read the web\n\n### Pluggable providers\n\nFirecrawl, Tavily, Exa, Brave, Serper — one small factory each. Switch by changing a single line.\n\n### Always-unified results\n\nIdentical SearchResult / ScrapeResult shapes across every provider, no matter the underlying API.\n\n### Agent-ready tools\n\nweb.tools() returns a Vercel AI SDK ToolSet (web_search + web_scrape) ready for your agent.\n\n### Capability-aware\n\nScrape tools and methods are only exposed when the active provider actually supports them.\n\n### Lightweight\n\nProviders use native fetch — no heavy vendor SDKs dragged into your dependency tree.\n\n### ESM + CJS + types\n\nShips dual builds with full TypeScript declarations. Works everywhere on Node 18+.\n\nQuick start\n\n## From install to first search in two steps\n\n### Install core + a provider\n\nThe Vercel AI SDK adapter is built into core. Add `ai`\n\nonly if you want agent tools.\n\n### Search the web\n\nPass a provider, then call the unified API. A bare string works too.\n\n## Give your agent the whole web, one API at a time\n\nStart with one provider and switch any time. Adding a provider or framework adapter is purely additive.", "url": "https://wpnews.pro/news/search-sdk-integrate-web-search-into-agents", "canonical_source": "https://search-sdk.dev/", "published_at": "2026-06-27 08:25:17+00:00", "updated_at": "2026-06-27 08:35:30.128930+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-tools", "ai-infrastructure"], "entities": ["Search SDK", "Firecrawl", "Tavily", "Exa", "Brave", "Serper", "Vercel AI SDK"], "alternates": {"html": "https://wpnews.pro/news/search-sdk-integrate-web-search-into-agents", "markdown": "https://wpnews.pro/news/search-sdk-integrate-web-search-into-agents.md", "text": "https://wpnews.pro/news/search-sdk-integrate-web-search-into-agents.txt", "jsonld": "https://wpnews.pro/news/search-sdk-integrate-web-search-into-agents.jsonld"}}