Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Trash 3.0.33 Minor update available for module trash (3.0.33). EOL Warning: Drupal 11.0 has reached end of life and no longer receives security updates. Release: Webform Analysis 2.0.0 Major update available for module webform_analysis (2.0.0). Usage Milestone: Focal Point Module focal_point crossed 1,000 active installs. Release: Opensolr Search 4.2.4 Minor update available for module opensolr_search (4.2.4). Release: Changelogify 1.8.0 Minor update available for module changelogify (1.8.0). Release: Opensolr Search 4.2.3 Minor update available for module opensolr_search (4.2.3). Release: Splidebox 2.0.13 Minor update available for module splidebox (2.0.13). Release: Canvas Studio Tailwind 1.0.0-beta1 First beta version released for module canvas_studio_tailwind (1.0.0-beta1). Release: Canvas Studio 1.0.0-beta1 First beta version released for module canvas_studio (1.0.0-beta1).

This module connects Drupal to Penpot designs, allowing the AI assistant to access design details like colors, typography, and text directly from a Penpot link. It provides tools to list Penpot pages and read specific design context for use within Drupal's AI system.

Read a Penpot design's context from server-side PHP and hand it to Drupal's AI Agent tools, so the Drupal Canvas AI assistant can work from the real design — its colours, typography, structure, and text — instead of a screenshot. Paste a Penpot link and the assistant reads it.

It is the Penpot counterpart of AI Figma, and works with Drupal Core and Drupal CMS alike — config-driven and theme-agnostic.

What it provides

  • the Penpot connection — a stored, read-only access token and a settings page, and
  • two AI Agent toolsPenpot: List Design Pages and Penpot: Read Design Context — that list a file's pages and read one page's colours, typography and verbatim text.

Under the hood it talks to the Penpot API (penpot.example.com/api/rpc/command/…) directly from PHP — the same design data the Penpot MCP server surfaces — using a stored access token, with no interactive login. The token lives in the Key module, encrypted at rest via Easy Encryption.

Quick start

  1. composer require drupal/ai_penpot and enable the module.
  2. Create a Penpot access token (Your account → Access tokens). Self-hosted instances must enable the enable-access-tokens flag.
  3. At Configuration → AI → AI Penpot, set your Penpot instance URL, paste the token into the Penpot Key, and click Test Penpot connection.
  4. Add the two tools to your Canvas AI agent, open the Canvas editor's AI panel, and paste a Penpot link.

Documentation

https://project.pages.drupalcode.org/ai_penpot/ — Installation, Configuration, and the AI Agent tools reference.

Requirements

  • Drupal ^11.2
  • AI (Drupal AI) and AI Agents
  • Key and Easy Encryption
  • A Penpot instance (Penpot Cloud or self-hosted) and a Penpot access token

Related

Works with any AI Agent on any AI Assistance page — the Drupal Canvas AI Agents and any other AI Agent.

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
2
Tracked since
Jul 2026
Latest release
1 month ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.0-alpha1 Pre-release 11 Jul 15, 2026
1.0.x-dev Dev 11 Jul 15, 2026