본문으로 건너뛰기
Skillpedia
웹 스크레이핑14k · #11277

tavily-best-practices

하는 일

이 스킬은 AI 도구를 위해 만들어진 웹 검색 서비스인 Tavily를 에이전트가 사용하는 방법을 가르쳐 줍니다. AI 앱이 실시간 웹 정보를 가져와야 하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓실시간 웹 검색 결과가 필요한 앱을 만들 때.
  • ✓특정 웹 페이지의 텍스트를 AI 작업 흐름에 가져오고 싶을 때.
  • ✓웹사이트 전체를 크롤링하거나 URL 목록을 얻어야 하는 경우.

스킬 링크

https://github.com/andrewyng/context-hub/blob/main/content/tavily/skills/tavily-best-practices/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/andrewyng/context-hub/blob/main/content/tavily/skills/tavily-best-practices/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“최근 양자 컴퓨팅 기사를 웹에서 검색하는 Python 코드를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 Tavily 클라이언트를 설정하고 검색, 추출, 크롤링, 맵, 리서치 방법 중에서 고르는 법을 보여 줍니다. 에이전트는 각 작업에 맞는 방법을 골라 사용합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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

from tavily import TavilyClient

# Uses TAVILY_API_KEY env var (recommended)
client = TavilyClient()

#With project tracking (for usage organization)
client = TavilyClient(project_id="your-project-id")

# Async client for parallel queries
from tavily import AsyncTavilyClient
async_client = AsyncTavilyClient()

Choosing the Right Method

For custom agents/workflows:

Need Method
Web search results search()
Content from specific URLs extract()
Content from entire site crawl()
URL discovery from site map()

For out-of-the-box research:

Need Method
End-to-end research with AI synthesis research()

Quick Reference

search() - Web Search

response = client.search(
    query="quantum computing breakthroughs",  # Keep under 400 chars
    max_results=10,
    search_depth="advanced"
)
print(response)

Key parameters: query, max_results, search_depth (ultra-fast/fast/basic/advanced), include_domains, exclude_domains, time_range

See references/search.md for complete search reference.

extract() - URL Content Extraction

# Simple one-step extraction
response = client.extract(
    urls=["https://docs.example.com"],
    extract_depth="advanced"
)
print(response)

Key parameters: urls (max 20), extract_depth, query, chunks_per_source (1-5)

See references/extract.md for complete extract reference.

crawl() - Site-Wide Extraction

response = client.crawl(
    url="https://docs.example.com",
    instructions="Find API documentation pages",  # Semantic focus
    extract_depth="advanced"
)
print(response)

Key parameters: url, max_depth, max_breadth, limit, instructions, chunks_per_source, select_paths, exclude_paths

See references/crawl.md for complete crawl reference.

map() - URL Discovery

response = client.map(
    url="https://docs.example.com"
)
print(response)

research() - AI-Powered Research

import time

# For comprehensive multi-topic research
result = client.research(
    input="Analyze competitive landscape for X in SMB market",
    model="pro"  # or "mini" for focused queries, "auto" when unsure
)
request_id = result["request_id"]

# Poll until completed
response = client.get_research(request_id)
while response["status"] not in ["completed", "failed"]:
    time.sleep(10)
    response = client.get_research(request_id)

print(response["content"])  # The research report

Key parameters: input, model ("mini"/"pro"/"auto"), stream, output_schema, citation_format

See references/research.md for complete research reference.

Detailed Guides

For complete parameters, response fields, patterns, and examples:

자주 묻는 질문

설치는 어떻게 하나요?

Python에서는 pip install tavily-python을, JavaScript에서는 npm install @tavily/core를 사용합니다.

어떤 키를 사용하나요?

클라이언트는 기본적으로 TAVILY_API_KEY 환경 변수를 읽습니다.

리서치 방법은 무엇에 쓰나요?

AI 종합 답변이 포함된 끝까지 정리된 조사 결과를 제공합니다. 완성된 답을 원하는 사용자에게 적합합니다.

상세 정보

작성자의 원본 설명

Build production-ready Tavily integrations with best practices for web search, content extraction, crawling, and research in agentic workflows, RAG systems, and autonomous agents

repo: andrewyng/context-hub

인기도

GitHub 스타
14k
순위
#11277
라이선스
MIT
업데이트
2026. 5. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