Data Analyst Agent
Ask your business data a question in plain language. Get a checked answer with the query behind it, or be told the data cannot answer.
How it works
A chat model pointed at a database will always produce a number. The work is in knowing when that number is right, and in saying no when it cannot be.
Write down what your data means, once
A semantic layer: one file that names the tables and columns the agent may use, says in words what each one means, how the tables join, and what your business terms mean (what counts as revenue, as an active customer). You own the file. A column that is not in it cannot be read, and that is enforced by the database connection, not by a prompt.
A question goes in, in plain language
The agent first decides whether your data can answer the question at all, and which tables and columns it needs. Then it writes one SQL query, using your definitions, verified example queries from your layer, and the values as they are actually spelled in your data.
The query is run read-only, then checked
The connection cannot write: the database file is opened read-only and every statement that is not a read is denied by the engine. The result is inspected. An engine error, a read outside the layer or an empty result goes back for a correction, twice at most. Result rows are never sent to the model.
An answer with its query, or a refusal with its reason
An answer comes with the SQL, the tables and columns the database engine reports it read, and the assumptions the model made. If the data cannot answer, or no query survives the checks, you get a refusal that says why. Both go into a tamper-evident log.
Methodology reference
The published method this build is based on, and what it did in production.
Snowflake built Cortex Analyst, which answers business questions from a semantic model the data team writes, and turns away questions it cannot answer with SQL.
Semantic model + checked text-to-SQL · as reported by Snowflake Engineering Blog ↗
Referenced for methodology only. AimRank is not affiliated with, endorsed by, or a customer of these companies; each links to its own public source. Sources last checked between September and November 2026.
The Four Guarantees™ - this build
The scaffold wires all four in. The PoC proves them on your data, as of that day. Only Implementation keeps them true over time: watched, drift-checked, with recourse as the Build page defines it.
Measured value
Three numbers, frozen as a gate before the first run: how often the answer is right, how often it correctly refuses a question the data cannot answer, and how often it is right in all eight of eight runs. Measured on a public benchmark first, then on your own questions. It also has to beat a plain chat model given the same schema, or it has not earned its place.
Defensible
Every answer carries its query, the columns the engine read and the stated assumptions. Every question and its answer or refusal is appended to a hash-chained log: editing or removing a past record breaks the chain at a point the verifier names. An Annex IV draft is generated from the run, nine points in the statute's order, every gap marked.
Self-improving
The floor is built: it refuses when it cannot confirm an answer, and a change of model, prompt or setting changes the version every record is stamped with. The loop on top is engagement work, not in the repo: a corrected answer becomes a verified query in your layer and a test case, and the gate runs again before the change serves.
Yours & everywhere
The semantic layer is a YAML file in your repository. The model endpoint is yours: your own Azure OpenAI resource in your region, or another endpoint you name. Nothing is sent until you set its key. Full source. MCP tools (predict / explain / evidence / healthcheck) so your own agents can ask the data and get the same answers and the same refusals.
The numbers, sized honestly
Reference buyer: a Lithuanian or Baltic company with a database or a warehouse and no analyst on call, where the owner, the finance lead or the operations lead waits days for a number or goes without it. Reference run: 290 questions frozen before any model was called, on the 11 public databases of BIRD Mini-Dev (the October 2026 re-annotation), a public benchmark and not a client's data: 200 questions with a known right answer, 60 made unanswerable by withholding a column they need, and 30 asked of the wrong database. Each is asked 8 times. Verdict of 21 Nov 2026, with one open model hosted on OVH: the gate was not cleared. It answered 74.3% of the held-out questions correctly (95% range 68.9% to 79.6%), refused 84.9% of the unanswerable ones (77.6% to 91.9%) and was right in all eight runs on 68.6% (62.8% to 73.8%), against bars of 90%, 90% and 80%. The gate compares the lower end of each range with its bar. It beat a plain chat model given the same schema by 22.1 points (16.7 to 27.3). One model call that was shown the same semantic layer scored within 3.3 points of it, a gap the run cannot tell from zero: on this benchmark the semantic layer carried the gain, and the steps around the query added little.
Three ways to own it
| Tier | What you get | Price | |
|---|---|---|---|
| Scaffolding ★ | The full repo: the semantic layer format, the read-only executor that enforces it, the question-to-answer workflow with its refusal path, two baselines, the evaluation harness with the frozen gate, the hash-chained log, the Annex IV draft generator and the MCP server. It runs on a public benchmark so you can watch it work before your data touches it. It reads SQLite files today. | €790 | |
| PoC ★★RECOMMENDED | On an export of your data. We write the semantic layer for one subject area with the people who know it, collect the questions your team actually asks, including ones the data cannot answer, and measure the same three numbers on them. Code and the measurement report are yours. No accuracy guarantee at this stage, by design. | from €2,900verdict within one week of a usable export | |
| Implementation ★★★ | Production: wired to your database read-only, the layer maintained as your schema changes, corrections feeding the verified queries and the test set, the gate run again on every model or prompt change, a monthly report of answers, refusals and corrections. The agreed number (conservative) attaches here. | Customquoted after the PoC, with monthly assurance |
★ = engagement depth. PoC is the recommended path: quality proven on your data before production money. It runs on a static export of your data, with no live connection to your systems. The PoC carries no performance guarantee by design; the agreed number (conservative) attaches at Implementation, informed by the PoC report.
What goes to the model, and what does not
What we don't promise
Ready to see your own number?
Request the build: within 48h you get a personal reply with the value sized to your volume.
No commitment · reply within 48h · you choose the model endpoint