NVIDIA Auto Ontology: Open-Source Semantic Layer for Enterprise AI Agents

NVIDIA has published Auto Ontology, an open-source framework for building a semantic, graph-based reasoning layer over enterprise data. The project's own framing is blunt:

a revenue metric answered faster is worth nothing if the number is wrong.

That sentence explains why NVIDIA is shipping a semantic layer rather than another chat interface. Auto Ontology is an Apache-2.0 Python framework that builds a graph-based ontology and semantic catalog over enterprise data, then exposes that context to LLM and agent workflows through MCP, CLI, and API.

What NVIDIA Auto Ontology is

Auto Ontology is a context and governance layer for enterprise analytics agents, not a foundation model. It ingests metadata from relational sources, reconciles business definitions across systems, and gives agents trusted meaning for metrics, entities, and relationships. The README lists five jobs: discover ontologies from metadata, ground agents in business meaning, validate generated queries against certified definitions and lineage, expose context through MCP/CLI/API, and learn from certified corrections. It is designed to complement semantic models customers already own.

The system stores its catalog and ontology in Postgres with pgvector. It supports natural-language querying of structured data by translating questions to SQL and executing them against connected databases, powered by NVIDIA NIM. Source connectors named in the README are Databricks, Postgres, Snowflake, and DuckDB.

How the query path works

The practical flow is: introspect source databases, store models and metadata in a central catalog, translate a natural-language question into dialect-specific SQL, route the query to the correct database, and combine results when a question spans multiple sources. A Hacker News commenter offered a plain-language explanation that the README does not:

Your company has data scattered across multiple types of databases... all your database models have been introspected and stored in a central metadata catalogue. When a question is asked like What were the top selling items in the month of May?, the metadata catalogue tells you Products are stored in FOO_DB and Product_Sales are stored in BAR DB...

That commenter also called Auto Ontology a poor name and said the README was terribly written. The description is still useful because it separates the product from the marketing: the core artifact is a metadata catalog plus query-routing and validation logic.

Validation is the reliability claim. Auto Ontology says it checks generated queries against certified definitions and lineage and returns provenance with every answer. That is the part enterprises should test first. A semantic layer that cannot show why a metric is correct is only a faster way to produce an unverified number.

Components, models, and deployment

Auto Ontology ships as a multi-service application. The README lists these components:

Component Technology Role Default port
Frontend Next.js 16, React 19, TypeScript, Tailwind CSS 4, Better Auth, Prisma Web UI, authentication, API gateway 3000
Backend FastAPI, Python 3.12+, LangChain Chat and NL-to-SQL, catalog, datasource APIs 3001
Ingestion worker FastAPI, Python 3.12+ Ingests tabular data and writes embeddings 3002
Postgres + pgvector Relational database App metadata, catalog and ontology, vector store 5432
HashiCorp Vault Optional Secure storage of connection credentials none

Inference uses NVIDIA NIM endpoints, either the hosted NVIDIA API catalog or self-hosted NIMs. The defaults in .env.example are nvidia/nemotron-3-nano-30b-a3b for the LLM, nvidia/nemotron-3-embed-1b for embeddings, and nvidia/llama-nemotron-rerank-vl-1b-v2 for reranking. Model roles are configured as triplets of endpoint, API key, and model name: DEFAULT_MODELS, REASONING, NON_REASONING, EMBED, and RERANK. Any unset field falls back to the matching DEFAULT_MODELS field.

Deployment is either a Helm chart for Kubernetes or Docker Compose for a local stack. The local stack requires Docker Compose v2, an NVIDIA API key, and connection details for source databases. AUTH_SECRET and APP_URL are required; without them the UI fails with a Better Auth default-secret error.

Security and access details that matter

Connection credentials are a real operational concern. Connections added through the UI store credentials in plaintext in Postgres unless Vault is configured. With Vault enabled, credentials are written to Vault and the catalog row stores no credentials. Vault is off by default and requires VAULT_ADDR, VAULT_NAMESPACE, VAULT_ROLE_ID, and VAULT_SECRET_ID; a partial configuration is ignored with a warning and falls back to plaintext.

API tokens are hashed with SHA-256 and shown once. A token acts as its owner and carries no independent permissions. Revocation is immediate. Tokens cannot create or revoke other tokens. The FastAPI port is described as a trusted internal service boundary and must not be exposed publicly because it does not independently verify the internal user header.

Licensing and contribution model

Auto Ontology is licensed under Apache License 2.0. Third-party components are listed in THIRD_PARTY_NOTICES.md, and container-image components are listed separately. The project is explicitly not accepting external contributions: issues, pull requests, and patches from outside the maintainer team will not be reviewed or merged. Security reports follow SECURITY.md.

That combination matters. The code is open source under a permissive license, but the development model is closed. Teams can inspect, run, and modify the software, but they should not expect upstream fixes for their use cases.

What Hacker News commenters saw as valuable

The strongest positive reaction was about enterprise data pain, not model capability. One commenter wrote:

