What is searchSDK?
searchSDK is an open-source SDK that gives AI apps and agents one interface to many web search APIs.
searchSDK is an open-source, MIT-licensed SDK by Belweave. Your server makes one call; searchSDK sends it to the web search provider you name.
What is a web search API for AI agents?
A web search API takes a query and returns results as data: URLs, titles, dates and excerpts. Agents use it to ground answers in current pages. Each provider has its own index, options, result fields, prices and limits.
What does searchSDK do?
- Two calls,
searchandcontents, with one result shape for every provider. - Switch providers by changing one id.
- Fall back to other providers, in your order, only when you turn it on.
- Report a cost on every response and attempt, and where it came from.
Which providers does it support?
Brave Search, Context.dev, Exa, Firecrawl, Perplexity, Tavily and TinyFish. Firecrawl is conformance-verified live in TypeScript and Python; Exa, Context.dev and TinyFish are live-tested in the 404-query benchmark; Brave Search, Perplexity and Tavily remain fixture-tested. Each provider's page lists what it supports.
Which languages does it support?
TypeScript on Node 24 and Python 3.10 or newer, neither with runtime dependencies. TypeScript installs from npm as @searchsdk/sdk (the quickstart); Python is not on PyPI yet.
Where do calls go?
From your server to the provider, with your key. No searchSDK service sits in between.
How are providers compared?
An open benchmark ranks quality first, then reliability. The first live results (404 queries across three passes) are on the benchmarks page.