Drupal is a registered trademark of Dries Buytaert
Release: reCAPTCHA 8.x-3.5 Minor update available for module recaptcha (8.x-3.5). Release: Search API Solr 4.3.14 Minor update available for module search_api_solr (4.3.14). Release: ECA: Event - Condition - Action 2.1.22 Minor update available for module eca (2.1.22). Release: WebProfiler 11.2.1 Minor update available for module webprofiler (11.2.1). Usage Milestone: Entity Browser Module entity_browser crossed 100,000 active installs. Release: Editoria11y SI (SiteImprove) 3.0.0 Major update available for module editoria11y_si (3.0.0). Release: Diagnosis 1.0.3 Minor update available for theme diagnosis (1.0.3). Release: DiBa Integration 1.3.3 Minor update available for module diba_integration (1.3.3). Release: AlternativeCommerce NovaPoshta API 1.1.10 Minor update available for module basket_novaposhta (1.1.10). Module Revived: Commerce Currency Resolver 2.0.2 Module commerce_currency_resolver updated after 10 months of inactivity (2.0.2).

This module searches your site's indexed images to find those matching a description. It's intended to be used by other agents as part of a larger task, returning image names, media IDs, and URLs.

A read-only agent that searches the images indexed on your site and reports back the ones that match what you are looking for.

This is mainly a subagent. It is designed to be called by other agents or assistants that need to find images as part of a larger task, rather than to be used on its own. You can expose it directly if you want, but on its own it only returns plain results (name, media id and image URL) and never renders images as markup unless you explicitly ask it to.

Example things you can ask

  • Find images of a red car on a city street.
  • Show me photos that contain a dog and a beach.
  • Search for images tagged with "sunset" and give me their media ids.
  • Do we have any pictures of people riding bicycles?

Installation

  1. composer require 'drupal/ai_recipe_agent_image_search_db:^1.0@dev'
  2. drush recipe ai_recipe_agent_image_search_db
  3. Create/Resave all media images you have, to make sure they are classified and indexed.

Requirements

This builds on top of the AI Image Search for DB and AI Image Classification recipes.

The image classification requires you to have setup a Chat provider like OpenAI, Anthropic, Ollama

Activity

Tracked releases
2
Tracked since
Jun 2026
Latest release
2 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0 Stable Jun 10, 2026
1.0.x-dev Dev Jun 3, 2026