We spend a small fortune trying to get ontology right as it's so critical to real world success of enterprise AI. Curious if this could actually help us.

Another called it promising and said it was the last piece needed for enterprises to trust agentic AI. The submitter framed it as a game changer for enterprise technical debt. Those comments reflect a real problem: large organizations have metrics, entities, and definitions spread across warehouses, databases, and semantic models, and agents fail when they pick the wrong definition.

The main criticisms

The most consistent criticism was the README. Commenters called it written for enterprise project managers, full of AI-isms, and hard to understand even for people with data and ontology experience. One commenter wrote:

I've spent a career working with data and ontologies and I couldn't understand this readme, and the diagram only makes it more confusing.

Another said:

I tapped out at the AI-isms in the readme... It's both overly verbose and entirely lacking of important info at the same time.

This is not a cosmetic issue. For a developer tool, the README is the product surface. If experienced data engineers cannot tell what problem is solved, what is required, and how the system differs from a semantic layer or a metadata catalog, adoption will suffer.

A second criticism was dependency on NVIDIA infrastructure. One commenter wrote:

Was interested... but then realized it needs an NVIDIA api key?

The README does allow other OpenAI-compatible endpoints through *_ENDPOINT and *_MODEL, but the default path is NVIDIA NIM and the quickstart requires an NVIDIA API key. That is a real evaluation cost for teams that want a local or vendor-neutral stack.

A third criticism was architectural. One commenter argued that the project fixes unreliable agents by adding more unreliable agents:

Fixing unreliable agents by adding more unreliable agents. It's a shame we can't do something about the tendency of LLMs to give more weight to their weights than to the data they're analysing.

The deeper point is that LLMs do not have a clean separation between learned world knowledge, instructions, and data under analysis. A semantic layer can constrain the query path, but it does not automatically make the model obey the constraint. The validation and provenance features are the right response to this critique, but they need independent evidence.

A fourth criticism compared Auto Ontology with the semantic web stack. One commenter asked why it is better than OWL/RDF and SPARQL and noted that LLMs are good at discovering established ontologies and querying with SPARQL. The README does not position Auto Ontology as a replacement for OWL/RDF. It describes a practical catalog and query layer over relational sources, with MCP and API exposure. The comparison is still fair: teams with existing RDF/OWL investments will want to know whether Auto Ontology imports, maps to, or ignores those standards.

A fifth criticism was about the word open source. One commenter responded:

Open Source? How about we start by open-sourcing the NVIDIA user-space libraries: libcuda, libcudart, libOpenCL, libnvtx, as well as nvidia-smi and the CUDA and OpenCL profilers.

That is a broader grievance about NVIDIA's stack, not a specific defect in Auto Ontology. Still, it explains why some readers were skeptical of the open-source framing.

Commenters also compared the project to Palantir, asking whether it is a vibe-coded Palantir or a response to Palantir's ontology business. The comparison is understandable because both pitch a semantic layer over enterprise data. Auto Ontology's README does not make that comparison, and the project is much narrower: it is a Python framework with a web UI, MCP server, and text-to-SQL path, not a full enterprise data platform.

The benchmark question

The README points readers to a separate ontology SQL evaluation repository for running a text-to-SQL benchmark such as BIRD, but it does not publish benchmark results in the main repository. A commenter pointed to UC Berkeley's DataAgentBench and said they would like to see how NVIDIA's approach stacks up. That is the right test. Enterprises should ask for accuracy on multi-source questions, provenance correctness, definition reconciliation, and failure behavior, not just a demo of natural-language querying.

The unresolved technical question

One commenter asked a question that gets to the heart of the approach:

Why can't we use LLMs to write as many symbolic rules as needed to fit the data while keeping the ruleset reviewable and maintainable?

Auto Ontology is one answer to that question: use LLMs to generate and maintain an ontology, but keep the ontology in a reviewable store and validate queries against it. The open question is whether the generated ontology stays small and comprehensible enough for humans to audit, or whether it becomes another opaque layer that agents trust without understanding. The README's learn loop, which folds certified corrections back into the ontology, is designed for that problem. Whether it works in practice is not established by the source material.

How to evaluate Auto Ontology

Evaluate Auto Ontology as a governed text-to-SQL and context layer, not as a general reasoning engine. The first test is whether it can reconcile conflicting metric definitions across your actual databases. The second is whether provenance is complete enough for an analyst to audit an answer. The third is whether the security model fits your environment, especially Vault-backed credentials and the internal FastAPI boundary. The fourth is whether the NVIDIA NIM dependency is acceptable or whether you can route to self-hosted or third-party OpenAI-compatible endpoints. The fifth is benchmark performance on multi-source questions, using the project's own evaluation path or an external benchmark such as DataAgentBench.

Auto Ontology is a serious attempt at a real enterprise problem: agents need a trusted map of the data estate before they can be trusted with analytics. The Hacker News reaction shows that the problem is widely felt and that the current README does not communicate the solution well. The code may be more useful than the documentation suggests, but the burden is on evaluators to test the claims.

Sources

Related