tavily-best-practices
Installation
Summary
Web search API for LLMs with real-time data access, content extraction, site crawling, and AI-powered research.
- Five core methods:
search()for web results,extract()for URL content,crawl()for site-wide extraction,map()for URL discovery, andresearch()for end-to-end AI synthesis - Supports Python and JavaScript SDKs with async clients for parallel queries and configurable search depth (ultra-fast/fast/basic/advanced)
- Crawl method accepts semantic instructions to focus extraction on specific content types; Map-then-Extract pattern available for targeted workflows
- Research method offers three model tiers (mini/pro/auto) with polling-based async execution, streaming support, and structured output schemas
- Integrates with LangChain, LlamaIndex, CrewAI, Vercel AI SDK, and other frameworks; supports Hybrid RAG patterns and project-level usage tracking
SKILL.md
Tavily
Tavily is a search API designed for LLMs, enabling AI applications to access real-time web data.
Installation
Python:
pip install tavily-python
JavaScript:
npm install @tavily/core
See references/sdk.md for complete SDK reference.
Client Initialization
Related skills
More from tavily-ai/skills
tavily-search
|
16.5Ksearch
Search the web using Tavily's LLM-optimized search API. Returns relevant results with content snippets, scores, and metadata. Use when you need to find web content on any topic without writing code.
11.9Ktavily-research
|
9.3Kresearch
Comprehensive research grounded in web data with explicit citations. Use when you need multi-source synthesis—comparisons, current events, market analysis, detailed reports.
6.6Ktavily-extract
|
6.5Ktavily-cli
|
6.3K