Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Tavily

4 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);

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Aug 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
2.0.0-rc3 Pre-release 10–11 Aug 30, 2025