Auto Ontology builds a governed business ontology from database metadata and serves it to agents via web UI, API, MCP, and CLI. It grounds text-to-SQL answers with certified terms, joins, and metrics.
Overview
Auto Ontology targets teams that need reliable analytics answers from LLM agents when data is spread across many systems with inconsistent definitions. It ingests catalog metadata, profiles tables, infers relationships, and compiles a semantic graph of concepts, column mappings, metrics, lineage, and expert certification.
A web frontend provides chat, catalog browsing, settings, and import/export compatible with Apache Ossie YAML. Backend services run ingestion and semantic compilation, store vectors in Postgres with pgvector, and drive a reasoning loop that retrieves terms, validates SQL against the catalog, and returns answers with SQL and step traces.
Quickstart uses Docker Compose against a sample Postgres database; you enable semantic compilation in settings and ask natural-language questions that resolve business terms to joins and queries. MCP exposes read-only tools such as check_answerable and ask_question for Cursor or Claude Desktop after user sign-in.
Connections support multiple SQL engines including Postgres, MySQL, Snowflake, Databricks, BigQuery, ClickHouse, Trino, DuckDB, and others. The stack is meant to complement existing semantic models while keeping definitions portable through Ossie.
Key features
- Metadata-driven ontology generation
- Semantic compilation and certification
- Chat with SQL and reasoning steps
- MCP tools for external agents
- Multi-database connection catalog
- pgvector semantic search
- Ossie YAML import and export
- Answerability checks before querying
Use cases
- Governed metrics for agent text-to-SQL
- Reconciling definitions across warehouses
- Interactive analytics over messy schemas
- MCP-backed BI in coding assistants
- Certifying business terms before production use