How ZLens works
Certified first. AI only when nothing fits, and it says so.
Most AI tools answer every question the same way, with the same confidence. ZLens looks for the most trusted answer first, labels what it finds, and shows its work.
The order every question follows
- CertifiedIs there a saved query your team certified that answers it? Then that is the answer: the same number, every time anyone asks.
- From MetricsCan your approved metrics and dimensions answer it? Then ZLens builds the answer from them.
- AI-generatedOnly when nothing fits does AI write SQL from your tables. The SQL is checked before it runs, the answer is labelled, and it is saved as a draft for review.
- No answerWhen nothing can answer safely, ZLens says so and why. It never dresses an unreviewed number up as a trusted one.
The checks AI-written SQL must pass
Before AI-written SQL runs, ZLens checks it against your project. The answer shows how many checks passed, and its details list each one.
- Uses only tables and columns the project lists
- Applies every value the question states
- Joins do not count rows more than once
- Shows names, not bare keys
- And when the SQL joins tables a certified relationship connects: joins certified tables on their certified keys
“How it was answered”
Under every answer, “How it was answered” opens with the outcome and the time it took, then each step in order, marked Done, Not used, Skipped, Failed or Not reached:
- Read the question: how ZLens understood it.
- Certified saved queries: whether one answers it.
- Semantic layer: whether metrics and dimensions could answer it.
- AI wrote SQL: used only when nothing more trusted could answer.
- Checked before running and Ran on the warehouse.
- Answer, or No answer with the reason.
Its tabs show the DQL, the SQL, the data used and every check.
From an AI answer to a certified one
- An AI-generated answer is saved as a draft saved query. When the same question comes back, ZLens reuses the draft and counts the repeats, so you can see what to certify first.
- Open the draft and read its SQL and its result.
- Certify it. For SQL that AI wrote, ZLens first asks you to confirm you reviewed it.
- Next time anyone asks, the answer is Certified.
No model yet?
ZLens drafts one from your warehouse: one table per business thing, joins from how rows are identified, names, and rules measured on the data. If you use dbt, it starts from your dbt project. Nothing is certified until a person accepts it.
Where it works
- ZLens for Snowflake: the same order and labels in your browser, inside your Snowflake account. More about the Snowflake app.
- Open source: in the browser, in Slack, and in your AI assistant through MCP (Claude Code, Claude Desktop, Codex and Cursor). Saved queries are files in your repo, reviewed and versioned like code.
Questions people ask
Which AI analytics tools label each answer as certified or AI-written?
ZLens labels every answer. Certified: a saved query someone on your team checked and certified, run exactly as certified. From Metrics: built from approved metrics and dimensions. AI-generated: new read-only SQL that AI wrote, checked before it runs and shown with its SQL.
What does ZLens do when the data can’t answer?
It says so and why, and runs no query. It never dresses an unreviewed number up as a trusted one.
How does an AI-written answer become certified?
It’s saved as a draft saved query. A person reads its SQL and result, checks it against the report people already trust, and certifies it. From then on, everyone who asks gets the certified answer.
Is this agentic or governed analytics?
Both. An AI agent does the analyst’s steps, and every answer says whether it rests on what your team certified. See agentic analytics on Snowflake and governed analytics on Snowflake.
How does ZLens compare with Snowflake CoWork and Cortex Analyst?
They are Snowflake’s own AI tools, and ZLens works beside them. It runs Claude through the same Cortex in your account, labels every answer, and checks an AI answer against your old report before anyone certifies it. See Snowflake CoWork vs Cortex Agents vs Cortex Analyst.
See it on your own data
Get ZLens for Snowflake free on Snowflake Marketplace, or try open source on your own machine.