lowob

What Is a Semantic Layer (Shared Definitions for AI)?

A semantic layer is a shared set of business definitions, such as revenue, active client or qualified lead, that every report, person and AI agent reads the same way. In data teams it is software that maps business terms to the tables and calculations underneath. For a commercial team it starts more simply: a handful of written definitions, each with an owner. Without one, two agents asked the same question can give two confident and different answers.

Gateway 0ToolingContextRecordReasoningGateway 1Gateway 2Gateway 3
Where this piece sits in The Build Order: the context layer.

What a semantic layer means

Every company has terms that mean different things to different teams. Finance counts revenue when it is invoiced; sales counts it when the contract is signed. One team calls an account "active" if it bought this year, another if anyone has spoken to it this quarter. People resolve this in conversation; an agent does not. It picks whichever definition it finds first and presents the answer with the same confidence either way.

A semantic layer removes the choice. It is the part of the context layer that fixes meaning. dbt Labs' MetricFlow, which powers the dbt Semantic Layer, defines semantic models, entities, dimensions and metrics in YAML. Metric logic is written once, committed to version control, reviewed by data and business teams as the single source of truth, and queried by every connected tool.

ElementWhat it fixesCommercial example
EntityWhat a thing is, and how records joinAn account is the parent company, not each subsidiary
DimensionHow results are slicedRegion, segment, source, quarter
MetricHow a number is calculatedNet revenue retention, on a stated formula
DefinitionWhat a term means in words"Qualified" means budget, owner and timeline confirmed
OwnerWho can change itHead of revenue operations

Why it matters for AI

Agents answer questions by turning words into queries. Shared definitions make a measurable difference to how often they get it right. Juan Sequeda, Dean Allemang and Bryon Jacob tested GPT-4 on enterprise questions over an insurance company's SQL schema in 2023. Asked directly against the tables, it answered 16% correctly. When the same data was described through a knowledge graph that carried business meaning, accuracy rose to 54%. The authors work at data.world, a data-catalogue vendor, so treat the result as vendor research on a single domain. The model had the same data in both tests; what changed was whether the business meaning was explicit.

The industry is moving towards a common format. In September 2025, Snowflake, Salesforce, dbt Labs and others launched the Open Semantic Interchange to standardise how semantic models are defined and shared between tools. In 2026 it entered the Apache Incubator as Apache Ossie, a YAML-based specification. IT Brief reported in July 2026 that the coalition had grown from 17 founding partners to more than 50 organisations. For a buyer, the point is portability: definitions in an open format survive a change of tool.

How to start without a data team

A 20-to-500-person firm rarely needs semantic-layer software on day one. It needs the definitions written down, agreed and read by every agent. Start with five.

TermTypical disagreementWrite down
Active clientBought this year, or engaged this quarter?One test, with a date window
QualifiedAny meeting, or budget and owner confirmed?The criteria, in order
Won and lostSigned, invoiced or paid? Lost, or stalled?The event that changes the stage
OwnerWho sourced it, or who manages it now?One named person per account
SourceFree text, or a fixed list?The list, and who can add to it

Give each definition an owner and a date. When a definition changes, record the change as a new version with its reason, rather than editing the old text, so past reports can still be read on the terms they used. Then put them where every agent will read them, such as a pinned document or the CRM's field descriptions.

lowob takeaways

  • Meaning is part of the context layer. Connectors find the data; definitions decide what it means.
  • Shared definitions change answers. Benchmarks show large accuracy gains when business meaning is explicit.
  • Start with five terms. Active client, qualified, won and lost, owner and source.
  • Version the definitions. A changed term gets a new version and a reason, not a silent edit.

Common questions

What is a semantic layer in simple terms?

A single agreed set of business definitions and metric calculations that every report, dashboard and AI agent uses, so the same question gets the same answer.

Why do AI agents need a semantic layer?

Because they turn words into queries. Without fixed definitions they choose one silently, and two agents can return different numbers for "revenue" or "active clients" with equal confidence.

What is the Open Semantic Interchange (OSI)?

An industry initiative launched in September 2025 by Snowflake, Salesforce, dbt Labs and others to standardise semantic model definitions. It entered the Apache Incubator as Apache Ossie in 2026.

Do small companies need semantic layer software?

Usually not at first. Five written definitions, each with an owner and read by every agent, cover most commercial questions.

Sources and notes

What Is an AI Agent, and Where Does It Fit in the Brain?

Read next in The Build Order