Think X's "Grok", but in Drupal :)

Crux lets you summon an AI bot in Drupal by mentioning it in content or comments. It replies automatically with context-aware answers, summaries, or translations, making discussions smarter and more interactive.

Features

  • AI Mention Replies: Mention a bot user (e.g., @crux) in content or comments, and Crux will generate an AI-powered reply.
  • Thread-Aware Responses: If used in threaded comments, replies appear in the correct place in the conversation. If used in top-level content, replies appear as new comments.
  • Contextual Understanding: Crux reads surrounding content (e.g., the comment thread or node body) to generate more accurate and relevant replies.
  • Drush/Cron Triggered: Bots respond on a schedule, avoiding performance issues during live posting.

Use Cases:

  • Forum/Threaded comments on content
  • Community Q&A sites where users can summon an AI helper.
  • Knowledge-sharing platforms needing summaries of long discussions.
  • Multilingual communities where an AI translation bot can be mentioned on-demand.
  • Content-heavy sites that want to enrich discussions with auto-suggested context or related resources.

Installation / Usage

See the project README, but TL;DR -

  • Enable The module
  • Configure CKE Mentions filter on a text format to allow USER mentions (content requires comments enabled) - /admin/config/content/formats
  • Setup your AI Provider (i.e. OpenAI)
  • Configure your settings at /admin/config/ai/crux
  • Mention @crux in content or comments
  • Process the queue using drush queue-run crux_mentions_response (this should be done on a scheduled job)
Supporting organizations: 

Project information

  • Created by ivan zugec on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases