AutoGen integration for Scavio Search API -- real-time Google, Amazon, Walmart, YouTube, Reddit, TikTok, TikTok Shop, and Instagram search tools for AI agents
Project description
autogen-scavio
AutoGen integration for the Scavio Search API, a search API for AI agents. Provides 46 search tools across Google, Amazon, Walmart, YouTube, Reddit, TikTok, TikTok Shop, and Instagram for use with AutoGen AI agents. Scavio also covers X and LinkedIn; those are not wrapped as AutoGen tools yet, call them through the Python SDK.
Installation
pip install autogen-scavio
Setup
Get a free API key at dashboard.scavio.dev and set it as an environment variable:
export SCAVIO_API_KEY="sk_live_..."
Quick Start
import asyncio
from autogen_agentchat.agents import AssistantAgent
from autogen_ext.models.openai import OpenAIChatCompletionClient
from autogen_scavio import create_scavio_tools
tools = create_scavio_tools()
agent = AssistantAgent(
name="researcher",
model_client=OpenAIChatCompletionClient(model="gpt-5.5"),
tools=tools,
system_message="You are a research assistant with access to search tools.",
)
async def main():
result = await agent.run(task="What are the top AI agent frameworks in 2026?")
print(result.messages[-1].content)
asyncio.run(main())
Selective Tool Loading
Load only the providers you need:
# Only Google and Amazon tools
tools = create_scavio_tools(providers=["google", "amazon"])
# Only YouTube
tools = create_scavio_tools(providers=["youtube"])
# Individual tool factories
from autogen_scavio import create_web_search_tool, create_amazon_search_tool
web_tool = create_web_search_tool(max_results=10)
amazon_tool = create_amazon_search_tool(max_results=5)
Amazon changed in 0.4.0 (breaking). The upstream provider moved.
domainis replaced bycountry, a two-letter marketplace code (us,gb-- the UK isgb, notuk--de,jp, ...).sort_by,pages,category_id,merchant_id,language,currency,device,zip_codeandautoselect_variantare gone: the marketplace ignores all of them, andsort_bywas verified to return the identical unordered set for every value, so they are removed rather than kept as silent no-ops. Responses are normalized --priceis a number with a siblingcurrency, andbuyboxis gone (usescavio_amazon_offers).
Available Tools
| Provider | Tool | Description |
|---|---|---|
scavio_web_search |
Web search with knowledge graphs and related questions | |
| Amazon | scavio_amazon_search |
Product search across 22 marketplaces |
| Amazon | scavio_amazon_product |
Product details by ASIN |
| Amazon | scavio_amazon_offers |
Every seller offer for an ASIN, including the buy-box winner |
| YouTube | scavio_youtube_search |
Video search with filters (2 credits) |
| YouTube | scavio_youtube_video |
Full video details by ID or watch URL |
| YouTube | scavio_youtube_comments |
Top-level comments on a video |
| YouTube | scavio_youtube_transcript |
Transcript as plain text or SRT (8 credits) |
| YouTube | scavio_youtube_channel |
Channel profile by ID, @handle, or URL |
| YouTube | scavio_youtube_channel_videos |
A channel's uploaded videos |
| YouTube | scavio_youtube_streams |
Playable stream URLs for a video (3 credits) |
| Walmart | scavio_walmart_search |
Product search with price/fulfillment filters |
| Walmart | scavio_walmart_product |
Product details by ID |
scavio_reddit_search |
Post search (query and cursor only) | |
scavio_reddit_post |
Post metadata by URL, without comments | |
| TikTok | scavio_tiktok_profile |
User profile lookup |
| TikTok | scavio_tiktok_user_posts |
User's posted videos |
| TikTok | scavio_tiktok_video |
Video details |
| TikTok | scavio_tiktok_video_comments |
Video comments |
| TikTok | scavio_tiktok_comment_replies |
Comment replies |
| TikTok | scavio_tiktok_search_videos |
Video search by keyword |
| TikTok | scavio_tiktok_search_users |
User search by keyword |
| TikTok | scavio_tiktok_hashtag |
Hashtag info |
| TikTok | scavio_tiktok_hashtag_videos |
Videos by hashtag |
| TikTok | scavio_tiktok_user_followers |
User's followers |
| TikTok | scavio_tiktok_user_followings |
User's followings |
| TikTok Shop | scavio_tiktok_shop_search |
Product search by keyword (US), with exact prices |
| TikTok Shop | scavio_tiktok_shop_search_suggestions |
Keyword autocomplete across 8 regions |
| TikTok Shop | scavio_tiktok_shop_product |
Full product detail (no price -- upstream masks it) |
| TikTok Shop | scavio_tiktok_shop_product_reviews |
Paginated reviews, up to 200 per call |
| TikTok Shop | scavio_tiktok_shop_categories |
Global category tree (240 nodes, 2 levels) |
| TikTok Shop | scavio_tiktok_shop_category_products |
Products under a category, with exact prices |
| TikTok Shop | scavio_tiktok_shop_shop_products |
A seller's catalog, with exact prices |
| TikTok Shop | scavio_tiktok_shop_resolve |
Resolve a Shop URL or share link to an id |
scavio_instagram_profile |
User profile lookup | |
scavio_instagram_user_posts |
User's posts | |
scavio_instagram_user_reels |
User's reels | |
scavio_instagram_user_tagged |
Posts user is tagged in | |
scavio_instagram_user_stories |
User's active stories | |
scavio_instagram_post |
Post details by url, media_id, or shortcode | |
scavio_instagram_post_comments |
Post comments | |
scavio_instagram_comment_replies |
Comment replies | |
scavio_instagram_search_users |
User search by keyword | |
scavio_instagram_search_hashtags |
Hashtag search by keyword | |
scavio_instagram_user_followers |
User's followers | |
scavio_instagram_user_followings |
User's followings |
Most endpoints cost 1 credit. The exceptions are noted in the table above plus
Instagram, which is priced per endpoint: 10 credits by default, 8 for
scavio_instagram_post and scavio_instagram_comment_replies, and 2 for
scavio_instagram_user_posts.
create_youtube_metadata_tool is still exported but is a deprecated alias of
scavio_youtube_video (same endpoint, same response), so it is no longer part
of the default tool set. Use the video tool.
TikTok Shop caveats
tools = create_scavio_tools(providers=["tiktok_shop"])
Two limits are worth knowing before chaining these tools:
scavio_tiktok_shop_productresolves only about 44% of the product ids thatscavio_tiktok_shop_searchreturns. Upstream has no detail data for the rest, so a not-found result is a normal outcome rather than an error -- skip the product instead of retrying. Search is a listing source, not the first leg of a reliable search-then-detail pipeline.scavio_tiktok_shop_productdoes not return a price. Upstream masks the digits on the product page, soprice.currentandprice.originalcome back null. Exact prices are onscavio_tiktok_shop_search,scavio_tiktok_shop_shop_productsandscavio_tiktok_shop_category_products.
Configuration
from autogen_scavio import configure
# Set API key programmatically
configure(api_key="sk_live_...")
# Or pass to factory
tools = create_scavio_tools(api_key="sk_live_...", max_results=10)
About Scavio
Scavio is a unified search API built for AI agents — one API key, structured JSON, no scraping or proxies. A real-time Tavily alternative and SerpAPI alternative with data from:
- Google Search API — SERP results, news, images, maps, and knowledge graph
- Amazon Product API and Walmart Product API — product search and details
- YouTube API, TikTok API, and Instagram API — video and social media data
- TikTok Shop — product detail, reviews, categories, and seller catalogs
- Reddit API — posts and threaded comments
- X (formerly Twitter) and LinkedIn — profiles, posts, and search
Get a free API key and explore the documentation. You can also compare Scavio vs alternatives on coverage and pricing.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autogen_scavio-0.4.0.tar.gz.
File metadata
- Download URL: autogen_scavio-0.4.0.tar.gz
- Upload date:
- Size: 28.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd057407aa43329ed69e8d78b8a2b07bb4154aecd84b23a1ab4a11c79ab24877
|
|
| MD5 |
a0f54b8c8b559424b9b8d95ee28545cc
|
|
| BLAKE2b-256 |
c587da5d33af9e463bb7eb1604dca5d3f1112f4e4023c286c15a4b3a1f426c1b
|
Provenance
The following attestation bundles were made for autogen_scavio-0.4.0.tar.gz:
Publisher:
publish.yml on scavio-ai/autogen-scavio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autogen_scavio-0.4.0.tar.gz -
Subject digest:
dd057407aa43329ed69e8d78b8a2b07bb4154aecd84b23a1ab4a11c79ab24877 - Sigstore transparency entry: 2339584785
- Sigstore integration time:
-
Permalink:
scavio-ai/autogen-scavio@55d3fb85008a870933daba26fb749a862d1e0176 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/scavio-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@55d3fb85008a870933daba26fb749a862d1e0176 -
Trigger Event:
push
-
Statement type:
File details
Details for the file autogen_scavio-0.4.0-py3-none-any.whl.
File metadata
- Download URL: autogen_scavio-0.4.0-py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b22005e130dfff3125b5decec4cdef58cc4368d6f17446bbe7c61e6db7f75125
|
|
| MD5 |
2acc35e0420eb6af5d11093935c70040
|
|
| BLAKE2b-256 |
8a8365e57181ec9f83d9eaa4aaab8a2158d4e5420e63930b0e4df72dc015ab09
|
Provenance
The following attestation bundles were made for autogen_scavio-0.4.0-py3-none-any.whl:
Publisher:
publish.yml on scavio-ai/autogen-scavio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autogen_scavio-0.4.0-py3-none-any.whl -
Subject digest:
b22005e130dfff3125b5decec4cdef58cc4368d6f17446bbe7c61e6db7f75125 - Sigstore transparency entry: 2339584801
- Sigstore integration time:
-
Permalink:
scavio-ai/autogen-scavio@55d3fb85008a870933daba26fb749a862d1e0176 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/scavio-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@55d3fb85008a870933daba26fb749a862d1e0176 -
Trigger Event:
push
-
Statement type: