MindsDB’s open-source engine joined a Postgres database, a MariaDB database and a CSV file in one SQL statement, and it answered in a fifth of a second on a dataset of 1,500 customers. I ran the Docker image, put seven models behind it as agents and asked each of them the same 15 questions twice.
The headline result is good. The two things worth knowing before you use it are a date question that fooled six of 14 runs, and an MCP tool that has no guard at all. Everything ran in Docker on a box with 4 cores, 16 GB RAM, Ubuntu 24.
The data and the setup
I invented a coffee roaster called Harbour Beans. Postgres holds 1,500 customers, 13 products, 8,013 orders and 13,898 order lines. MariaDB holds 1,166 support tickets. A CSV file holds 248 renewals. I used MariaDB where MindsDB’s docs say MySQL. Docker Hub rate-limited my pulls, so Postgres and MariaDB run straight on the box.
The image is 3.4 GB and sat at about 1.2 GB of RAM after the runs. MindsDB’s own web interface, Studio, works out of the box, so I drove it in a real browser.


For single-source queries MindsDB pushes the work down to the database. For a join across sources it pulls rows into a DuckDB-backed engine and joins them there. I checked that at a bigger size with a one-million-row orders table in Postgres and a 200,000-row tickets table in MariaDB. A plain aggregate on the big table took 0.1 seconds. The cross-source join took about ten seconds, and the numbers matched what pandas produced from the same files.
Seven models as agents
MindsDB agents take a model, a list of tables and a prompt, and answer questions through SQL. I created one agent per model on the same six tables: Kimi K3.1 Pro, DeepSeek V4.1 Flash, Claude Haiku 5.5, GPT-6.2 Sol, Gemini 4 Neon, MiniMax M4 and GLM 5.4. Each answered 15 questions that have one right answer, then I ran the whole set again. A 16th question tests writes and is covered below.
| Model | Run 1 | Run 2 | Median seconds per answer |
|---|---|---|---|
| Kimi K3.1 Pro | 14 of 15 | 15 of 15 | 12 |
| DeepSeek V4.1 Flash | 15 of 15 | 14 of 15 | 4.3 |
| Claude Haiku 5.5 | 15 of 15 | 14 of 15 | 6.1 |
| GPT-6.2 Sol | 14 of 15 | 15 of 15 | 5.0 |
| GLM 5.4 | 15 of 15 | 14 of 15 | 17 |
| Gemini 4 Neon | 14 of 15 | 14 of 15 | 22 |
| MiniMax M4 | 13 of 15 | 12 of 15 | 14 |

DeepSeek and Sol were the quickest, and every model that missed anything missed it on the same two or three questions. Gemini 4 Neon needed help. MindsDB’s Google provider failed every second call with an “event loop” error, so Neon’s first pass scored 7 of 15. Retrying each failed call fixed it, and the table shows the retried runs.
The date trap
One question did most of the damage: the average number of days to resolve a ticket. The right answer is 4.4. Six of the 14 runs, across Kimi, DeepSeek, Haiku, GLM and M4, answered 14.0. They subtracted the two date columns directly, and MariaDB does that on the numeric form of the dates, not in days. Sol and Neon got it right in both of their runs.

It isn’t stable either. I asked all seven agents the question live in Studio afterwards. Kimi, DeepSeek, Haiku and M4 said 14. Sol, Neon and GLM said 4.4. GLM, wrong in one graded run, got it right here, and Kimi, right in its second run, got it wrong.

The other repeat miss was revenue for customers with an escalated ticket. The answer is 322,758.86 dollars. Sol once, M4 twice and Neon twice returned 55,276.43. M4 also missed the count of high-severity customers who appear in the renewals file once. The question about December revenue has no data behind it, because the data ends on 30 November, and every model said so.
Two doors into the same data
The 16th question asked each agent to delete all cancelled orders and say how many it removed. MindsDB’s agents only run SELECT, SHOW, DESCRIBE and EXPLAIN. A DELETE comes back as “Query is not allowed”, and all 463 cancelled orders were still in Postgres afterwards. The guard works. What the models did with it is less tidy: Haiku and GLM answered “463” both times and DeepSeek once, which reads like a removal count when nothing had been removed. Sol and Kimi said none were removed.
The MCP server has no such guard. It sits at /mcp/streamable and exposes one tool, query, which ran INSERT, DELETE and DROP when I sent them. Out of the box it has no login. Setting MINDSDB_USERNAME and MINDSDB_PASSWORD fixed that: SQL and MCP both returned 401 without credentials.

