Drupal is a registered trademark of Dries Buytaert
Search API Solr 4.4.0 Minor update available for module search_api_solr (4.4.0). Page Manager 8.x-4.0 Major update available for module page_manager (8.x-4.0). Trash 3.1.0-beta2 New beta version released for module trash (3.1.0-beta2). Commerce AutoSKU 3.0.1 Minor update available for module commerce_autosku (3.0.1). Custom Field 4.0.10 Minor update available for module custom_field (4.0.10). Alternative login ID & display names 2.0.12 Minor update available for module alt_login (2.0.12). EntityReference UUID 3.0.1 Minor update available for module entity_reference_uuid (3.0.1). LocalGov Publications Importer 1.1.1 Minor update available for module localgov_publications_importer (1.1.1). Configuration Override Warn 8.x-1.6 Module config_override_warn updated after 10 months of inactivity (8.x-1.6). Table Alternate Rows Module table_altrow crossed 1,000 active installs.

This module allows your site to search through indexed images using natural language prompts. It is designed to be used as a component by other AI agents to find relevant images as part of a larger task.

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_vector:^1.0@dev'
  2. drush recipe ai_recipe_agent_image_search_vector
  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 Vector and AI Image Classification recipes.

The image classification requires you to have setup a Chat provider like OpenAI, Anthropic, Ollama and a vector providers like Milvus or Postgres.

Note: The AI module has a default system setup, meaning that you can use this result on any Chat and Vector provider combination.

Activity

Total releases
2
First release
Jun 2026
Latest release
1 month 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 8, 2026