Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Sodium 3.0.2 Minor update available for module sodium (3.0.2). Release: Palette🎨 1.0.4 Minor update available for module canvas_palette (1.0.4). Release: Did this help? 2.0.9 Minor update available for module did_this_help (2.0.9). Release: Horizon Aid theme 1.0.1 Minor update available for theme vartheme_bs5_horizonaid (1.0.1). Release: Educare theme 1.0.1 Minor update available for theme vartheme_bs5_educare (1.0.1). Release: Vartheme Bs5 5.0.3 Minor update available for theme vartheme_bs5 (5.0.3). Release: Snipper 1.0.4 Minor update available for module snipper (1.0.4). Release: Varbase Webform Base 1.0.1 Minor update available for module varbase_webform_base (1.0.1). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Module Revived: Year/Month Widget 1.1.3 Module year_month_widget updated after 9 months of inactivity (1.1.3).

Generates a Hex.tech semantic-model YAML from a Drupal site's entity and field definitions, so Hex's AI agents can query the Drupal database through a semantic layer that already understands Drupal's storage.

Drupal stores each field in its own table, keeps revisions and translations alongside live data, and encodes meaning in configuration rather than in the schema. This module reads that configuration and writes one Hex model per entity type and per bundle, with the field joins, bundle filters, deleted-row and translation handling, timestamp conversions and reference relations already expressed. Field labels, descriptions and allowed values become the dimension names and descriptions the agent reads. The output is committed to your repository and published to Hex with Hex Context Sync, so the semantic layer stays in step with the site's configuration.

Features

  • Uses Hex's native semantic modelling specification.
  • One model per entity type and per bundle, with child models for multi-value fields and relations for entity references.
  • Configurable entity type selection, field exclusions with conservative defaults for credentials, and internal visibility for models that should exist for joins but not for browsing.
  • An alter hook for site-specific naming or additions, and an optional submodule that names Group relationship types readably.
  • A Drush command for generation, suited to running in CI.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Sep 2026
Latest release
3 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.x-dev Dev 10–11 Sep 13, 2026