New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@scavio/ai-sdk

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scavio/ai-sdk

Scavio search tools for the Vercel AI SDK (Google, YouTube, Reddit, Amazon, Walmart, TikTok, Instagram).

Source
npmnpm
Version
0.2.1
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@scavio/ai-sdk

Scavio search tools for the Vercel AI SDK. Give any AI SDK agent real-time search across Google, YouTube, Reddit, Amazon, Walmart, TikTok, and Instagram via the Scavio API.

Install

npm install @scavio/ai-sdk ai zod
export SCAVIO_API_KEY=sk_live_your_key

ai and zod are peer dependencies; scavio (the JS SDK) is bundled.

Usage

import { generateText, stepCountIs } from "ai";
import { openai } from "@ai-sdk/openai";
import { scavioSearch, scavioTools } from "@scavio/ai-sdk";

// A single tool:
const res = await generateText({
  model: openai("gpt-4o-mini"),
  tools: { scavio_search: scavioSearch({ maxResults: 5 }) },
  stopWhen: stepCountIs(3),
  prompt: "Find the official GitHub repo of the Agno framework",
});

// Or all tools at once:
const res2 = await generateText({
  model: openai("gpt-4o-mini"),
  tools: scavioTools(),
  stopWhen: stepCountIs(3),
  prompt: "Compare prices for a mechanical keyboard on Amazon and Walmart",
});

Tools

FactoryTool nameProvider
scavioSearchscavio_searchGoogle web search
scavioYoutubeSearchscavio_youtube_searchYouTube video search
scavioRedditSearchscavio_reddit_searchReddit (2 credits)
scavioAmazonSearchscavio_amazon_searchAmazon products
scavioWalmartSearchscavio_walmart_searchWalmart products
scavioTiktokSearchscavio_tiktok_searchTikTok videos
scavioInstagramSearchscavio_instagram_searchInstagram users
scavioToolsall of the abovebundle for tools:

Each factory accepts { apiKey?, maxResults?, ...ScavioConfig }. The key falls back to SCAVIO_API_KEY. Get a key at dashboard.scavio.dev.

License

MIT

Keywords

scavio

FAQs

Package last updated on 24 Jun 2026

Related posts