PHPackages                             tonsoflimes/magento-module-admin-grid-ai - 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. tonsoflimes/magento-module-admin-grid-ai

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

tonsoflimes/magento-module-admin-grid-ai
========================================

Magento2 module that adds AI capabilities to admin grids (filters, columns, mass actions) using OpenAI's-compatible API.

0.0.2(3mo ago)131MITPHPPHP ~8.2.0||~8.3.0||~8.4.0

Since Feb 4Pushed 3mo agoCompare

[ Source](https://github.com/tons-of-limes/magento-module-admin-grid-ai)[ Packagist](https://packagist.org/packages/tonsoflimes/magento-module-admin-grid-ai)[ RSS](/packages/tonsoflimes-magento-module-admin-grid-ai/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (1)

Admin Grid AI for Magento 2
===========================

[](#admin-grid-ai-for-magento-2)

A powerful Magento 2 module that enhances admin grids with AI capabilities, allowing administrators to interact with grid data using natural language. Search, filter, sort, and manage columns in any UI Component grid using AI-powered queries.

[![demo.png](docs/img/demo.png)](docs/img/demo.png)

Features
--------

[](#features)

- 🤖 **Natural Language Queries** - Use plain English to search and filter grid data
- 🔍 **Smart Filtering** - AI automatically applies appropriate filters based on your query
- 📊 **Column Management** - Show/hide columns through natural language commands
- 🔄 **Sorting Control** - Sort data using conversational instructions
- 🔌 **Multiple LLM Gateways** - Support for OpenAI, OpenRouter, and custom OpenAI-compatible APIs
- ⚡ **UI Component Compatible** - Works with all Magento 2 UI Component grids

Requirements
------------

[](#requirements)

- PHP 8.2, 8.3, or 8.4
- Magento 2.4.x or higher
- OpenAI API key or compatible LLM gateway

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

[](#installation)

Install the module via Composer using the meta package:

```
composer require tonsoflimes/magento-admin-grid-ai-meta

php bin/magento module:enable TonsOfLimes_AdminGridAI
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
```

Configuration
-------------

[](#configuration)

Navigate to **Stores** &gt; **Configuration** &gt; **tons of limes 🍋‍🟩** &gt; **Admin Grid AI**

[![Stores > Configuration > tons of limes 🍋‍🟩 > Admin Grid AI](docs/img/config.png)](docs/img/config.png)

### General Settings

[](#general-settings)

- **Enable Extension**: Set to "Yes" to activate AI features across admin grids

### LLM Gateway Configuration

[](#llm-gateway-configuration)

Choose your preferred LLM gateway type and configure the credentials:

#### Option A: OpenAI

[](#option-a-openai)

1. Set **Type** to "OpenAI"
2. Enter your **OpenAI API Key**

#### Option B: OpenRouter

[](#option-b-openrouter)

1. Set **Type** to "OpenRouter"
2. Enter **Base URI** (default: `https://openrouter.ai/api/v1`)
3. Enter your **OpenRouter API Key**

#### Option C: Custom Gateway

[](#option-c-custom-gateway)

Custom OpenAI-compatible API gateway (e.g. self-hosted LLM)

1. Set **Type** to "Custom Gateway"
2. Enter your **Custom Base URI**
3. Enter your **Custom API Key**

### Advanced Settings

[](#advanced-settings)

- **Max Options Size**: Limits the number of select options sent to the LLM (default: 300)
    - Helps optimize API requests for grids with large option sets

Usage
-----

[](#usage)

Once configured, the "Search by AI" feature will be available on all UI Component grids in the Magento admin panel.

### How to Use

[](#how-to-use)

1. Navigate to any admin grid (e.g., Products, Orders, Customers)
2. Look for the **Search by AI** interface in the grid toolbar
3. Enter your natural language query, such as:
    - "Show only enabled products"
    - "Display orders from last month"
    - "Filter customers from New York"
    - "Sort by price descending"
    - "Hide SKU and weight columns"
4. The AI will interpret your request and apply the appropriate filters, sorting, or column visibility changes

### Example Queries

[](#example-queries)

**Filtering:**

- "Show products with stock quantity less than 10"
- "Display orders with status pending"
- "Filter by customers who registered this year"

**Sorting:**

- "Sort by created date, newest first"
- "Order by price from high to low"

**Column Management:**

- "Show only name, SKU, and price columns"
- "Hide all attribute columns"

**Combined Actions:**

- "Show enabled products sorted by price, hide description column"

Limitations
-----------

[](#limitations)

- Only works with **UI Component grids** (not legacy grids)
- Query interpretation depends on LLM model capabilities

Support
-------

[](#support)

For issues, feature requests, or contributions, please visit:

- GitHub: [tons-of-limes](https://github.com/tons-of-limes)

Author
------

[](#author)

**tons of limes** 🍋‍🟩

---

Copyright © [tons of limes](https://github.com/tons-of-limes). All rights reserved.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance82

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Every ~0 days

Total

2

Last Release

95d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2610c524cd48e956a1113ee3ae5840978c07b836f8c6b60d9c10ea1c5222fa3f?d=identicon)[isxam](/maintainers/isxam)

---

Top Contributors

[![isxam](https://avatars.githubusercontent.com/u/1847495?v=4)](https://github.com/isxam "isxam (5 commits)")

### Embed Badge

![Health badge](/badges/tonsoflimes-magento-module-admin-grid-ai/health.svg)

```
[![Health](https://phpackages.com/badges/tonsoflimes-magento-module-admin-grid-ai/health.svg)](https://phpackages.com/packages/tonsoflimes-magento-module-admin-grid-ai)
```

###  Alternatives

[ethanyehuda/magento2-cronjobmanager

A module for managing scheduled cron jobs from magento's admin panel

3632.5M1](/packages/ethanyehuda-magento2-cronjobmanager)[magepal/magento2-customeraccountlinksmanager

Customer Account Links Manager for Magento2 allows you to quickly and easily remove unwanted links from customer account dashboard

4084.9k](/packages/magepal-magento2-customeraccountlinksmanager)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[scandipwa/menu-organizer

Scandiweb Menu Organizer for ScandiPWA

13230.5k2](/packages/scandipwa-menu-organizer)[magepal/magento2-form-field-manager

Customer and Address Form Fields Manager for Magento2

293.8k](/packages/magepal-magento2-form-field-manager)[spaggel/tooltip

Product attribute tooltips module for Magento 2

2431.5k](/packages/spaggel-tooltip)

PHPackages © 2026

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