Download the PHP package gtstudio/module-ai-widgets without Composer
On this page you can find all versions of the php package gtstudio/module-ai-widgets. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gtstudio/module-ai-widgets
More information about gtstudio/module-ai-widgets
Files in gtstudio/module-ai-widgets
Package module-ai-widgets
Short Description AI-powered admin widgets for Magento 2. Provides the floating chat assistant and PageBuilder content generation backed by Gtstudio_AiAgents.
License BUSL-1.1
Informations about the package module-ai-widgets
Gtstudio_AiWidgets
AI-powered admin widgets for Magento 2. Provides a floating chat assistant on every admin page and an AI content generator inside PageBuilder HTML blocks.
Preview
AI Studio Ecosystem
Part of the AI Studio suite for Magento 2. See all modules:
| Module | Repository | Description |
|---|---|---|
| Gtstudio_AiConnector | module-aiconnector | Core AI provider abstraction |
| Gtstudio_AiAgents | module-ai-agents | Agent & tool orchestration, cron scheduling, execution log |
| Gtstudio_AiWidgets | (this module) | Floating admin chat widget + PageBuilder AI generator |
| Gtstudio_AiDataQuery | module-ai-data-query | Natural-language store analytics (privacy-first) |
| Gtstudio_AiKnowledgeBase | module-ai-knowledge-base | Document upload & RAG retrieval for agents |
| Gtstudio_AiDashboard | module-ai-dashboard | AI-powered KPI dashboard with ML insights |
What It Does
- Floating Chat Widget — a persistent chat panel in the Magento admin, powered by the
admin_assistantagent - PageBuilder AI Generator — an AI Generate button inside PageBuilder HTML blocks to create or rewrite content via the
page_builder_generatoragent - Token and cost estimation displayed in real time for every message
Requirements
- Magento 2.4.4+
- PHP 8.1+
Gtstudio_AiConnectorenabled and configuredGtstudio_AiAgentsenabledMagento_PageBuilder(bundled with Adobe Commerce; available as OSS extension for Community)
Installation
Setup
Admin Chat Assistant
- Go to AI Studio → Agents → Add New
- Set Code to
admin_assistant - Fill in Background, Steps, and Output Instructions to define the assistant's persona
- Save — the widget appears automatically for users with the
Gtstudio_AiWidgets::managementACL resource
PageBuilder Generator
- Create an agent with code
page_builder_generator - In PageBuilder, open any HTML block — an AI Generate button appears in the toolbar
- Type a prompt and click Generate; the result is inserted into the block
Extensibility
Swapping the agent used by the chat widget
The agent code is hardcoded as admin_assistant in AdminChatService. Override the service via DI preference to change this or add additional logic:
Customising the chat widget template
Override via standard Magento layout XML:
The default templates are in:
Adding token pricing for a custom model
Extend TokenCostService via di.xml — see the Gtstudio_AiConnector README for the full pattern.
ACL Resources
| Resource | Controls |
|---|---|
Gtstudio_AiWidgets::management |
Access to all widget features and the chat API endpoint |
All versions of module-ai-widgets with dependencies
magento/framework Version >=2.4.4
gtstudio/module-aiconnector Version >=1.0.0
gtstudio/module-ai-agents Version >=1.0.0