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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

Requirements

Installation

Setup

Admin Chat Assistant

  1. Go to AI Studio → Agents → Add New
  2. Set Code to admin_assistant
  3. Fill in Background, Steps, and Output Instructions to define the assistant's persona
  4. Save — the widget appears automatically for users with the Gtstudio_AiWidgets::management ACL resource

PageBuilder Generator

  1. Create an agent with code page_builder_generator
  2. In PageBuilder, open any HTML block — an AI Generate button appears in the toolbar
  3. 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

PHP Build Version
Package Version
Requires php Version >=8.1
magento/framework Version >=2.4.4
gtstudio/module-aiconnector Version >=1.0.0
gtstudio/module-ai-agents Version >=1.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package gtstudio/module-ai-widgets contains the following files

Loading the files please wait ...