Drupal is a registered trademark of Dries Buytaert
drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! linkit 7.0.15 Minor update available for module linkit (7.0.15). views_data_export 8.x-1.10 Minor update available for module views_data_export (8.x-1.10). linkit 7.0.14 Minor update available for module linkit (7.0.14). migrate_tools 6.1.4 Minor update available for module migrate_tools (6.1.4). diff 2.0.0 Major update available for module diff (2.0.0). masquerade 8.x-2.2 Minor update available for module masquerade (8.x-2.2). video_embed_field 3.1.0 Minor update available for module video_embed_field (3.1.0). bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7).

ai_providers_api

2 sites No security coverage
View on drupal.org

Central API for AI integrations without too much load. If all you need for your AI integration is:

  • selecting an AI provider
  • selecting a model
  • optionally adding additional parameters like max input tokens
  • using the API by just calling the configured AI provider plugin prompt() method and getting output
  • response streaming API,

this is the right place to be. Also a great place to learn AI integrations without overcomplicated code that can be an entry barrier.

AI integrations are simple: you give it instructions like it was a human, building too much APIs around it is like locking it in a cage and connecting it with artificial interfaces. The author of this module found out that giving it more freedom often yields better results. For example: if you need JSON output - tell it to output JSON instead of developing a "JSON prompt builder API". The only APIs that are actually needed are integrations of tools that use its output, for example - tell it to output a specific yaml structure and use that structure to create entities.

Let's not make rocket science out of it!

For now the module contains provider settings form, one plugin type, one plugin manager and AI reply JS streaming API so replies can appear word-by-word as being generated by LLMs. Hopefully it'll stay simple, every API that will be common for more integration modules is welcome here, UI probably not.

An alternative to the AI module package for developers that prefer to work on simple things.

Modules using it:

  1. LMS AI - AI integration for Drupal LMS

Activity

Total releases
5
First release
Mar 2026
Latest release
1 month ago
Release cadence
4 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
1.0.0-alpha4 Pre-release Apr 14, 2026
1.0.0-alpha3 Pre-release Apr 2, 2026
1.0.0-alpha2 Pre-release Mar 31, 2026
1.0.0-alpha1 Pre-release Mar 30, 2026
1.0.x-dev Dev Mar 30, 2026