DOSI uses Apache Ossie as its core model specification for execution. Warehouses, documents, and SQL and ETL provide the sources for a shared semantic model of metrics and ontology relationships, which supports agents, applications, and BI.
Semantic layer solution

A semantic layer for every way your team uses data.

A semantic layer defines business metrics, dimensions, and relationships once so people, BI tools, and AI agents use the same definitions. DOSI validates compatible Apache Ossie models and compiles supported metric queries into native warehouse SQL. Your team can review the definitions and inspect how results are produced.

Define business meaning once. Use it everywhere.

A semantic model brings business logic and its data mappings together. Give teams, BI tools, and agents a shared definition to work from as they ask different questions.

Datus StudioSemantic modelWorkflow illustration
Apache Ossie

Metrics

booked_revenueSUM((lines.gross_sales_cents-lines.discount_cents)*0.01)
order_countCOUNT(DISTINCT orders.order_id)
order_return_ratereturned_order_count*1.0/NULLIF(order_count,0)

Dimensions

citycustomers.cityString
categoryproducts.categoryString
delivered_atorders.delivered_atDate

Explore metrics and dimensions, business relationships, and source mappings in one model.

Your business definitions. Independent of your stack.

Capture business definitions from existing SQL, supported BI dashboards, and new requirements. Keep them in Apache Ossie, an open, vendor-neutral standard your team can review, maintain, and reuse.

Start with the work you already do.

Your SQL, dashboards, and new business questions already contain modeling knowledge. Datus Agent helps turn it into reusable semantic definitions.

Existing SQL

Extract from existing SQL

Use historical queries and SQL files as evidence. Capture reusable calculations, filters, dimensions, and source mappings in a semantic model.

Calculations, filters & grouping
Dashboard query logic

Build from BI dashboards

Start with selected queries from a supported BI dashboard. Recover the logic behind its charts and bring those definitions into a shared model.

Chart queries & source data
New business requirement

Model as you build

Describe a new business requirement. Work with Datus Agent to define datasets, relationships, and metrics alongside development, then validate the model.

Business requirements & live schema

Shared semantic definitions

  • Datasets
  • Metrics
  • Dimensions
  • Relationships

Draft with Datus Agent. Review definitions and validate the model before using it.

See the modeling workflow

Open definitions. Native execution.

Apache Ossie is the core specification behind DOSI’s semantic execution. DOSI reads compatible Ossie models, validates their definitions, and compiles semantic queries into native SQL for your configured warehouse.

Select a stage to see its role.

1 / 4
Shared definitions

Start with reviewed definitions drawn from your SQL, dashboard queries, or new business requirements. Keep datasets, dimensions, metrics, and relationships together in a compatible Ossie model.

MetricsDimensionsRelationships

Start Datus with your existing business definitions.

Use your reviewed Ossie model as a starting point in Datus. Give teams and agents an open, vendor-neutral semantic layer to build on.

Get Started Free

Apache Ossie (incubating) is the open specification. DOSI is licensed under Elastic License 2.0. Datus Agent is open source.

Business context your team can review and evolve.

Bring the knowledge in your warehouses, documents, SQL, and ETL into a shared modeling workflow. Datus Agent helps draft definitions; your team uses Datus Studio to inspect, refine, and verify them.

Initialize project context from the connected data source and selected SQL or documents.

Datus StudioModeling workspaceWorkflow illustration

Initialize Project Context

Reverse-engineer docs from your SQL. Read-only — no database writes.

2 selectedWorkspace selections and uploads are combined.

Northstar
1Choose Source2Confirm & Run

One semantic model for BI, applications, and AI agents.

Make reviewed definitions available where your team works. Choose the supported interface that fits each consumer.

northstar_premier.yamlExcerpt
version: 0.2.0.dev0semantic_model:- name: northstar_premier  # …  datasets:  - name: customers    source: northstar_living.dim_customer    primary_key:    - customer_id    # …  metrics:  - name: booked_revenue    expression:      dialects:      - dialect: ANSI_SQL        expression: SUM((lines.gross_sales_cents-lines.discount_cents)*0.01)  # …
Apache Ossie Semantic model
DOSISemantic execution

