NestDaddy
+
Agent frameworks · via npm package

Live web search and real-time news for the Vercel AI SDK

Install @nestdaddy/ai-sdk to give any Vercel AI SDK agent three tools: web search, real-time news with country and age filters, and clean full-page reading.

Tested against the live API on

The Vercel AI SDK lets any model call tools you pass to generateText or streamText. @nestdaddy/ai-sdk is a ready-made set of three: web search, news search and page reading, all backed by NestDaddy.

Install

npm install @nestdaddy/ai-sdk ai
export NESTDADDY_API_KEY="your-key"

Get a key at nestdaddy.com/dashboard.

Use it

import { generateText, isStepCount } from "ai";
import { nestdaddyTools } from "@nestdaddy/ai-sdk";

const { text } = await generateText({
  model: "openai/gpt-5-mini",
  prompt: "What happened in AI today? Give 3 headlines with links.",
  tools: nestdaddyTools({ country: "US", newsDays: 2 }),
  stopWhen: isStepCount(4),
});

console.log(text);

Or pick the tools one by one: webSearch(), newsSearch() and readPage().

The three tools

  • webSearch: results with title, url, snippet and domain.
  • newsSearch: real-time news, filtered by age and country, newest and best match first.
  • readPage: the clean full text of a page or article, so the model reads the source before it states details.

Options, all optional: apiKey, numResults, newsDays, country, maxChars, baseUrl, timeoutMs and fetch. Arguments are validated with zod before any request, and API problems throw a NestDaddyError that the AI SDK hands back to the model as a tool error.

What we got

Run on 4 December 2026 with @nestdaddy/ai-sdk 0.1.0 and ai 7.1, installed from npm, with a local qwen2.5:7b model through Ollama. The model called newsSearch {"query":"AI","numResults":3} and answered with three of that day's AI headlines, each with its link (dev.to, fnnews).

The package is open source (MIT). Prefer MCP? The NestDaddy MCP server works with the AI SDK's MCP client too.

More integrations