SQLCtx is an **open-source semantic runtime**. Define governed metrics natively or import the semantic models you already have, then query them consistently from SQL, the CLI, Python, HTTP, PostgreSQL clients, notebooks, BI tools, and AI agents.

## What You Get

- **Bring existing models**: import Cube, dbt MetricFlow, LookML, Power BI TMDL/DAX, Malloy, Rill, and other formats.
- **A governed contract**: metrics have one definition (aggregation, filters, grain, and access rules).
- **Automatic joins**: cross-model queries infer join paths from relationships (no `JOIN` keyword in semantic SQL).
- **Consistent aggregation**: metrics are aggregated based on the selected dimensions (see [How SQLCtx Works](how-it-works)).
- **Multiple runtimes and interfaces**: compile to warehouse SQL and consume results through semantic SQL, HTTP/Arrow, PostgreSQL wire, MCP, Python, TypeScript/WASM, and interactive explorers.

## What It Is Not

- Not an ETL tool or transformation framework (it runs *on top of* your warehouse).
- Not a traditional BI platform (it powers BI tools and includes lightweight exploration surfaces).
- Not a query builder that lets you write arbitrary SQL aggregations (you define metrics up front).

## Next

- [Quickstart](getting-started)
- [Choose Your Path](choose-your-path)
- [Import Existing Models](adapters)
- [How SQLCtx Works](how-it-works)
- [YAML Reference](yaml-reference)