Ideaticon

Services / Semantic layer

Semantic layers for AI agents

What your numbers mean, written once, where an agent reads it.

A semantic layer is where a company writes down what its numbers mean: each metric, each term and how the tables join, defined once, where people and AI agents both read it.

What we build, 1 of 4. The test
Every agreed question returns its reference figure on three asks out of three.

Every engagement has a written test like this, agreed before the work starts.

Where we have done it
Concelex: every term defined once, and questions answered in Romanian. Chess.com: one set of definitions behind experiments, dashboards and CRM.

The agent is the easy part. A current model writes competent SQL. It returns the wrong number anyway, because nobody told it what margin means here, which table is the real one, or that an open month is different from a closed one.

We write that down once, in the platform you already own, and prove it with your own questions. The same work is called agentic analytics, a metric layer or a context layer. The test is the same under every name: the right figure on every ask.

When to call us

  • You bought Genie, Cortex Analyst or a copilot, and nobody trusts the numbers it returns.
  • Two teams report the same metric and the figures differ.
  • Finance and operations ask the data team the same twenty questions every month.
  • Your warehouse has thousands of tables and no agreed place where margin is defined.

What we take on

Certify a small surface
A few facts and dimensions with declared measures, each reconciled to its source of record. There is no table per question.
Write each definition once
On the column or measure the agent actually reads, with the synonyms your people use. Prompt text holds behaviour only, and it gets shorter over time.
The things, as well as the numbers
Where agents act on contracts, projects or bids, we model those too: what each one is, and how one leads to the next.
The interface your people will use
Databricks Genie, Claude writing SQL, or both. We test them on your questions and let the scores decide.
A test you can rerun
A fixed set of questions in your users’ own wording, each asked three times, with reference SQL run fresh for every answer. The figure decides whether an answer passes.
Honest answers
An open period is modelled apart, and the answer says it is open. A question outside the data is answered as outside the data. Every figure states the load it reflects.

How it runs

  1. Collect the questions Real ones, from the people who will ask them, in their words.
  2. Certify the tables Reconcile each one to the system of record before anything reads it.
  3. Write the definitions One per term, with the synonyms people actually use.
  4. Test Every question three times. Fix the layer, then run the whole set again.
  5. Roll out by group Named users first. Watch the misses and feed them back into the test.

Proof

The write-ups.

Questions

About the semantic layer.

Is a semantic layer the same as an ontology?

They overlap. A semantic layer defines the numbers: each metric, and how the tables join. An ontology also describes the things a business is made of, such as contracts, projects and bids, how they relate, and what an agent may do with them. Palantir built its platform around one, and Databricks shipped one for Genie in 2026. We build the semantic layer for every client, and model the things where agents act on them.

Is this agentic analytics?

Yes. Agentic analytics lets AI agents answer business questions directly from governed data. A person asks in plain language, an agent writes and runs the query against certified tables, and the answer returns with its figures and the definitions behind them. The semantic layer is what makes those answers right.

Should we use Genie, Cortex Analyst, or Claude writing SQL?

Start with where the data lives. Genie reads Unity Catalog and its metric views. Cortex Analyst reads Snowflake semantic views. A general model such as Claude writes SQL against any warehouse, from the definitions you give it. All three are text-to-SQL, and any of them returns a wrong number where a term is undefined. So we write the definitions first, then run the same question set against each candidate, three asks a question, and let the figures decide.

Why does our AI assistant give different numbers than our dashboards?

The two read different definitions. A dashboard’s number was fixed by whoever built it: which table, which filter, which join. The assistant works the number out again on every ask, from table and column names, and may choose differently. Put the definition in one place that both read, and they agree. Until then the assistant is guessing, and it does not always guess the same way twice.

How do you know the answers are right?

Each question in the test set has an expected figure taken from the system of record. An answer passes only when its figure matches on every ask. A well-worded answer with the wrong figure fails.

Can an AI agent query a warehouse with 100,000 tables?

It should not have to. An agent needs a handful of certified tables. Databricks’ own guidance for Genie is five tables or fewer, with a limit of fifty. A warehouse with a hundred thousand queryable tables has a modelling problem, and a catalogue will not fix it.

How to test a text-to-SQL agent on your own data →

Contact

Start with the problem.

Tell us what needs to change. If you can, add what you run today, the date that matters, and how you will know it worked. Teo replies within 48 hours.