websearch-sdk provides a unified TypeScript software development kit (SDK) and API designed for integrating web search and scraping capabilities into AI agents. Its main feature is allowing developers to access multiple web search and scraping providers—specifically Firecrawl, Tavily, Exa, Brave, and Serper—through a single, consistent API. This approach enables users to switch between providers by changing only one line of code, without modifying the rest of their application, making the SDK provider-agnostic and simplifying maintenance and extensibility for AI agent developers.
The SDK ensures that search and scrape operations always return results in the same structure, regardless of the underlying provider. This uniformity reduces the need for custom integration code and facilitates seamless provider swapping. tools(), which returns a Vercel AI SDK ToolSet (web_search and web_scrape) that can be directly integrated into AI models. Scraping functionality is capability-aware, meaning that scrape tools and methods are only exposed when the selected provider supports them, ensuring compatibility and reducing errors.
websearch-sdk is built for both humans and AI agents, with dual builds supporting both ESM and CJS module formats and full TypeScript declarations. It is compatible with Node 18+ environments and is designed to be lightweight by leveraging native fetch instead of bundling heavy vendor SDKs. The SDK can be installed by adding the core package and a provider, with the Vercel AI SDK adapter included in the core. Adding new providers or framework adapters is additive and does not require refactoring existing code.
The tool is distributed under the MIT License, allowing for open-source use and modification. Documentation, references, and resources are available for developers seeking to implement or extend its capabilities. websearch-sdk is positioned as a unified web search API and SDK tailored for AI agent integration, emphasizing ease of provider management and consistent results across multiple web search and scraping services.
websearch-sdk sits in PulseGate's API design, testing & docs category. It focuses on simplifying integration of multiple web search providers into AI agents and applications with a single SDK. It is built as an open-source project for AI agent developers and TypeScript engineers. websearch-sdk is open source under the Open Source license. The product ships for the web, the command line, and API.
websearch-sdk first shipped in 2024. Key capabilities include Unified API, provider swapping, and typeScript support. It exposes integrations via a public API.
Latest indexed changes and source events
Search SDK – Integrate web search into agents verified by the PulseGate indexer
Other apps tracked under the same category.