AutoGen Integration
Integrate Scavio with Microsoft AutoGen to give your agents real-time search across Google, Amazon, Walmart, YouTube, Reddit, TikTok, and Instagram. The autogen-scavio package ships 32 tools, ready to hand to any AutoGen AssistantAgent -- a cost-effective Tavily and SerpAPI alternative.
One call, 32 tools
create_scavio_tools() returns ready-to-use AutoGen tools. Load every provider, or pass providers=[...] to load only the ones your agent needs.Introduction
The autogen-scavio package wraps the Scavio API as native AutoGen tools built on autogen-core. Each tool returns structured JSON, so agents can search, compare, and reason over live data without scraping or proxies.
Step-by-Step Integration Guide
Step 1: Install the package
pip install autogen-scavioStep 2: Set your API key
Get a key at dashboard.scavio.dev, then expose it as the SCAVIO_API_KEY environment variable:
export SCAVIO_API_KEY=sk_live_...Step 3: Give the tools to an agent
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, or build individual tools:
# 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)Configuration
from autogen_scavio import configure
# Set the API key programmatically
configure(api_key="sk_live_...")
# Or pass it to the factory
tools = create_scavio_tools(api_key="sk_live_...", max_results=10)Available Tools
32 tools span seven platforms. A selection of the most common:
| Provider | Tool | Description |
|---|---|---|
scavio_web_search | Web search with knowledge graphs and related questions | |
| Amazon | scavio_amazon_search | Product search across 20+ marketplaces |
| Amazon | scavio_amazon_product | Product details by ASIN |
| Walmart | scavio_walmart_search | Product search with price and fulfillment filters |
| Walmart | scavio_walmart_product | Product details by ID |
| YouTube | scavio_youtube_search | Video search with filters |
| YouTube | scavio_youtube_metadata | Video metadata by ID |
scavio_reddit_search | Post and comment search | |
scavio_reddit_post | Post metadata and comments by URL | |
| TikTok | scavio_tiktok_search_videos | Video search by keyword |
scavio_instagram_profile | User profile lookup |
The complete set adds the full TikTok and Instagram catalogs -- profiles, posts, reels, comments, replies, hashtags, followers, and followings.
Benefits of Scavio + AutoGen
- 32 tools: web, shopping, video, and social in one package.
- Selective loading: hand agents only the providers they need.
- Structured JSON: no scraping, proxies, or HTML parsing.
- Cost-effective: most calls cost a single credit.
Next Steps
- Google Search API -- endpoint reference and parameters
- Python SDK -- the client that powers these tools
- MCP Integration -- the full hosted tool catalog