Skip to main content

Tavily

Velaclaw can use Tavily in two ways:
  • as the web_search provider
  • as explicit plugin tools: tavily_search and tavily_extract
Tavily is a search API designed for AI applications, returning structured results optimized for LLM consumption. It supports configurable search depth, topic filtering, domain filters, AI-generated answer summaries, and content extraction from URLs (including JavaScript-rendered pages).

Get an API key

  1. Create a Tavily account at tavily.com.
  2. Generate an API key in the dashboard.
  3. Store it in config or set TAVILY_API_KEY in the gateway environment.
Notes:
  • Choosing Tavily in onboarding or velaclaw configure --section web enables the bundled Tavily plugin automatically.
  • Store Tavily config under plugins.entries.tavily.config.webSearch.*.
  • web_search with Tavily supports query and count (up to 20 results).
  • For Tavily-specific controls like search_depth, topic, include_answer, or domain filters, use tavily_search.

Tavily plugin tools

Use this when you want Tavily-specific search controls instead of generic web_search. Search depth:

tavily_extract

Use this to extract clean content from one or more URLs. Handles JavaScript-rendered pages and supports query-focused chunking for targeted extraction. Extract depth: Tips:
  • Max 20 URLs per request. Batch larger lists into multiple calls.
  • Use query + chunks_per_source to get only relevant content instead of full pages.
  • Try basic first; fall back to advanced if content is missing or incomplete.

Choosing the right tool