{"enrichment":{"faq":[{"a":"tavily-best-practices teaches you to integrate Tavily's search API into LLM agents for real-time web access. Start by setting up your API key as an environment variable, then use the Python SDK to instantiate a Tavily client. For agents, wrap Tavily search calls as tool functions that your LLM can invoke. The skill covers patterns for passing user queries to Tavily, handling search results, and feeding them back into your agent's context for decision-making.","q":"How do I use Tavily search API for AI agents?"},{"a":"tavily-best-practices explains that Tavily's extract method retrieves content from specific URLs you provide, ideal for RAG systems needing precise document content. Crawl discovers and processes multiple pages within a domain, useful for comprehensive site indexing. Extract is faster for targeted content; crawl is better for building knowledge bases from entire websites. Choose based on whether you need specific URLs (extract) or broad site coverage (crawl).","q":"What's the difference between tavily crawl vs extract?"},{"a":"tavily-best-practices includes framework integration examples for both LangChain and LlamaIndex. For LangChain, create a tool wrapper around Tavily's search or extract methods and add it to your agent's toolkit. LlamaIndex users can use Tavily as a data loader or query engine component. Both frameworks benefit from async patterns covered in the skill\u2014use Tavily's async client for parallel queries to avoid blocking your agent workflow.","q":"How do I set up tavily-best-practices for LangChain or LlamaIndex?"},{"a":"tavily-best-practices covers production patterns including API key management via environment variables, async client usage for parallel queries, appropriate search depth selection (basic vs advanced), and semantic instruction tuning for better results. Key practices: cache results when possible, set max_results to balance cost and quality, use domain filtering to narrow scope, and monitor query performance. Test extraction depth settings before scaling.","q":"What are best practices for production Tavily implementations?"},{"a":"tavily-best-practices teaches query optimization by adjusting the max_results parameter\u2014fewer results reduce latency and cost. Search depth (basic vs advanced) trades speed for comprehensiveness; use basic for quick lookups, advanced for research. Semantic instructions guide Tavily toward relevant content, reducing noise. For multi-URL extraction, leverage async patterns to parallelize requests. Monitor token usage and adjust depth based on your agent's context window limits.","q":"How do I optimize search queries and extraction depth for efficiency?"},{"a":"Yes. tavily-best-practices covers AI-powered research synthesis using Tavily for competitive analysis. Use the search API to gather competitor data, then extract detailed content from their sites. Combine results with LLM synthesis to generate insights. The skill shows how to structure semantic instructions for domain-specific queries, filter by site, and parallelize crawls across multiple competitors. This pattern scales for ongoing market monitoring.","q":"Can tavily-best-practices help with automated competitive analysis?"}],"shadow_tags":["llm-search-integration","real-time-web-data","agentic-workflows","content-extraction-api","semantic-crawling","rag-data-retrieval","ai-research-synthesis","web-scraping-framework","async-search-patterns","structured-data-extraction"],"summary_rewrite":"Learn to build production Tavily integrations with patterns for web search, URL content extraction, site crawling, and AI-synthesized research. Covers SDK setup, method selection, async patterns, and framework integrations for agents and RAG systems."},"files":[{"bytes":4439,"path":"content/tavily/skills/tavily-best-practices/SKILL.md","sha256":"4aa8365b366a85d4b3ae4a62d2f6c9382d7b1b5241a1e9eea11c10a315c15ddc","url":"https://skillfed.io/files/andrewyng/context-hub/tavily-best-practices/fe274761/SKILL.md"}],"id":"andrewyng/context-hub/tavily-best-practices","links":{"html":"https://skillfed.io/andrewyng/context-hub/tavily-best-practices","md":"https://skillfed.io/andrewyng/context-hub/tavily-best-practices.md","repo":"https://github.com/andrewyng/context-hub"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":1205,"language":"JavaScript","last_updated":"2026-05-31","license":"MIT","name":"tavily-best-practices","publisher":"andrewyng","stars":13862},"relations":{"similar":[{"id":"tavily-ai/skills/tavily-best-practices"},{"id":"family3253/skill/tavily-best-practices"},{"id":"itechmeat/llm-code/tavily"},{"id":"intellectronica/agent-skills/tavily"},{"id":"family3253/skill/tavily-crawl"},{"id":"gooseworks-ai/goose-skills/web-search-tavily"},{"id":"tavily-ai/skills/tavily-crawl"},{"id":"BenedictKing/tavily-web/tavily-web"},{"id":"tavily-ai/skills/tavily-map"},{"id":"gooseworks-ai/goose-skills/web-search"}]},"slug":{"owner":"andrewyng","repo":"context-hub","skill":"tavily-best-practices"},"version":"fe274761"}
