Magento 2 AI Agent - CoPilot for the Admin Panel

View Demo

Mirasvit CoPilot is a Magento 2 AI agent embedded directly in the admin panel. Ask questions, pull data, and take actions using natural language - no SQL or code required.

  • Built-in tools: SQL Reader, REST API, and GraphQL - all accessible through natural language.
  • Tool-level ACL: control which tools and endpoints each admin user can access.
  • Extensible: add your own REST API endpoints or custom tools for your workflows.
  • Conversational context: ask follow-ups, drill down, and refine results without starting over.
  • Magento guidance: explains modules, settings, caching, indexing, and errors - right in the admin panel.
New version is out: faster, smarter, broader coverage.

Optimized tool execution, more accurate SQL, and more use cases out of the box - from order operations and inventory checks to analytics and diagnostics.

Book a call to see CoPilot in action.
Hyvä
Magento Cloud
WCAG
Compatible with:
Community:
2.4.* - 2.4.8
Enterprise:
2.4.* - 2.4.8

Magento 2 AI agent tools: SQL, REST API, and GraphQL

CoPilot ships with a powerful set of built-in tools that cover every layer of your Magento store - from raw data to admin operations:

SQL Reader

Pulls numbers and selections straight from the database. Safe, read-only queries - validated before execution.

REST API

Interacts with Magento through its native API - read data, update statuses, create invoices, scoped by ACL.

GraphQL

Queries catalog, storefront, and CMS data through the Magento GraphQL layer.

The agent picks the right tool for each request automatically, chains multiple calls when needed, and merges the results into a single answer. You just ask the question.

How the Magento 2 AI Agent Works

1

Open the Chat

Click the CoPilot icon in the Magento admin panel. A chat sidebar opens right where you work - no tab-switching, no external apps.

How many orders yesterday?
2

CoPilot Picks the Right Tool

The agent reads your intent and decides whether to query the database, call the REST API, or use GraphQL. It chains several calls when the answer requires it.

SQL query
GET /V1/orders
3

See the Result

The answer appears right in the sidebar - a number, a table, or a confirmation that an action was completed. Context is preserved throughout the conversation.

4

Drill Down or Act

Narrow the results, ask a follow-up, or move from reading data to taking action - create an invoice, update a status - without leaving the conversation.

What Can You Do With CoPilot?

The same chat handles everything from a quick count to a multi-step operation. Here are real examples, grouped by complexity.

Instant Answers

One question - one number. No reports to open, no grids to filter.

How many orders yesterday?
What's today's total revenue?
Current stock level for SKU-123?

Filtered Selections

Find specific records by combining conditions - things that normally require custom grid filters or SQL.

Show orders without an invoice from the last week
Find products with inactive status not visible in the catalog
List pending_payment orders older than 3 days

Analytics Without BI

Aggregations, comparisons, and breakdowns that usually require a BI tool or a custom report.

RFM snapshot by customer for the last 90 days
Top SKUs by revenue for the last 30 days
Queries with zero results over the last 30 days

Take Action via REST API

Write operations through Magento's native API, limited by the user's role permissions.

Create an invoice for order #100025
Update the status of order #100030 to complete
Add a shipment tracking number to order #100042

Multi-Step Operations

CoPilot chains read → analyze → act in one conversation. You confirm before any write.

Find products with zero sales in 30 days, show me the list, then disable them
Check all orders from this week, find those without an invoice, and create invoices for them
Identify duplicate orders by email for the last 90 days and show the breakdown

Tool-level ACL: every role gets exactly the right access

Not every team member needs the same capabilities. CoPilot lets you control access at the tool level - assign each admin user the tools they're allowed to use.

A store manager might only need the SQL Reader for analytics. A fulfillment admin gets REST API access scoped to order and shipment endpoints. A developer gets all three tools plus custom ones.

REST API access follows Magento's native ACL: if a user doesn't have permission to an endpoint in Magento, CoPilot won't expose it either. This means your existing role configuration carries over - no extra setup, no gaps.

Extend CoPilot with your own tools

