Integration vercel-ai-sdk
Give Vercel AI SDK the web without giving up your privacy.
Cited answers, clean Markdown, matching JSON, and browser tasks for the Vercel AI SDK, as drop-in AI SDK tools.
@tabstack/ai
ollama.com/blog
docs.openwebui.com
ANSWER
Two runtimes shipped it.
Why Vercel AI SDK
Tabstack, inside Vercel AI SDK.
@tabstack/ai adds Tabstack to the Vercel AI SDK as typed tool() definitions. Pass them to generateText or streamText and your app gets cited research, clean page content, matching JSON, and browser tasks.
post /research
query: "which runtimes…"
mode: "balanced"First call
Start with a current question.
Vercel AI SDK makes the call, and Tabstack handles the web. Research searches live sources, reads the pages, and returns a cited answer, so your agent gets the findings without running every search itself.
npm install @tabstack/ai ai zod
export TABSTACK_API_KEY="your-key-here"
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";
import { tabstackTools } from "@tabstack/ai";
const { text } = await generateText({
model: openai("gpt-4o"),
tools: tabstackTools,
stopWhen: stepCountIs(5),
prompt: "What are Vercel's pricing plans and how do they compare?",
});
console.log(text);
Tools
Five tools, one key.
tabstackTools is keyed by tool name. Pass all five, or pick the ones a call should reach.
| Tool | Returns |
|---|---|
research_question | A cited answer from multiple live sources |
extract_page_content | A page as clean Markdown |
extract_structured_data | JSON matching a schema you define |
generate_structured_data | A page transformed into the JSON you describe |
automate_browser_task | A completed browser task, from plain-language steps |