Provider-aware types
Get provider-specific options and response types from your selection. Catch configuration mistakes at compile time.
A lightweight, type-safe TypeScript SDK for search and web content across providers. One consistent API lets you focus on the product logic that matters.
From your application to the search provider you choose. A single interface handles the request and returns normalized results.
SearchSuite translates provider APIs into one consistent TypeScript interface. You stay in control of provider choice and application logic.
Get provider-specific options and response types from your selection. Catch configuration mistakes at compile time.
Normalize results, usage, latency, warnings, and errors while keeping provider-specific features available through typed options.
Each call makes at most one provider request. No implicit retries, fallbacks, cross-provider routing, or caching.
Retrieve web content from supported providers with explicit content types and truncation status.
Built on fetch, AbortSignal, and standard ESM. Zero runtime dependencies. Requires Node.js 24 or newer.
Use the same SDK in server-side and agent applications. The core package does not depend on an application framework.
Install the SDK, choose a provider, and make a familiar async/await call. Switch providers by changing the provider field.
Read the getting started guide ↗// npm install searchsuite
import { SearchSuite } from 'searchsuite'
const client = new SearchSuite()
const response = await client.search({
provider: 'tavily',
query: 'Recent advances in AI agents',
maxResults: 5,
})
for (const result of response.results) {
console.log(result.title, result.url)
}