The built-in tools cover the most common workflows, but every store is different. CoPilot is extensible:

  • Add REST API endpoints. Expose additional Magento or third-party API endpoints to CoPilot - no code changes needed. The agent will use them alongside the built-in tools.
  • Implement custom tools. Build your own tools with custom logic and register them with CoPilot. The agent will discover and use them just like the built-in ones.

This makes CoPilot a platform, not just a feature. Your team's AI assistant grows with your store.

Help with Magento: settings, performance, and errors

When you need not just numbers but clarity on what to change and where, CoPilot answers right in the admin panel. It explains how Magento 2 modules and features work and shows where the relevant settings are.

It also highlights what to check for performance, caching, and indexing.

If errors appear, the Magento 2 AI agent decodes system messages and suggests steps to eliminate the cause.

Example prompts:

  • "How do I check indexer status, and what should I do if it's behind?"
  • "Where do I enable or configure caching to speed up the store?"
  • "What does this error in the logs mean, and how do I fix it?"

You get clear, actionable steps right in the admin panel: exactly the technical detail needed to complete the task, without unnecessary deep dives.

How the Magento 2 AI agent handles tasks for different roles

Everyone on your team gets the tools that match their role - controlled by ACL, powered by natural language.

Store owner/manager:

Quick access to key metrics without reports or SQL: how many orders yesterday, top SKUs by revenue for the last 30 days, spotting unusually large discounts. The result is decisions based on facts.

Store administrator:

Fewer manual checks. CoPilot finds orders without an invoice or shipment, surfaces pending_payment orders, and shows cron statuses and recent errors. With REST API access, admins can also take action - create invoices, update order statuses - right from the conversation.

Analyst:

Baseline cuts without BI: an RFM snapshot by customer, ABC by SKU, duplicate orders by email, and evaluation of subscribers without orders. CoPilot works with data from any installed modules that store information in the Magento database.

Marketer/content manager:

Visibility and search under control: queries with zero results over the last 30 days, products with inactive status or not visible in the catalog, and "heavy" search queries that slow down autocomplete.

Support and QA:

Diagnose incidents faster: see the current status of orders, get guidance on common errors and cron jobs, and identify problematic SKUs and attributes that break filters.

Developer:

Full tool access plus extensibility. Build custom tools, expose additional endpoints, and let the team self-serve - so developers focus on tasks that truly require code.

Security and access control

Tool-Level ACL

Assign each admin user the tools they're allowed to use. Managers get SQL Reader, admins get REST API, developers get everything.

Magento Role Permissions

REST API access is scoped to the endpoints permitted by the user's role. Your existing Magento ACL carries over - no gaps.

SQL Validation

SQL Reader operates in read-only mode. Every query is validated and write operations are blocked before execution.

JWT Authentication

Access is protected with JWT authentication. Every request is verified before the agent can interact with your store.

The result: your team works faster without compromising security boundaries.

What your business gains with a Magento 2 AI agent

  • Answer day-to-day questions about sales, orders, products, and customers without building reports or writing SQL.
  • Take actions - invoices, status updates, data changes - through natural language, scoped by ACL.
  • Give every role the right tools: read-only analytics for managers, operational access for admins, full capabilities for developers.
  • Spot order issues earlier and resolve them promptly.
  • Identify what to adjust in Magento 2 faster: indexing, caching, and performance.
  • Extend CoPilot with custom tools and endpoints as your workflows evolve.
  • Make the team more self-sufficient, reducing minor requests to developers.

Mirasvit CoPilot vs ChatGPT: what's the difference

CoPilot is not "just a chat." Here's a concise comparison:

Criterion Mirasvit CoPilot ChatGPT
Integration & context Inside the Magento 2 admin; a conversation with context tied to your store data Outside Magento; no access to store data or admin context
Tools & data access SQL Reader, REST API, and GraphQL - plus custom tools you add No access to your store database or APIs
Actions Can read data and take actions (invoices, status updates) through REST API, scoped by ACL Cannot interact with your store
Access control Tool-level ACL, Magento role-based permissions, JWT authentication Not integrated with Magento; data you type is sent to an external service
Extensibility Add custom tools and REST API endpoints for your specific workflows No store-specific extensibility
Purpose An extensible AI platform for analytics, operations, and decisions inside Magento 2 General-purpose assistant without operational data access

