AI Context

The governed context that makes AI agents trustworthy

Point an LLM at raw tables and it re-derives joins and metric logic on every prompt — so the same question returns different numbers. Cube's semantic layer gives the agent certified metrics, dimensions, joins, and access rules to select from, so answers are consistent, governed, and explainable.

Just like these companies:

Logo of Brex companyLogo of Wix companyLogo of Webflow companyLogo of Intuit companyLogo of Alcon companyLogo of Tubi companyLogo of Drata companyLogo of Freshworks company

Grounded, not guessing

Agents reason over governed definitions, not raw tables

Certified metrics, not re-derived math

The agent selects from metrics, dimensions, and joins that are already defined and tested — it doesn't reinvent the logic on each prompt.

The same question, the same answer

Because the definitions are fixed, revenue means revenue every time — no drift between two phrasings of the same question.

Explainable by construction

Every answer traces back to a named definition in the model, so you can see exactly how a number was produced.

Model Context Protocol

Reach any agent over MCP

One governed model, every agent

Claude, ChatGPT, Cursor, or one you build — each queries the same governed model as a tool over MCP.

No per-agent rework

Define metrics and joins once; every connected agent inherits the same context without a separate integration.

Bring your own agent

If it speaks MCP, it can query Cube — your custom agents get the governed model for free.

Governed end to end

Permissions are enforced before the query runs

Access rules live in the model

Row-level and column-level rules are part of the governed definitions the agent selects from, not bolted on afterward.

Scoped before execution

Permissions apply before the query runs, so an agent can't return a metric or a row a user isn't allowed to see.

Carries through to embedded

The same rules that govern internal answers scope what each end user sees in an embedded experience.

Extensible at query time

Governed definitions stay fixed while the agent builds on top

Ad-hoc calculations on a fixed base

The agent composes new calculations on top of certified metrics and dimensions, without redefining what they mean.

Governance and flexibility at once

The base stays trustworthy while the analysis stays open-ended — you don't trade one for the other.

One model, internal BI and embedded

The same governed context serves your team's analysis and the analytics you ship to customers.

Why it works

The semantic layer is what makes the AI useful

Brex grounds its embedded agentic analytics on Cube's governed model, so answers stay consistent and scoped to each customer. Brex chose Cube over the dbt Semantic Layer and LookML.

The semantic layer is what makes the AI useful.
Dan MeshkovStaff Software Engineer, Brex

Teams grounding their agents on Cube

Brex
The future of reporting isn't a chart, it's an insight. Large language models are becoming a commodity — the LLM is the engine, but the semantic layer is the map. A well-modeled ontology is the difference between 'I don't understand that question' and a correct, contextualized answer with a chart and a clear explanation. Cube gives us the foundation to make that real for every customer.
Dan MeshkovStaff Software Engineer, BrexRead the Story
DrataDrata

Cube becomes our single source of truth for metric definitions and powers everything from customer-facing dashboards to AI-driven quarterly business reviews. CSMs gain back dozens of hours each quarter, enabled by Cube’s semantic layer and agentic analytics.

WebflowWebflow

We integrated Cube Cloud smoothly with ClickHouse, leveraging both for fast query‬ execution while maintaining the abstraction needed for different teams to access data‬ without diving into database-specific complexities.‬

AlconAlcon

Without Cube, our data analysts might have to write 20 different queries for a single core business metric. With Cube, that metric is defined once in the data model, and every downstream tool uses that definition along with the associated calculation logic.

Start building with Cube