Skip to main content

Scavio real-time search tools (Google, YouTube, Amazon, Walmart, Reddit, TikTok, Instagram) for the OpenAI Agents SDK

Project description

openai-agents-scavio

Scavio real-time search tools for the OpenAI Agents SDK — Google, YouTube, Amazon, Walmart, Reddit, TikTok, and Instagram, with one API key.

Install

pip install openai-agents-scavio

Setup

Get a Scavio API key from the Scavio Dashboard (new accounts get free credits, no credit card). Set SCAVIO_API_KEY or pass api_key= to the factory.

Usage

from agents import Agent, Runner
from openai_agents_scavio import get_scavio_tools

agent = Agent(
    name="Search Assistant",
    instructions="Search the web, shopping sites, and social platforms with Scavio.",
    tools=get_scavio_tools(),  # reads SCAVIO_API_KEY
)

result = Runner.run_sync(agent, "Find the top budget laptops on Amazon")
print(result.final_output)

Expose only the providers you need:

tools = get_scavio_tools(
    enable_google=True,
    enable_reddit=True,
    enable_amazon=False,
    enable_walmart=False,
    enable_youtube=False,
    enable_tiktok=False,
    enable_instagram=False,
)

Pass all=True to register every tool regardless of the individual flags.

Tools

get_scavio_tools() returns 32 function tools, one per Scavio endpoint, named scavio_<provider>_<action> (e.g. scavio_google_search, scavio_amazon_product, scavio_reddit_post). Each returns the structured Scavio JSON response; errors come back as {"error": "..."} rather than raising, so a failed call never crashes the run.

Use every endpoint via MCP

For the full Scavio API with no install, point the Agents SDK at the hosted MCP server:

from agents import Agent
from agents.mcp.server import MCPServerStreamableHttp

server = MCPServerStreamableHttp(
    name="scavio",
    params={"url": "https://mcp.scavio.dev/mcp", "headers": {"x-api-key": "sk_live_..."}},
)
agent = Agent(name="Search Assistant", mcp_servers=[server])

Credits

Most calls cost 1 credit. Reddit and Instagram cost 2 credits, and Google costs 2 unless light_request=True (1 credit). See scavio.dev/docs.

Links

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

openai_agents_scavio-0.1.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openai_agents_scavio-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file openai_agents_scavio-0.1.0.tar.gz.

File metadata

  • Download URL: openai_agents_scavio-0.1.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for openai_agents_scavio-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f325a98383ce9b4d8d66865a8e24013354bcae5ff16fe707164ce00f37f33849
MD5 34e357d6827421dde2b9d13f30abc5da
BLAKE2b-256 4be8e8043399aa08099e23cdc3c99ebd1186809f26845b0bf00f93c31ba3efa4

See more details on using hashes here.

File details

Details for the file openai_agents_scavio-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for openai_agents_scavio-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 510cea33c7a32ee5327d92472527d185f849c3dab3a18634c2dc68a39ba8fe4f
MD5 5d35453ee00da01cea99ea527d0f3027
BLAKE2b-256 7925b7ef1166b34a088f2ceecbe0039ed80f6273e02194d2040d1b42997ca0ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page