Conclusion: CoPilot is a working platform for analytics, operations, and decision-making inside Magento 2. ChatGPT is a universal assistant without access to your store.

Want to use your favorite AI tools like ChatGPT or Claude directly with your store data? See AI Agent Integration (MCP) for Magento 2.

No hidden fees
Lifetime access to source code
Access to free support and updates for 1 year
Updates and support prolongation - $90

Pay today $149 for the first year.

Then $90 for updates and support services per year.

Cancel anytime.

30 days money back guarantee
See it in action!
Pick a quick tutorial to learn about various aspects of this extension
Customer Reviews 1
Earn points for your review about this extension modules. $1 = 10 points
Write Your Own Review

check-circle You submitted your review for moderation.

Matthew
From United States
AI comes to Magento
Asking questions in plain English is super easy, and the answers come back instantly with the RIGHT data.
It saves our team a lot of time compared to running direct queries. Thanks a lot!
Manual & Support
Need more help?

Save time by starting your support request online and we'll connect you to an expert.

Frequently asked questions
chevron-down chevron-right

What is Mirasvit CoPilot?

An AI agent inside the Magento 2 admin panel. It uses built-in tools - SQL Reader, REST API, and GraphQL - to answer questions and complete tasks through natural language.

chevron-down chevron-right

What tools does CoPilot include?

Three built-in tools: SQL Reader for database analytics, REST API for store operations (orders, invoices, statuses, etc.), and GraphQL for catalog and storefront data. You can also add your own tools.

chevron-down chevron-right

How does tool-level ACL work?

You control which tools each admin user can access. A manager might only get SQL Reader for analytics, while an admin gets REST API access for operations. REST API endpoints follow Magento's native ACL - if a user doesn't have permission to an endpoint in Magento, CoPilot won't expose it.

chevron-down chevron-right

Can CoPilot take actions, or does it only read data?

Both. SQL Reader is read-only. REST API allows actions like creating invoices, updating order statuses, or managing products - scoped by the user's Magento ACL permissions.

chevron-down chevron-right

Can I add my own tools or endpoints?

Yes. You can expose additional REST API endpoints to CoPilot without code changes, or implement fully custom tools with your own logic. The agent discovers and uses them alongside the built-in ones.

chevron-down chevron-right

What languages can I use for prompts?

English first, and many other languages supported by the underlying AI (roughly 30–40), including French, German, Spanish, Italian, Portuguese, Polish, Ukrainian, Dutch, Chinese, Japanese, Korean, Arabic, and more.

chevron-down chevron-right

How is access secured?

Tool-level ACL controls which tools each user can access. REST API follows Magento's native role permissions. SQL Reader validates every query and blocks write operations. Access is protected with JWT authentication.

chevron-down chevron-right

Who is CoPilot for in my team?

Store owners and managers get metrics fast. Admins check order states, take actions, and monitor cron issues. Analysts run RFM/ABC and other cuts. Marketers spot zero-result searches and visibility gaps. Support and QA triage issues faster. Developers extend CoPilot with custom tools and handle fewer small tickets.

Reasons to choose Mirasvit
Client focusing and satisfaction

These are our primary. A major portion of our new clients come from referrals from our existing clients. Our professional team of developers, marketers and support staff have invested the best knowledge and experience in the field into our work, so you know you can come back to us again and again.

Remarkable support

One year free and high quality support. We go to great lengths to provide maximum satisfaction with every module you have purchased in our store. By helping you with installation, configuration, answering your every question, we do all our best to eliminate any possible problems.

Risk-free Investment

30-days money back guarantee. If you are not satisfied with our extension performance for any reason, we provide a full refund.

Constant improvements and upgrades

We constantly add new features to all our modules, and are always interested in hearing your opinion and implementing your suggested features in our future developments.

Comprehensive Documentation

We provide an expanded user guide for every aspect of our extension, so you can find answers for all your burning questions.

Unencrypted source code of our products

You can customize extension according to your needs and requirements.

Usability and Performance

The Module is easy to install and upgrade, just follow our step-by-step user guide. Additionally, the extension is ready to use with the Hyvä theme.

Ready for Magento Cloud

No core modifications. The extension has been tested in a Magento Cloud environment and is fully compatible with it.

Loading...