Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module adds an AI-powered chatbot to your website that can interact with visitors using your custom content. It supports various AI services and allows for customization of the chatbot's personality and responses.

Latest version supports Open AI, Google Gemini, Anthropic Claude and Mistral.

The AI Chatbot module provides a frontend chatbot block and acts as an AI agent for your website. It interacts with site visitors using your custom content/data. The module supports Open AI, Google Gemini, Anthropic Claude and Mistral. The AI prompt, context can be customized so that the AI agent just talks about your website/company and nothing else. Module supports configurable AI prompt, welcome message, agent name and more.

Features

- Configurable AI prompt and welcome message
- Configurable agent name
- AI works on your custom data context
- The module can use basic HTML formatting in context, which can be provided the custom data field like- 'strong', 'b', 'em', 'a', 'ol', 'ul', 'li', 'br', 'p'.
- The prompt can be configured/instructed to use basic HTML tags.
- Mobile-friendly frontend chat UI (fixed bottom-right)
- Open/Close chat window with smooth scroll
- Session persistence and reset functionality
- Caching of response for improved performance

Configuration

- Configure the AI API Settings (/admin/config/aichatbot/api)
- Configure the AI Prompt, Custom data (/admin/config/services/aichatbot-prompt)

Requirements

- AI Service (Open AI / Gemini / Claude / Mistral) API Key.

Installation

- Install as you would normally install a contributed Drupal module.

Frontend Block

The module provides a block titled "AI Chatbot".

- Go to: /admin/structure/block
- Place the block in a region (e.g., Header)
- The Chatbot block appears fixed in the bottom-right of the screen

Technical Notes

- Uses session to store chat history with 30-minute timeout
- Cache stores answers for 30 minutes using hashed question+prompt
- Module use your custom data context before calling AI service

Maintainers
Current maintainer:
Gaurav Kumar - https://www.drupal.org/u/gauravkumar

Activity

Total releases
6
First release
Jun 2025
Latest release
5 months ago
Releases (12 mo)
3
Maintenance
Active

Release Timeline

Releases

Version Type Release date
8.x-1.7 Stable Feb 1, 2026
8.x-1.6 Stable Oct 5, 2025
8.x-1.5 Stable Jul 19, 2025
8.x-1.4 Stable Jun 30, 2025
8.x-1.3 Stable Jun 24, 2025
8.x-1.2 Stable Jun 19, 2025