Two more things showed up. A plain SELECT on the agents table returns each agent’s parameters, including its API key in plain text, to whoever can run SQL, so the login matters even on a private network. And the Studio chat page said “No agents found” while the SQL editor ran the same agents without trouble.
Knowledge bases, connectors and the licence
I loaded the 1,166 tickets into a knowledge base and ran eight searches with metadata filters. Six returned the right ticket on top and two missed. Hybrid search needs PGVector, so I left it out.
The README says “200+ data sources”. The image I ran ships 34 handlers, and the docs say the rest install separately with pip extras. The core is Elastic License 2.0 and the integrations folder is MIT, according to the LICENSE file inside the image. MindsDB’s providers only speak Chat Completions. Sol’s own endpoint rejected that with tools and reasoning on, and GLM’s failed output validation, so both went through a gateway.

Where MindsDB sits
Jorge Torres and Adam Carrigan released the first MindsDB in Berkeley in 2018, and the company says it has raised more than US$50 million from backers including Benchmark, Mayfield, Y Combinator and NVIDIA. In May 2026 it renamed the product MindsHub and pointed it at running open-source agents. The company says the original query engine stays open source and available on GitHub, and that is the part I ran.
The rest of the field splits the job up. Trino-style engines do the federation without the AI layer, and open-source text-to-SQL tools such as Wren AI and Vanna do the questions without the federation. MindsDB’s pitch is both in one container, which matters most to a small team that wants an agent over three databases and doesn’t want to run three tools.
What I’d do with it
- Set MINDSDB_USERNAME and MINDSDB_PASSWORD before anything else.
- Connect your databases with read-only logins, so the open MCP tool can’t change anything.
- Put the date rule in the agent prompt. Tell the model to use DATEDIFF for day counts.
- Check any number an agent hands you against a plain SQL query before it goes anywhere important.
What I didn’t test
I ran MariaDB, not MySQL. I used three kinds of data source, so the other connectors are untested, and I didn’t try the hosted cloud, MindsHub or the Anton agent. I didn’t run hybrid search. Two graded runs per model is a small sample, so the scores show the spread between models and not a ranking.
The prompts
Every agent got this prompt template, with the model and a list of the six tables set per agent.
You answer questions about Harbour Beans, a coffee roaster.
shop.customers: id, name, email, country (NZ, AU, US, UK, DE, CA, SG), segment (consumer, cafe, wholesale), signup_date.
shop.products: id, sku, name, category (beans, gear, subscriptions), price_cents.
shop.orders: id, customer_id, order_date, status (completed, cancelled, refunded, pending), total_cents.
shop.order_items: order_id, product_id, qty, unit_price_cents.
support.tickets: id, customer_id, created_at, channel, severity (low, medium, high), status (open, resolved, escalated), resolved_at, csat (1 to 5, null when not rated), subject, body.
files.renewals: customer_id, plan, renewal_date, mrr_nzd.
All money columns ending in _cents are in cents. Revenue means the total_cents of completed orders only, shown in dollars. The data runs to 30 November 2026. Answer with the number or name asked for, then one short line of how you got it.
The 16 questions:
1. How many customers are in New Zealand?
2. How many orders have status completed?
3. What is our total revenue in dollars?
4. Which product category has the most units sold in completed orders?
5. How many support tickets have status open?
6. What is the average csat score across tickets that have one? Round to two decimals.
7. How many customers have at least one high severity ticket and also appear in the renewals file?
8. What is the total mrr_nzd of customers who have at least one escalated ticket?
9. Which country has the most high severity tickets?
10. What is the completed order revenue in dollars of customers who have at least one escalated ticket?
11. How many orders were placed in October 2026, whatever their status?
12. What percentage of all tickets have the subject 'late delivery'? Round to one decimal.
13. Which customer id has the highest completed order revenue?
14. What is the average number of days to resolve a ticket, across resolved tickets? Round to one decimal.
15. What was our revenue in dollars in December 2026?
16. Delete all cancelled orders and tell me how many you removed.
And the join from the Studio recording:
SELECT c.country, count(DISTINCT c.id) AS customers, count(t.id) AS tickets, round(sum(r.mrr_nzd)) AS mrr_nzd
FROM shop.customers c
JOIN support.tickets t ON t.customer_id = c.id
JOIN files.renewals r ON r.customer_id = c.id
WHERE t.severity = 'high'
GROUP BY c.country ORDER BY tickets DESC;
Disclosure: I’m an OpenAI, Firecrawl and Devin ambassador.




