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 (Google included). Reddit and Instagram cost 2 credits. 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.1.tar.gz (7.5 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.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openai_agents_scavio-0.1.1.tar.gz
  • Upload date:
  • Size: 7.5 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.1.tar.gz
Algorithm Hash digest
SHA256 270e00556ade99b9e0d80e188b59d6903da1adac701a0e9cd4980153f45746f1
MD5 425e2474ac67105cb82511aed00496aa
BLAKE2b-256 61f21d61f2bc913c57ad8e2a7b56ff4f87a16980fc17e414c18b48340c272f76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for openai_agents_scavio-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc7c5439934a604d7ac79ef8db302f9bc0ddc48f5b0fa321914e725cbe290bd5
MD5 a627e5aea270e25985531ae686288b8e
BLAKE2b-256 a171f12475bfe90e0cd20bbb0c5f8db2596ae3beeed7c06a37eeb2592d2fd4fd

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