Tavily was acquired by Nebius for $275M in Feb 2026. For new procurements wanting vendor-independent default, Scavio is a drop-in. This walks the migration.
Prerequisites
- Existing Tavily-based LangChain code
- Scavio API key
- 50-query golden set
Walkthrough
Step 1: Install langchain-scavio
Pip-installable LangChain integration.
pip install langchain-scavioStep 2: Replace TavilySearchResults import
Drop-in shape.
# Before:
# from langchain_community.tools.tavily_search import TavilySearchResults
# tool = TavilySearchResults(api_key=...)
# After:
from langchain_scavio import ScavioSearchTool
tool = ScavioSearchTool(api_key=os.environ['SCAVIO_API_KEY'])Step 3: Swap API key in env
TAVILY_API_KEY → SCAVIO_API_KEY.
# .env
SCAVIO_API_KEY=...Step 4: Keep prompts as-is
Output JSON shape is similar.
# If you parsed Tavily's flat results array, map to scavio.organic_results.Step 5: Map /extract pattern
Tavily extract → Scavio /api/v1/extract.
# requests.post('https://api.scavio.dev/api/v1/extract', headers=H, json={'url': url})Step 6: Optional: add Reddit / YouTube / Amazon endpoints
Bonus surface.
# Reddit: json={'platform': 'reddit', 'query': '...'}Step 7: Validate against 50-query golden set
Compare top-N results vs Tavily baseline.
# For each query: compare results; flag drift.Python Example
# Migration time: <30 min for a small project.JavaScript Example
// Same shape in TypeScript.Expected Output
LangChain code on Scavio with vendor-independent API key and validated golden set.