Drupal is a registered trademark of Dries Buytaert
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)! 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). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

ai_chatlog

No security coverage
View on drupal.org

Overview

AI Chatlog provides a browsable conversation log viewer for Drupal sites
using the AI module ecosystem. It reconstructs human-readable chat transcripts from the events already captured by AI Observability — no extra logging configuration needed.

If your site uses AI assistants or AI agents to interact with users, this
module lets administrators review those conversations from a single place
in the Drupal admin UI.

Features

  • Conversation list — paginated overview of all AI conversations with user, assistant, message count, timestamps, and token usage.
  • Filtering — narrow by user, assistant, or date range.
  • Sortable columns — sort by last activity, start time, message count, or token usage.
  • Full transcripts — click any conversation to see the complete exchange history with per-message metadata (model, provider, tokens).
  • Session grouping — automatically groups related messages from the same user and assistant into a single conversation, even when the underlying system creates separate thread IDs per message.
  • Retention management — configurable automatic cleanup via cron (default: 90 days). Bulk delete option available.
  • Permissions — separate permissions for viewing
    conversations and administering settings/deletion.
  • Service API — other modules can inject the ai_chatlog.query service to access conversation data programmatically.

How it works

AI Chatlog is a read-only query layer. It does not
subscribe to any events or write any data. All conversation data comes from
the logger_logs database table populated by AI Observability.

The module queries log entries tagged with
ai_assistant_thread_* or ai_agents_runner_*,
pairs pre-request and post-response events by their provider request ID, and
renders the results as a chat-style transcript.

Supported assistant types

  • AI Assistant API assistants
    (ai_assistant_api)
  • AI Agents (ai_agents)

Requirements

  • Drupal 10.3+ or 11
  • Logger DB
  • AI (specifically the
    AI Observability submodule)

Installation

  1. Install the module with Composer or place it in
    modules/contrib/.
  2. Enable it: drush en ai_chatlog
  3. Grant the View AI conversations permission to the appropriate
    roles.
  4. Visit Reports > AI Conversations to start browsing
    conversation logs.

Activity

Total releases
1
First release
Apr 2026
Latest release
16 hours ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.x-dev Dev Apr 16, 2026