Skip to main content

llama-index-tools-scavio

PyPI version Python versions License: MIT

Scavio real-time search tools for LlamaIndex — Google, Google News, Reddit, YouTube, and Amazon as clean Documents, with one API key. A drop-in Tavily alternative and SerpAPI alternative for LlamaIndex RAG pipelines and agents.

Install

pip install llama-index-tools-scavio

Setup

Get a Scavio API key from the Scavio Dashboard (new accounts get 50 free signup credits, one-time, no credit card). Set SCAVIO_API_KEY or pass api_key= to the tool spec.

Usage

from llama_index.tools.scavio import ScavioToolSpec

tool_spec = ScavioToolSpec()  # reads SCAVIO_API_KEY

# Direct call — returns a list of llama_index Document objects
docs = tool_spec.search("best real-time search API for AI agents", max_results=5)
for doc in docs:
    print(doc.text, doc.metadata["url"])

Hand the tools to an agent:

from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI

agent = FunctionAgent(
    tools=ScavioToolSpec().to_tool_list(),
    llm=OpenAI(model="gpt-5.5"),
    system_prompt="You are a research assistant. Use Scavio for fresh web data.",
)
response = await agent.run("What are people on Reddit saying about Tavily alternatives?")

Tools

ScavioToolSpec exposes a curated subset of the Scavio API — the endpoints that map cleanly onto RAG Documents (each function returns List[Document]):

Tool What it does Credits
search Google SERP — real-time organic web results 1
news Google News — recent articles on a topic 1
reddit_search Reddit posts — community discussion and sentiment 1
youtube_search YouTube — videos, channels, playlists 2
youtube_video YouTube — full details for one video 1
youtube_transcript YouTube — transcript or timed subtitles 8
youtube_comments YouTube — top-level comments on a video 1
amazon_search Amazon — product listings 1

This is deliberately a subset, not the whole API. For full coverage — all 99 endpoints across Google, YouTube, Amazon, Walmart, Reddit, TikTok, TikTok Shop, Instagram, X, and LinkedIn — point any LlamaIndex agent at the hosted MCP server at mcp.scavio.dev, which exposes 99 tools with no install required.

Scavio vs Tavily vs SerpAPI

Scavio Tavily SerpAPI
Google SERP Yes No (web search only) Yes
Google News Yes No Yes
Reddit Yes No No
YouTube Yes No Yes
Amazon / Walmart Yes No Yes (add-on)
TikTok / TikTok Shop / Instagram Yes No No
X / LinkedIn Yes No No
Hosted MCP server Yes Yes No
LlamaIndex tool Yes Yes Yes

Migrating from Tavily

- from llama_index.tools.tavily_research import TavilyToolSpec
- tool_spec = TavilyToolSpec(api_key="tvly-...")
+ from llama_index.tools.scavio import ScavioToolSpec
+ tool_spec = ScavioToolSpec(api_key="sk_live_...")

  docs = tool_spec.search("your query")

Credits

Most calls cost 1 credit. YouTube search costs 2 and YouTube transcripts cost 8. Elsewhere in the API, Instagram costs 2-10 and LinkedIn 1-30. See scavio.dev/docs.

About Scavio

Scavio is a real-time search API built for AI agents — a unified API over Google, YouTube, Amazon, Walmart, Reddit, TikTok, TikTok Shop, Instagram, X, and LinkedIn that returns clean JSON. It is a cost-effective Tavily alternative and SerpAPI alternative with broader platform coverage. Learn more in the LlamaIndex integration docs.

Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_tools_scavio-0.1.1.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

llama_index_tools_scavio-0.1.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_tools_scavio-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9bd39860c0d47bf7df7e1f420ff40548b4377f2a01edea2a0869f87f4106ff91
MD5 cd80e2e3f2bc6444c5340f1545498311
BLAKE2b-256 d4e79a4595348e70f06b1b405a9a554bf7029fe915564fe8dee7f0bd027d305b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_tools_scavio-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f2cfcd47eb0f0e69d41f1f79b467e312ffdd4d2df8f650951ce7e78468ac059d
MD5 9fa591703d86dc0a622969c922bd2f4e
BLAKE2b-256 d4ee3d52f007fd52e588737414c59564cb507cc7ae30db80649a595595794908

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.0

2 files

0.1.2

2 files

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

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