Skip to main content
Tool package @keenable/ai-sdk gives any generateText or streamText call web search and page fetch as AI SDK tools. It builds on the official keenable SDK and works keyless, so the snippet below runs as-is — no signup before the first call. @keenable/ai-sdk on npm

Install

Install

ai and zod are peer dependencies, already present in an AI SDK project. Works on ai v5, v6 and v7, and on zod v3 and v4.

Add the tools

The model sees them as keenable_search and keenable_fetch. To add just one, import keenableSearch or keenableFetch instead of the pair.
Set KEENABLE_API_KEY to authenticate — this removes the hourly request cap. Without a key, calls run on the shared public tier at lower rate limits.
Or pass the key directly: keenableTools({ apiKey: "keen_<your_key>" }).