Published

What to do when the MUI X AI Assistant service retires

The grid feature stays. MUI’s hosted service behind it shuts down at the end of 2026. Here is how to tell whether you depend on it, and how to choose what replaces it.

You have three options: turn the assistant off, run your own prompt processor, or point your route at a hosted backend. Each is right for some teams.

We make Gridsay, one of the hosted backends in option C.

What is changing, and what is not.

ChangesDoes not change
MUI’s hosted endpoint, https://backend.mui.com/api/v1/datagrid/prompt, stops answering at the end of 2026The 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, which says the service “shuts down at the end of 2026” (merged on 29 October 2026), and the current AI Assistant page of the MUI X documentation.

Find out whether you depend on it.

Three checks, in this order. If the first finds nothing, you never turned the assistant on or you already run your own backend. You are done.

  1. Search your code for backend.mui.com and unstable_gridDefaultPromptResolver. 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 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: the dashboard closes with the service.

Choose an option.

No grid vendor publishes how many people use these assistants, so go by your own numbers. 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 nearly every request was a filter (“open tickets from this week”), a filter-only search box on your own model call may serve them as well.
  • Who are the users? In a grid inside the product you sell, a missing feature is something your customers notice.

Then choose:

A. Turn it off

if few people used it, and they are your own staff.

B. Run your own

if you already run an LLM account, want full control of the prompt, or cannot send column definitions to another company.

C. Use a hosted backend

if you want the assistant working this month and would rather not maintain the prompt and the checks.

Option A: turn it off.

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

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. They lose the ability to ask for those things in a sentence. 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.

What the grid sends. A POST with a JSON body. context is a string containing a JSON array with one entry per column; examples is empty unless data sampling is on. Pivot-only columns derived from a date, such as its year or quarter, carry derivedFrom.

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. 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  }}

Plan for more than the model call:

  • Check every 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, and text in a number filter.
  • Keep the conversation. Follow-ups such as “only remote ones” need the earlier turns. Store each question and answer by conversationId, and make sure one user cannot continue another’s conversation.
  • Give the model today’s date. “Last month” means nothing without it.
  • Let your provider cache the columns. They are the same on every request from a grid, so put the instructions and the columns first in the prompt. 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.
  • Limit each user. If the route is reachable by your customers, one of them can spend your month’s model budget in an afternoon.
  • Test on real requests. Write down twenty requests your users actually make, check the grid state each one produces, and 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:

  • Is the format the same? Your route should not need to translate anything. Ask whether they test against the grid version you run.
  • What is stored, and for how long? Is there a way to store nothing?
  • Which model providers receive your data?
  • How are answers checked? What happens when a model names a column you do not have?
  • What limits exist? Per user, per key, a spending cap? What does a user see at the limit?
  • How do you leave? If the format is the grid’s own, leaving means pointing the route somewhere else.

Gridsay is ours. It accepts the same request and returns the same response format, tested against MUI X Data Grid Premium 9.18.0. For most apps the switch is two lines in one server route.

See the two-line switch 

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, so the model can match “Acme” to the right column. Those are real cell values: customer names, amounts, email addresses. They reach your backend and its model provider. If your columns hold personal or confidential data, leave sampling off or write column descriptions good enough that the model does not need examples.

Your backend may send more than the grid does, so ask. 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:

Deploy at least a week before the deadline, then remove MUI’s key from your environment variables. On 1 January, ask the assistant one question in production.

Going with a hosted backend?

Try Gridsay on your own grid before the deadline. The trial is 7 days on Pro 20, and nothing is charged during it.