PHPackages                             graycore/magento2-cms-ai-builder - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. graycore/magento2-cms-ai-builder

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

graycore/magento2-cms-ai-builder
================================

A Magento 2 module that extends the CMS page editor with AI-powered content generation and visual preview capabilities.

v1.0.0(5mo ago)511↓33.3%2[6 issues](https://github.com/graycoreio/magento2-cms-ai-builder/issues)MITPHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0CI passing

Since Nov 24Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/graycoreio/magento2-cms-ai-builder)[ Packagist](https://packagist.org/packages/graycore/magento2-cms-ai-builder)[ GitHub Sponsors](https://github.com/graycoreio)[ RSS](/packages/graycore-magento2-cms-ai-builder/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (11)Versions (4)Used By (0)

Graycore AI CMS Builder
=======================

[](#graycore-ai-cms-builder)

A Magento 2 module that extends the CMS page editor with AI-powered content generation and visual preview capabilities.

Important

The native renderer for Luma/Hyva themes is poorly test. Please help me test it and find bugs.

Warning

**This package is highly experimental and NOT production-ready.**

- Breaking changes may occur at any time without notice
- API stability is not guaranteed
- Data loss or corruption may occur
- Security vulnerabilities may exist
- No support or warranty is provided

**Use at your own risk.** This package is intended for testing, evaluation, and development purposes only. Do not use in production environments or with critical data.

[![An image of the editor in the Magento admin panel](guides/assets/editor-in-ui.webp)](guides/assets/editor-in-ui.webp)

 [**daff.io**](https://www.daff.io/) | [**Youtube Demo**](https://www.youtube.com/watch?v=LcudrwsT_gk) | [**Daffodil Demo**](https://www.youtube.com/watch?v=LcudrwsT_gk)

Overview
--------

[](#overview)

This module adds an AI-powered visual editor to Magento 2's CMS pages, allowing content managers to:

- Generate page schemas from text prompts using OpenAI
- Preview content in real-time using an Angular-based renderer
- Store and serve dynamic content via GraphQL and standard theme like Luma

Features
--------

[](#features)

- **AI Schema Generation**: Convert text prompts into structured component schemas using OpenAI GPT-4
- **Visual Editor**: Split-pane editor with prompt input and live preview
- **Component Registry**: Configurable component system for defining available UI components
- **GraphQL Integration**: Schemas automatically available via GraphQL for frontend consumption
- **Custom Element Support**: Preview uses Angular web components (custom elements)

Installation
------------

[](#installation)

1. Download the package:

```
composer require graycore/magento2-cms-ai-builder
```

2. Configure the package:
3. Enable the module:

```
bin/magento module:enable Graycore_CmsAiBuilder
```

Customizing the Editor
----------------------

[](#customizing-the-editor)

You can replace the default Angular editor with your own implementation by configuring custom script paths in your module's `etc/config.xml`:

```

                Vendor_Module/js/custom-editor/polyfills.js
                Vendor_Module/js/custom-editor/main.js

```

These scripts should be built as an Angular app following the documentation from the `@daffodil/content` admin editor guide (WIP).

Known Problems
--------------

[](#known-problems)

These are problems that I know exist, and would really love help with:

- The model's UI output is fairly bland and lacks context about the store.
- The model's responses are fairly slow (high latency)
- When I'm interacting with the model, if I cancel a request the whole UI freezes (this is a side effect of Magento's session-locking=, try `disable_locking`)
    - When I save a page while the model is responding, the UI waits to save until the model has finished its last response.
- It doesn't generate links, buttons, or forms fields.

License
-------

[](#license)

See [LICENSE](./LICENSE)

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance57

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

165d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cede4d8ff3624bd4e509cebd8a3da9abada797eb8e0737c6db26097fce82e67e?d=identicon)[damienwebdev](/maintainers/damienwebdev)

---

Top Contributors

[![damienwebdev](https://avatars.githubusercontent.com/u/9029654?v=4)](https://github.com/damienwebdev "damienwebdev (24 commits)")[![olivertar](https://avatars.githubusercontent.com/u/959440?v=4)](https://github.com/olivertar "olivertar (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/graycore-magento2-cms-ai-builder/health.svg)

```
[![Health](https://phpackages.com/badges/graycore-magento2-cms-ai-builder/health.svg)](https://phpackages.com/packages/graycore-magento2-cms-ai-builder)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[baldwin/magento2-module-url-data-integrity-checker

Magento 2 module which can find potential url related problems in your catalog data

281773.3k](/packages/baldwin-magento2-module-url-data-integrity-checker)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[fredden/magento2-module-javascript-error-reporting

A Magento 2 module which captures JavaScript errors for later review by website administrators

3138.1k](/packages/fredden-magento2-module-javascript-error-reporting)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

126.8k](/packages/mage-os-module-inventory-reservations-grid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
