Search and Retrieval APIs
Use Tavily with LangChain
The recorded connection between Tavily and LangChain is Official adapter package (langchain-tavily (TavilySearch, TavilyExtract, TavilyCrawl, TavilyMap)). This page records the connection and links the evidence behind it.
Pairing facts
Why this pairing
A web access API built for AI agents: search, extract, map, crawl, and research endpoints behind one key.
Best for: Agents that need current web facts with cited results, research workflows that combine search with page extraction, and teams that want one vendor for search and fetching.
Not ideal for: Fully offline or self-hosted stacks, and high-volume crawling without a credit budget.
Configuration
from langchain_tavily import TavilySearch
tool = TavilySearch()Source: https://docs.langchain.com/oss/python/integrations/providers/tavily. Examples use placeholders only.
Evidence
The LangChain Tavily provider page states the langchain-tavily package exposes Tavily Search, Extract, Crawl and Map endpoints as LangChain tools and requires TAVILY_API_KEY.
https://docs.langchain.com/oss/python/integrations/providers/tavily
Compatibility means the cited page documents the pairing. It does not mean AgentsUse benchmarked the combination or that every version behaves the same. Pin versions, start with a small job, and review the first outputs before widening access.
Watch for
- Metered by credits, so unattended crawl loops need spending controls.
- A managed service: no self-hosted fallback when Tavily is down or a source blocks it.