{"id":28315,"library":"tavily-cli","title":"Tavily CLI","description":"CLI and agent tools for the Tavily API — search, extract, crawl, map, and research from the command line. Current version 0.1.2, requires Python >=3.10. Active development on GitHub.","status":"active","version":"0.1.2","language":"python","source_language":"en","source_url":"https://github.com/tavily-ai/tavily-cli","tags":["cli","search","web-scraping","llm","agent"],"install":[{"cmd":"pip install tavily-cli","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Core Tavily API client","package":"tavily-python","optional":false}],"imports":[{"note":"Wrong prefix; package uses 'tavily' not 'tavily_cli'","wrong":"from tavily_cli import TavilyClient","symbol":"TavilyClient","correct":"from tavily import TavilyClient"}],"quickstart":{"code":"import os\nfrom tavily import TavilyClient\n\nclient = TavilyClient(api_key=os.environ.get('TAVILY_API_KEY', ''))\nresult = client.search(query=\"Python typing best practices\")\nprint(result)","lang":"python","description":"Initialize client with API key from environment and run a search."},"warnings":[{"fix":"Set TAVILY_API_KEY environment variable or pass api_key directly.","message":"API key required for all endpoints. Missing key raises AuthenticationError.","severity":"breaking","affected_versions":"0.1+"},{"fix":"Pass max_results=N to search() to get more results.","message":"Search results are truncated to 5 by default; no warning if more results exist.","severity":"gotcha","affected_versions":"0.1.0-0.1.2"},{"fix":"Replace client.crawl() with client.extract().","message":"Function 'crawl' is deprecated in favor of 'extract' in v0.1.2.","severity":"deprecated","affected_versions":"0.1.2"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Set TAVILY_API_KEY environment variable with a valid key from https://app.tavily.com.","cause":"TAVILY_API_KEY not set or incorrect","error":"tavily.errors.AuthenticationError: API key is missing or invalid"},{"fix":"Wait and retry or upgrade your Tavily plan.","cause":"Too many requests in short time","error":"tavily.errors.RateLimitError: API rate limit exceeded"},{"fix":"Install 'tavily-python' and use: from tavily import TavilyClient","cause":"Importing from wrong module (tavily_cli instead of tavily)","error":"AttributeError: module 'tavily' has no attribute 'TavilyClient'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}