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). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). 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.

LLMs.txt AI Generator

1 sites No security coverage
View on drupal.org

This module automatically generates `llms.txt` files using AI, making your site's content discoverable by large language models. It extracts information from menus and meta descriptions, reformulates it into natural language, and allows for manual overrides.

Automatically generate llms.txt files for your Drupal site using AI. Makes your content discoverable by ChatGPT, Claude, Perplexity, Gemini and other Large Language Models.

Summary: AI-powered llms.txt generator. Extracts menus & meta descriptions, reformulates with AI into natural language. Makes your site understandable by AI...

Features

  • Menu extraction: Automatically pulls pages from your Drupal menus
  • Meta descriptions: Reads existing meta via Metatag module
  • AI reformulation: Transforms SEO text into natural language using AI module
  • Manual editing: Add or override any description
  • One-click generation: Creates llms.txt in a few minutes

Why use this?

Users increasingly ask AI questions instead of searching into the web. The llms.txt standard helps LLMs understand your site during conversations.

Post-Installation

Quick Start

  1. Go to Configuration > Content authoring > llms.txt AI Generator
  2. Write introduction text (2-3 paragraphs about your site)
  3. Select menus to include (Main navigation, Footer, etc.)
  4. Configure AI settings: Choose any AI provider configured in the AI module
  5. Review descriptions - add manual ones for pages missing meta
  6. Click "Generate llms.txt"
  7. Done! Your file is live at yoursite.com/llms.txt

Configuration

  • Content Sources: Select menus, set depth (3 levels recommended)
  • AI Settings: Choose provider AI
  • Manage Descriptions: Review all pages, add missing descriptions
  • Generate: Create and publish your llms.txt

Additional Requirements

Required

  • Drupal: 10.0+ or 11.0+
  • AI Module: composer require drupal/ai

Web Server Setup

Nginx: Add to your config:

location = /llms.txt {
  access_log off;
  try_files $uri @drupal;
}

Apache: Usually works out of the box.

  • Metatag (drupal/metatag): Highly recommended for automatic meta extraction. Without it, you'll need to add descriptions manually.
  • Pathauto (drupal/pathauto): Clean URLs for better links

Similar Projects

Module AI Integration Best For llms_txt_ai (this) ✅ Full AI reformulation Automated natural language llms_txt (Pronovix) ❌ Manual Full manual control llmstxt ❌ Manual Simple sites LLMs txt Exporter ❌ No AI Basic listing

Unique features: Only module using AI for natural language reformulation + menu-first approach + hybrid auto/manual editing.

FAQ

Do I need Metatag module?

Recommended but not required. Without it, manual descriptions needed.

Should I include all 1000 pages?

No! Select 20-50 key pages. Think "executive summary" not "full catalog."

Will this slow my site?

No. Generation is on-demand, not during page loads. Output is cached.

Technical

Data flow: Menus → Meta extraction → Manual editing → AI reformulation → llms.txt generation → Publish

Storage: Configuration via CMI (exportable), manual descriptions via KeyValue (lightweight, no DB tables)

Activity

Total releases
3
First release
Oct 2025
Latest release
6 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
0.0.3 Stable Jan 8, 2026
0.0.2 Stable Nov 13, 2025
0.0.1 Stable Oct 29, 2025