
Agent no longer relies on speculation; NVIDIA releases open-source Auto Ontology, with built-in SQL and data sources.
NVIDIA's Open Enterprise Semantic Layer Framework: Automatically generates ontologies from metadata, with agents querying each answer for its associated SQL and data source. Unanswered questions are explicitly acknowledged as such.
Related tags
Improving Reporting Accuracy with NVIDIA's Open-Source Auto Ontology: A Solution with Built-In SQL and Data Sources
When business analysts ask an agent, “What was the revenue for our company last month?” a system that quickly retrieves data but is inaccurate provides no value – reliability is the true benchmark for agentic analytics. NVIDIA has made its internal solution, Auto Ontology, open source to address this: a Python framework that automatically builds semantic layers from enterprise metadata. This framework has recently gained significant traction on GitHub, with over 2,050 stars in just one day.
Solving the Problem
Agents can access databases and retrieve documents, but they lack the “context” to understand: where the data is, what it means, whether it’s appropriate to use, how to use it, and where it comes from. Auto Ontology fills this gap by automatically generating enterprise ontologies from metadata, resolving conflicting business definitions across systems, and exposing them through MCP, CLI, and APIs for any agent harness, supplementing existing customer semantic models.
The ontology contains three types of definitions: Terms (business concepts like “Customer” or “Invoice Line” along with their synonyms, mapped to specific columns), SQL attributes (manually verified SQL expressions to ensure consistent calculation of metrics like “profit margin”), and Relationships (how tables are related, including bridge tables inferred from keys and data).
Three-Stage Workflow with Evidence Chain
The entire process consists of three stages: Generate (reading service schemas, identifying columns, and sampling values to automatically draft the ontology; for example, Wide World Importers can generate 31 terms in one compilation), Certify (manually correcting and validating terms, descriptions, and SQL attributes in the UI or API), and Answer (the agent retrieves candidate terms → writes SQL queries → verifies against the database and self-corrects → executes).
Each answer includes the SQL used to generate it, along with the reasoning steps. This allows for verification against the source data. Furthermore, if the system cannot provide an answer, it will explicitly state that: the check_answerable tool first checks whether the ontology covers the question. For example, when asked about “advertising return on investment,” the agent explicitly states that there is no advertising spend data, and asks the user if they are interested in revenue or another data source.
Integration and Deployment
- Data Sources: Supports ten database engines including PostgreSQL, MySQL, Databricks, Snowflake, ClickHouse, Trino, Apache Kyuubi, HeavyDB, DuckDB, and SQLite; compatible with the Apache Ossie semantic model open standard for importing and exporting model definitions.
- Agent Integration: MCP provides read-only tools (such as
check_readiness,search_terms, andask_question), which users can execute based on their permissions. Three Agent skills provide guidance for installing, modeling, and asking questions. - Models: Driven by NVIDIA NIM, with a default of
nvidia/nemotron-3.5-lightning-30b-a3b, also supports any compatible OpenAI endpoint; prediction tasks can be routed to KumoRFM. - Deployment: Docker Compose for one-click local stack setup, or Helm charts for Kubernetes deployment; Next.js 16 frontend + FastAPI backend + Postgres/pgvector, Better Auth for authentication and RBAC, credentials can be hosted in HashiCorp Vault.
It’s important to note that the project uses Apache-2.0 license, but currently does not accept external contributions; integration requests should be submitted through the issue channel.
In a landscape where everyone is working on NL2SQL, NVIDIA’s open-source approach offers a clear differentiator: focusing on building a verifiable, traceable, and certified enterprise semantic foundation rather than simply creating more intelligent generation models.
Repository link: https://github.com/NVIDIA/auto-ontology
More News
Want to see more quality content?
Browse all news