Published

What to do when the MUI X AI Assistant service retires

The grid feature stays. The hosted service behind it ends with 2026. Here is how to tell whether you depend on it, and how to choose what replaces it.

MUI’s hosted service for the Data Grid Premium AI Assistant shuts down at the end of 2026. MUI announced it in the mui-x repository in October, the service no longer takes new subscriptions, and the AI Assistant documentation now tells you to use your own prompt processor in production. Little else has been said in public, so if your team relies on the feature, this may be the first time you are reading about it.

Start with what does not change. The AI Assistant is a feature of the grid, and the grid code in your app keeps working. The panel still opens, users can still type, and the grid still knows how to apply filters, sorting, grouping, aggregation, pivots and charts. What goes away is the server that turned a typed request into those settings. After the shutdown, requests your route forwards to MUI’s endpoint will no longer be answered.

So the first job is to find out whether you depend on that server. Search your code for unstable_gridDefaultPromptResolver and for backend.mui.com. If neither appears, either you never turned the assistant on or you already run your own backend, and you can stop reading. If they do appear, look at how much the feature was used. The number of questions your users asked last month, and what kind of questions they were, will decide which option makes sense.

You have three realistic options: turn the assistant off, run your own prompt processor, or point your route at a hosted backend. Each is reasonable for some teams. This guide explains what each one involves, what data leaves your app in each case, and how to test the result before the deadline.

A disclosure before we go on: we make Gridsay, one of the hosted backends. We have tried to write the guide so it is useful even if you choose another path.

What is changing, and what is not.

ChangesDoes not change
MUI’s hosted endpoint, https://backend.mui.com/api/v1/datagrid/prompt, stops answering after 2026-12-31The aiAssistant feature of Data Grid Premium
No new subscriptions to the hosted serviceThe assistant panel, suggestions and conversation history in the grid
MUI’s documentation now points to running your own prompt processorThe grid’s onPrompt prop, which is how any backend is connected
The request and response format the grid uses

The sources are MUI’s pull request in the mui-x repository that announced the shutdown (merged on 29 October 2026) and the current AI Assistant page of the MUI X documentation. Read both; they are short.

Find out whether you depend on it.

Three checks, in this order.

  1. Search your code. Look for backend.mui.com (often in an environment variable or a server route) and for unstable_gridDefaultPromptResolver (in the component that renders the grid). The resolver on its own proves nothing: it posts to whatever URL you give it. Follow that URL to your server route and see where the route forwards.
  2. Search your configuration. Look in your deployment’s environment variables for the key you used with MUI’s service. A key that is set in production is a dependency even if the code reads it under another name.
  3. Look at usage. MUI’s dashboard shows how many questions your users asked. Write the number down for the last full month; it is the input to every decision below, and the dashboard closes with the service.

Decide whether the feature is worth keeping.

No grid vendor publishes how many people use these assistants, so your own numbers are the only ones that count. Ask three questions:

  • How many users asked anything last month? A feature used by a handful of people may not be worth a new dependency.
  • What did they ask for? If you kept request logs, read a sample. If nearly every request was a filter (“open tickets from this week”), a simpler search box may serve them as well.
  • Who are the users? An internal tool for analysts and a grid inside the product you sell have different stakes. In the second case, a missing feature is something your customers notice.

If the answers are “few”, “mostly filters” and “internal”, turning it off or building something small is reasonable. If they are “many”, “varied” and “our customers”, keep it.

Option A: turn it off.

Remove the aiAssistant prop from your DataGridPremium, along with onPrompt and any aiAssistantSuggestions. Delete the server route that forwarded prompts and the environment variable that held MUI’s key. If you set allowAiAssistantDataSampling, remove it too.

TSX
  <DataGridPremium    rows={rows}    columns={columns}Removed:    aiAssistantRemoved:    onPrompt={onPrompt}Removed:    allowAiAssistantDataSampling  />

Your users keep every normal control: the filter panel, column menus, sorting, grouping, pivoting and charts all work as before. They lose the ability to ask for those things in a sentence, and any saved habit of doing so. Tell them before it disappears, not after.

Option B: run your own prompt processor.

This is the path MUI’s documentation now describes. You keep the grid’s onPrompt and point it at a route of your own that calls a model you have an account with. The model call is the easy part. Here is the rest.