BI & analytics

SQL & results
Metabase
Superset
Tableau

AI agents

MCP
Claude Code
Codex
Datus Agent

Applications

REST / Python
Python
JavaScript
Datus Studio

When to choose DOSI

Choose DOSI when you want an independently usable runtime for compatible Apache Ossie definitions, inspectable SQL, and interfaces your agents can call. Evaluate the model, connector, and integration path together.

Reviewed 4 November 2026 against primary documentation. This compares runtimes and distinguishes their hosted services; it is not a performance benchmark.

Selection criteria
Selection criteriaDOSICube Core / CubeMetricFlow / dbt Semantic Layer
Model formatCompatible Apache Ossie YAML / JSON, with documented DATUS extensions.Cube semantic models: measures, dimensions, joins, and access rules.Semantic models and metrics declared in dbt YAML.
DeploymentUse DOSI directly in Datus Studio through the commercial Datus platform, or run the CLI or semantic API server independently.Self-host Cube Core; managed deployment is available in commercial Cube.Local MetricFlow; hosted service layer through the dbt platform.
InterfacesCLI, MCP, and REST; inspect compiled SQL or request execution.SQL, REST, and GraphQL data APIs.MetricFlow CLI; GraphQL, JDBC, and Python SDK through the hosted Semantic Layer.
ExecutionCompiles to the selected dialect; a configured, supported connector executes the query.Queries connected sources and can serve pre-aggregated data through its caching layer.Generates SQL from metric definitions; the hosted service dispatches queries to the data platform.
What to checkSpec / extension compatibility, connector coverage, and your BI integration path. Portability does not imply federation.Model migration, pre-aggregation freshness, and operational requirements for your deployment.Supported adapters, dbt project dependencies, and which interfaces require the hosted service.
LicenseElastic License 2.0. The open Ossie specification does not make DOSI open-source.Cube Core backend: Apache 2.0; client: MIT. Commercial Cube has separate terms.MetricFlow: Apache 2.0. Hosted service and APIs have separate commercial terms.
Primary documentation

Inspect the execution path before you adopt it.

Start with a representative model and query from your team. Review the definitions, inspect the generated SQL, and compare executed results with your agreed calculation.

Warehouse portability means reusing compatible definitions with the appropriate source mappings and dialect. It does not mean that one query automatically joins data across warehouses. BI consumption also depends on the chosen API or adapter; model compatibility is not a native BI connector.

FAQ

Questions about your semantic layer

How does a semantic layer differ from a semantic model?

A semantic model records business definitions, including datasets, dimensions, relationships, and metrics. A semantic layer makes those definitions usable by consumers. In Datus, DOSI validates compatible Apache Ossie models and compiles supported metric queries into SQL, while interfaces make that functionality available to teams, applications, and agents.

Where does DOSI execute a semantic query?

DOSI validates the compatible model and compiles the requested metrics into native SQL. The configured warehouse executes that SQL against its data. Your team can inspect the generated query and source mappings, while CLI, REST, Python, or MCP interfaces provide access to the resulting data.

What can I reuse when I change warehouses?

Compatible Apache Ossie definitions can be reused while DOSI compiles queries for a supported target dialect. Check connection settings, source mappings, SQL expressions, and feature support for the new source. Sharing definitions across warehouses does not mean that a query automatically joins live data from several warehouses.

How can an AI agent use the semantic layer?

An agent can use MCP tools to discover metrics and dimensions, compile supported queries, and retrieve results from a configured source. Your team reviews the underlying business definitions and can inspect the generated SQL. The MCP guide covers connection details and the tools available to a client.

Is DOSI open source?

DOSI is licensed under Elastic License 2.0. Apache Ossie (incubating) provides the open specification for compatible semantic models, and Datus Agent is open source. The open model format and the software licenses apply to different parts of the system; they should be evaluated separately when choosing your deployment and workflow.

Explore the ideas. Put them into practice.

Ontology for AI agentsWhat is a semantic layer?Semantic model examplesApache Ossie and DOSI quickstartUse the semantic layer with Snowflake

Put shared business context to work.

Give your team and agents a semantic model they can understand, review, and reuse.

Get Started Free