In short: An analytics agent can deliver a wrong number without anything failing, and the number looks right. So put a checkpoint between the agent and the user: hold the answer back in a staging layer, check it with tests that give the same result every time, and publish it only when the checks have passed. The checkpoint catches calculation errors, but the definitions and a domain expert have to catch that the agent has answered a different question from the one that was asked.
A financial controller asks the analytics agent for revenue by customer segment in the third quarter. The AI agent writes a query, runs it against the data and answers within a few seconds with a tidy table. The query joins the orders to the order lines, so every order with several lines is counted several times. Revenue comes out too high, and nothing in the answer shows it.
The error is taken from Simon Späti, a data engineer and technical writer. In the article Where AI Agents Belong in Data Engineering: The Correctness Layer from 7 July 2026, he shows a new version of an orders table that sums the order amount after such a join, and the dbt tests pass even though revenue comes out too high. “The danger isn’t only a crash or an error message, but a wrong number that didn’t break,” he writes.
An error that produces an error message gets fixed. A wrong number that looks right ends up in a report.
A better model does not remove the error
Even a good model can write a query that counts rows twice without anything failing. Späti concludes that the tools around the model matter more than the model: “The better your tooling, the less dependent you become on any single model.” He calls the tools a correctness layer, a layer that lets the team recreate an answer and trace where the number came from, whichever model runs underneath. We call it a checkpoint. In AI makes us faster. That’s not the problem. we wrote that we care more about practice and checkpoints than about any particular model, and Späti says the same.
The checks are deterministic: they give the same answer on the same input every time. A language model reading over a query can catch the error one time and miss it the next. A tool does not miss it when it works out whether two queries give the same result, compares two schemas or traces a column back to its source.
We believe the point holds whichever tool the team chooses. We have described the rest of the framework around the agent in The data team’s harness and context matter more than the model, and the checkpoint is the part of the harness that decides whether an answer gets out.
Write, audit, publish
Data engineering has solved a related problem before. The pattern is called Write-Audit-Publish: data is first written to a staging layer, audited there and released to users only when the checks have passed. Julien Hurault writes the newsletter Boring Data & AI, and he calls the pattern “blue-green deployment for data engineering”, after the way developers roll out a new version in a parallel environment before traffic is moved over.
In Write-Audit-Publish for Analytics Agents from 8 July 2026, Hurault applies the pattern to analytics agents. The write step stores the sequence of transformations the agent put together, so that the team can run it again. The audit step tests the result, and the user gets the answer only after the audit.

For the agent in the opening, this means that the table of revenue by segment stops in the staging layer. There, a test compares the total with revenue in a model the team has approved, and finds the discrepancy before the controller sees the number.
Hurault shows the steps with Xorq, an open-source framework built on Ibis. He also points out that the pattern already exists in tools many data teams have: schema swapping in dbt, views that are repointed in SQLMesh, and branches in Iceberg.
The agent is welcome to write the answer quickly. The number does not reach the report until it has passed the checks.
What does a checkpoint consist of?
We divide the checkpoint into four parts. The division is ours, but the content comes from Späti and Hurault.
1. A staging layer. The agent writes the answer to a place the user cannot see, and the answer stays there until the checks have run.
2. Replay. The checkpoint stores the queries and transformations behind the answer, so a colleague can run the calculation again and get the same number.
3. Tests that give the same answer every time. The tests check that keys are unique, that the number of rows matches before and after a join, and that the total matches a source the team has approved. The data team already uses the same tests and data contracts in its pipelines. Here we move them forward to the answer the agent gives.
4. Lineage and impact analysis. The checkpoint shows which sources and columns a number is built on, and what a change breaks downstream. Späti calls the latter a blast radius analysis, and he shows it with a column that changes unit from cents to dollars. The tool lists every model and report that uses the column before the change goes out.
What do Databricks, Snowflake and BigQuery have built in?
All three of the big data platforms now have an agent that answers questions about numbers, and all of them have parts of the checkpoint built in. The table shows what the vendors describe in their documentation in November 2026. The features change quickly, so check the links before you build on them.
| Databricks | Snowflake | BigQuery | |
|---|---|---|---|
| The agent | Genie Agents, formerly Genie Spaces | Cortex Analyst, where Snowflake recommends moving to Cortex Agents | Conversational analytics with data agents |
| Verified answers | Trusted assets: example queries and SQL functions that the owner of the agent has checked, and the answer is shown as verified | Verified queries, which the agent uses when the question is similar | Verified queries, which are run exactly as written when the question fits |
| Measuring against known answers | Benchmarks: test questions with known answers that the agent is measured against | Evaluations that run the SQL the agent writes, with the verified queries as the answer key | Prism, an open-source tool from Google |
| Staging and checks | Clones and expectations that can stop a pipeline when a rule is broken | Zero-copy clones and data metric functions | Table clones and assertions in Dataform |
| Lineage | Unity Catalog traces the queries on the platform down to column level | Agents are only traced at object level, not at column level | Knowledge Catalog, formerly Dataplex Universal Catalog, traces columns, but not for load jobs and routines |
All three let the team add verified queries for the questions asked most often. That is the simplest form of checkpoint: the agent uses a query a domain expert has checked instead of writing a new one. Databricks and Snowflake also have built-in measurement against known answers, while Google points to Prism, which the team has to run itself.
We have not found a ready-made solution in any of the three that holds the answer from the agent back in a staging layer until the tests have run. The building blocks exist, but clones and quality rules are made for the data in the pipeline, so the team has to assemble the checkpoint for the answer itself. Lineage also has gaps: Snowflake writes that agents are only traced at object level, so the team can see which tables and views the agent used, but not which columns the number is built on.
What does the checkpoint not catch?
A checkpoint checks whether the calculation is right, but it does not see whether the agent answered what the user meant. If someone asks which country has the most fraud, the agent may count the number of cases when the user meant the proportion, and all the tests pass. Hurault writes that correctness is not one thing, and suggests, among other things, letting another language model read the answer to find errors of interpretation.
We believe such errors usually come from a term that has not been defined, and then no test helps. The definitions belong in the semantic layer and in the data catalogue, as we describe in Metadata and ontology have become the foundation AI reads from and in The data catalogue is no longer optional.
A domain expert still has to read the answers that will be used for a decision. The checkpoint makes that reading shorter, because the expert does not have to hunt for rows that have been counted twice.
Where do you start?
Start with the answers that are used for decisions. Choose a few questions management asks often, and write down the correct answer for each of them: the right number for a period you have checked by hand. Run the agent against the questions every time the model, the prompt or the data model changes. The correct answers require no new technology, and they show how often the agent misses today. On Databricks and Snowflake you can add them as benchmarks or evaluations in the agent itself.
Then put the checks where the answers are produced. The team can run the tests it has in dbt, and the rules in the data contracts, against the agent’s result before it is shown. The guide to DataOps shows how the tests are run in the pipeline.
Finally, store the query behind every answer. That way, anyone who doubts a number can run the query themselves and see how the number was produced.
Would you like to discuss what a checkpoint for AI agents should look like in your organisation? Send us a message.