What the grid sends. A POST with a JSON body:

  • query: the user’s sentence.
  • context: a string containing a JSON array, one entry per column, with field, type, description, allowedOperators and examples (empty unless data sampling is on). Pivot-only columns derived from a date, such as its year or quarter, carry derivedFrom.
  • conversationId: present on follow-ups.
  • options: privateMode, additionalContext, and metadata.referenceId for your own user id.
What the grid sends
{  "query": "top 5 customers in the EU by revenue",  "context": "[{\"field\":\"country\",\"description\":null,\"examples\":[],\"type\":\"string\",\"allowedOperators\":[\"contains\",\"isAnyOf\"]}]",  "conversationId": "optional",  "options": { "privateMode": false, "additionalContext": "optional", "metadata": { "referenceId": "optional" } }}

What the grid expects back. { "ok": true, "data": { … } }, where data has conversationId, select, filters, filterOperator, aggregation, sorting, grouping, pivoting and chart. Every field must be present. pivoting is {} when there is no pivot, never null. On failure, return { "ok": false, "message": "…" }: the stock resolver ignores the HTTP status and shows message to the user as it is, so write it for them.

What the grid expects back
{  "ok": true,  "data": {    "conversationId": "…",    "select": -1,    "filters": [{ "column": "country", "operator": "isAnyOf", "value": ["DE", "FR"] }],    "filterOperator": "and",    "aggregation": {},    "sorting": [{ "column": "revenue", "direction": "desc" }],    "grouping": [],    "pivoting": {},    "chart": null  }}

What to validate before you answer. The grid throws an error when an answer filters on a column it does not have, and models produce such answers. Check every column name against context, and every operator against the column’s allowedOperators. Also reject grid control columns such as __check__, two different functions on the same pivot field (the grid throws on that too), and text in a number filter. Decide what you do when part of an answer is invalid: dropping it silently gives the user half of what they asked for without saying so.

Conversation memory. Follow-ups such as “only remote ones” need the earlier turns. Store each question and answer by conversationId and send them with the next question. If several users share one route, make sure one cannot continue another’s conversation.

Relative dates. “Last month” means nothing to a model that does not know today’s date. Put the date in the prompt.

Cost and caching. Column definitions are the same on every request from a grid, so put the instructions and the columns first in the prompt and let your provider cache them. In our own tests with a warm cache, a question cost between $0.00015 and $0.0022 in model fees, depending on the model; a cold cache made the same question 5 to 11 times more expensive.

Limits. If the route is reachable by your customers, one of them can spend your month’s model budget in an afternoon. Count requests per user and stop at a number you choose.

Testing. Write down twenty requests your users actually make and check the grid state each one produces, then run them again after every change to the prompt. Section 8 has a starting list.

Option C: use a hosted backend.

A hosted backend takes the request your route already forwards and returns the format the grid expects. The change on your side can be as small as a URL and a key. Before choosing any vendor, including us, ask:

Our answers are on the Gridsay migration page and the data and security page.

What leaves your app, whichever backend you choose.

The grid’s own resolver sends the same data to any backend: the user’s sentence, your column definitions, and any context you added. It never sends your rows.

The exception is data sampling. With allowAiAssistantDataSampling on, the grid adds example values from each column to the column definitions, so the model can match “Acme” to the right column. Those examples are real cell values: customer names, amounts, email addresses, whatever the column holds. They then reach your backend and its model provider. If your columns hold personal or confidential data, either leave sampling off or write column descriptions good enough that the model does not need examples.

Your backend may also send more than the grid does. Ask, whichever you choose. Ours is listed on the data and security page.

Test before 31 December.

Whatever you choose, try these on your own grid before you deploy:

  1. A filter with two values: “customers in Germany or France”.
  2. A relative date: “orders from last month”.
  3. A top N: “the five largest deals”.
  4. A grouping with a total: “revenue by region”.
  5. A follow-up to the previous answer: “only the open ones”.
  6. Something your table cannot answer, such as a column you do not have. It should be refused with a message the user can read, and the grid should not throw.

Then check what a user sees when the backend is down: stop the route, or point it at a wrong address, and send a question.

Checklist.

Leave yourself at least a week before the deadline. The last days of December are a poor time to discover a problem, for you and for whoever you depend on.


Written by the Gridsay team. We will update this guide on 31 December 2026 with what actually changed.

Moving to Gridsay