Stable.Tested against version 9.18.0.
Your users type. Your MUI X Data Grid answers.
Gridsay is the backend for the AI Assistant in MUI X Data Grid Premium. Your users say what they want to see, and the grid filters, sorts, groups, pivots or charts to show it.
Moving from MUI’s hosted service? For most apps the switch is two lines.
A question, and the grid after it.
Recorded in MUI X Data Grid Premium 9.18.0 on the fast tier, 2026-12-02. The rows are sample data.
people in Germany or France earning over 100k
- 1
filtercountryisAnyOf["Germany", "France"] - 2
filtersalary>100000
What your users can type.
- Filtering.
people in Germany or France earning over 100k: Shows only the rows that match both conditions. See filtering in detail.
- Sorting and top N.
Show the top 3 employees by rating, highest first: Sorts by rating, highest first, and selects the first three rows.
- Row grouping.
Group by region: Puts the rows into one group per region.
- Aggregation.
Show total salary by department: Shows a total for each department and one for the whole grid.
- Pivoting.
average salary by country, remote or not: Countries become rows, remote and office become columns, with the average salary in each cell.
- Charts.
Chart total salary by department: Fills the grid’s chart with the total salary for each department.
- Follow-up questions.
Now sort them by salary highest first: Keeps the filters from the question before and adds the sort.
It is right on our benchmark, and it refuses what it cannot do.
- Right in 469 of 472 runs on the default tier.
That is our benchmark.
- Requests that had to be refused.
In our test, a model called directly sometimes applied an answer anyway. Gridsay never did.
- Requests that depend on the grid.
Some depend on what the grid allows or on what the user changed by hand. Getting those right needs our browser helper.
Add it in three steps.
Create a key.
Start the trial and create a secret key in the dashboard.
Add a route on your server.
The route adds your key and forwards each question to Gridsay.
Point the grid at the route.
Turn on
aiAssistantand give MUI’s stock resolver the route’s path inonPrompt. This is the grid code:
'use client'; import { DataGridPremium, GridAiAssistantPanel, unstable_gridDefaultPromptResolver,} from '@mui/x-data-grid-premium'; function onPrompt(query: string, context: string, conversationId?: string) { return unstable_gridDefaultPromptResolver('/api/ai-assistant', query, context, conversationId);} // Keep your rows and columns; put this in your client component's return value.// With Next.js Cache Components, wrap that component in Suspense in its parent.<DataGridPremium rows={rows} columns={columns} aiAssistant onPrompt={onPrompt} slots={{ aiAssistantPanel: GridAiAssistantPanel }} showToolbar/>Check that it fits.
- It needs MUI X Data Grid Premium.
The AI Assistant is in
DataGridPremium. We test against version 9.18.0, with MUI’s stock resolver unchanged.- Three grid props are not sent.
MUI’s stock resolver does not send
disableColumnFilter,filterable: falseorvalueOptionswith a value and a label, so Gridsay’s answers do not take them into account.- A request it cannot apply gets a sentence back.
Your users read it in the AI Assistant panel.