AI Chatbot based on Agent system 1.1.0

Created on 12 June 2025, 12 days ago

Problem/Motivation

In AI Agents 1.1.0 a new agent system have been added that is both more reliable and more importantly easy to build for site builders, instead of code heavy.

This is based on function calling, something that is introduced in AI 1.1.0 and something that providers have to implement in releases.

This also means that the assistant that handles the agents, can run function calling as an agent to be more reliable. We have built an alpha version tool that can test reliability of the agents for common tasks and it has gone up from ~80% with the old agent system to ~95% with the new. Testing system and tests can be found here: https://www.drupal.org/project/ai_agents_test β†’ (to be documented)

This will also introduce a system in AI Agents 1.2.0, where a new sub agent, like say a recipe for a Webform agent can be applied and be attached to the Drupal CMS assistants, meaning you can just apply the recipe and all of a sudden you can start asking and instruct questions around Webforms.

This MR will initially be set to draft so people can try it out and get a feel for it - we will see if we can get a version of the branch into Amazee and Drupal Forge with free credits, so people can give feedback.

I'm guessing its to late for 1.2.0 - if so we should create a contrib recipe to upgrade the assistant (if possible) and strive for 2.0.0.

Proposed resolution

  • Update the assistant configuration to use the new agent system.
  • Pin all the AI modules to 1.1.0+, except the AI Image Alt Text.

User interface changes

Configuration changes

✨ Feature request
Status

Active

Component

Track: AI

Created by

πŸ‡©πŸ‡ͺGermany marcus_johansson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024