Install

Works with Drupal: ^10.5 || ^11.2

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 62.17 KB
MD5: d04eee62cdd5627a194aebd0894af69a
SHA-1: 5c9015cdc5488278a704d61a8fb0f370a263a8cb
SHA-256: 9d89e9767441641cbdc42de7fa4b2c822105280fee7610c226b2b090a80f0ae0
Download zip 77.7 KB
MD5: a1d4c31e9c40a490f8c21949c245af85
SHA-1: e728fef965aea8a02a53eed845149688140708c9
SHA-256: 81604ebc188b31ee6db07398663ccf1b743029d9c07674dfac9bc122262707fc

Release notes

Alpha for testing. LatentKit is now offered for every Drupal AI operation the connected app key's route can serve, not only chat.

Requirements

  • Drupal 10.5+ or 11.2+, Drupal AI 1.5 (verified on 1.5.2), Key 1.22+
  • LatentKit PHP SDK 0.1.0-beta.5

Install: composer require 'drupal/latentkit_ai:^1.1@alpha' 'latentkit/latentkit-php:^0.1.0-beta.5@beta'

New

  • Chat with system prompts, image attachments, tools and tool results, JSON schema output, and streaming.
  • Embeddings (single and batch), text to image, text to speech, and speech to text.
  • LatentKit appears in a Drupal AI selector only when LatentKit reports that the route can serve that operation.
  • The settings page lists each operation, the route that serves it, and what to change when it is unavailable.
  • Embeddings are bound to one embedding model. If the route's embedding model changes, indexing and search stop and ask for a re-index instead of mixing vectors.
  • Failures reach Drupal AI as setup, quota, rate limit, bad request or missing feature errors, with the LatentKit request ID.

Changed

  • Saving the settings no longer makes LatentKit the default chat provider. Defaults are opt-in.
  • Includes the security advisory coverage review changes made on 1.0.x.

Upgrading from 1.0.0-alpha1

No configuration changes are needed. The existing chat model and a saved chat default keep working.

Testing status

Covered by unit, kernel and browser tests on Drupal 10 and 11. Not yet tested end to end against a live LatentKit gateway with Drupal AI consumers such as AI Search; please report problems in the issue queue.

Created by: amirehman
Created on: 19 Nov 2026 at 05:03 UTC
Last updated: 19 Nov 2026 at 05:03 UTC
New features

Other releases