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(7mo ago)811↓85.7%3[6 issues](https://github.com/graycoreio/magento2-cms-ai-builder/issues)MITPHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0CI failing

Since Nov 24Pushed 6mo 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 today

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 77% of packages

Maintenance50

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

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

220d 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

1131.9M16](/packages/mollie-magento2)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[zwernemann/module-withdrawal

Magento 2 EU Withdrawal Button Module - Adds a withdrawal/revocation button for orders in compliance with EU Directive (EU) 2023/2673

244.8k2](/packages/zwernemann-module-withdrawal)[baldwin/magento2-module-url-data-integrity-checker

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

282822.9k](/packages/baldwin-magento2-module-url-data-integrity-checker)[buckaroo/magento2

Buckaroo Magento 2 extension

32420.3k8](/packages/buckaroo-magento2)

PHPackages © 2026

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