Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Tavily

6 sites Security covered
View on drupal.org

This module provides integration with the Tavily AI service to perform web searches and generate either summaries of search results or lists of relevant links. It offers two AI Automator types that can take a search term and populate fields with summaries or links, making it easy to enrich content with AI-powered research.

Tavily is a service that can figure out context and search results for your search intent on a question or a search word.

Tavily is a module that currently have two things available for it. The one thing is a service where you can get summaries or link from the Tavily service for any third party module that would want to use it.

The other core feature is that it has two AI Automator types for the AI Automator module that can be found in the AI module. These makes it possible to take a search word and generate either summaries for that search word or get links with information for that search word. Like below.


Using AI Automator with Tavily and a summarize LLM

Note that version 1.0.x will be depracated with Drupal 11 and will only work with AI Interpolator, which has been superseded with the AI Automator module inside the AI module.

Features

  • Get up to 10 short summaries from 10 sources online that answers the question you ask.
  • Use the AI Automator to take a text field with a search word and fill link fields (to scrape).
  • Use the AI Automator to take a text field with a search word and fill string long or text long fields with summaries.

Requirements

  • Requires an account at Tavily. There is a free trial.
  • To use it, you need to use a third party module using the service. Currently its only usable with the AI Automator submodule of the AI module

How to setup with AI Automator

  1. Install the AI module.
  2. Install this module.
  3. Visit /admin/config/tavily/settingsand add your api key from your Tavily account.
  4. Create some entity or node type with a string field.
  5. Create either a Link or Long String/Long Text field.
  6. Enable AI Automator checkbox and configure it.
  7. Create an entity of the type you generated, fill in some search word and save.
  8. The screenshot will be filled out.

Use the service

This is a code example on how you can get information from 3rd party sources about "Why should I use Drupal?".

See https://docs.tavily.com/docs/tavily-api/rest_api for most of the configs available.

$tavily = \Drupal::service('tavily.api');
// Configure how you want it to run.
$tavily_config = [
  'search_depth' => 'basic,
  'include_answer' => TRUE,
  'exclude_domains' => [
    'https://www.drupal.org',
  ],
];
// Get answers in a json array.
$response = $tavily->search('Why should I use Drupal', $tavily_config);

Activity

Total releases
1
First release
Aug 2025
Latest release
10 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
2.0.0-rc3 Pre-release Aug 30, 2025