AI DeepChat adds an AI chatbot block to your Drupal site, built on the Deep Chat web component. Place it in the bottom corner of any page or as an Assistant button in the admin toolbar, and connect it to an AI Assistant, an AI Agent or your own chat processor.
From 1.6.x, the AI Chatbot lives here
The AI Chatbot module used to ship as a submodule of the AI module. From the 1.6.x branch, it is developed in this project, with its full history. The module machine name stays ai_chatbot, so existing blocks and configuration carry over. Please post chatbot issues in this project's issue queue.

Features
- Chat block: the AI Chatbot (DeepChat) block renders a Deep Chat window with a bot name, bot image, first message, loading message and optional user names and avatars.
- Placement: bottom right, bottom left, or an Assistant button in the admin toolbar that opens the chat as a side panel.
- Chat executors: each block picks a ChatProcessor plugin. This module includes the AI Assistant API Processor; AI Agents adds an AI Agent executor, and you can write your own.
- Streaming: responses can stream into the window as they arrive.
- Styles: ships with ChatGPT, Bard, Bing and Toolbar styles. Modules and themes can add their own YAML style files in a
deepchat_stylesfolder. - Reading and copying: optional copy icon under each answer, and an expand or full screen mode for long answers.
- Loading strategy: load the Deep Chat library on page load, when the browser is idle, or on first interaction, so visitors who never open the chat skip the download.
- Hooks: alter the Deep Chat settings, the buttons under each assistant message, and outgoing messages. See
ai_chatbot.api.php.

Pick a chat executor
|
Set placement and style
|
Installation
- Install the project with Composer:
composer require drupal/ai_deepchat - Enable the module:
drush en ai_chatbot - Set up an AI provider and create an AI Assistant at Configuration > AI > AI Assistants.
- Grant the Access DeepChat API permission to the roles that may chat.
- Place the AI Chatbot (DeepChat) block, choose a chat executor and an assistant, and restrict the block to the right roles.
The block calls your AI provider on every message. Limit it to trusted roles, and leave Disable CSRF Protection off unless you know why you need it.
Requirements/Dependencies
- AI, with its AI Assistant API submodule and at least one configured AI provider.
- Optional: AI Agents, for the AI Agent chat executor.
Related Modules
| Attachment | Size |
|---|---|
| block-settings-executor.png | 74.96 KB |
| block-settings-styling.png | 38.78 KB |
| chatbot-bottom-right.png | 73.16 KB |
| chatbot-toolbar.png | 120.03 KB |
Project information
- Project categories: Integrations
- Ecosystem: AI (Artificial Intelligence)
1 site reports using this module
- Created by roromedia on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.





