Nvidia's Auto-Ontology: Open-Source Context Layer for Enterprise Data
Nvidia’s Auto-Ontology is an open-source context layer designed to improve the accuracy of agent responses on enterprise data by dynamically working with ontologies, schema, tokens, and relationships.
Overview of Auto-Ontology and Its Functionality
Nvidia’s Auto-Ontology is an open-source context layer designed to improve the accuracy of agent responses on enterprise data. It provides tools that allow agents to work with ontologies, including schema, tokens, and relationships that grow dynamically with each table and column. The system focuses only on the terms and tables relevant to the question, using column names and inferred business terms mapped to SQL. Joins and measures are improvised per question, with resolved relationships and reviewed SQL expressions. Auto-Ontology also includes an answerability check, prompting agents to clarify questions that cannot be answered confidently. Evaluation of the system is supported by the companion repository auto-ontology-eval, which measures performance on benchmarks and evaluations. Additionally, Auto-Ontology is compatible with Apache Ossie, an open standard for exchanging semantic models, enhancing its integration potential in enterprise environments.
Implementation and Setup Instructions
To implement and set up the Nvidia open-source auto-ontology project, begin by cloning the repository and configuring the environment. As outlined in the documentation, run git clone https://github.com/NVIDIA/auto-ontology.git && cd auto-ontology, then copy the example environment file with cp .env.example .env. Set the DEFAULT_MODELS_API_KEY value in the .env file to the appropriate key, as noted in the source.
Next, navigate to the auto-ontology-eval directory and execute the seed script, passing the Postgres password defined in the .env file. The command sequence includes docker compose up -d --wait postgres, followed by cloning the evaluation repository and running the seed script with uv run python scripts/seed/seed_wwi.py. Finally, build and start the full stack with docker compose up -d --build, and access the application at http://localhost:3000 using the admin credentials defined in the .env file.
Technical Architecture and Components
Nvidia’s open-source auto-ontology system is built on a modular architecture with distinct components handling different functions. The frontend, running on Next.js, Better Auth, and Prisma, provides the web interface, authentication, and public API gateway, operating on port 3000. The backend, powered by FastAPI (Python 3.12+) and LangChain, manages text-to-SQL agents, catalog, and ontology APIs on port 3001. An ingestion service, also using FastAPI, handles data ingestion and semantic compilation on port 3002. The MCP server, based on FastMCP, offers read-only agent tools over the public API on port 3003. Data is stored in PostgreSQL 17 with pgvector, supporting catalog, ontology, app data, and vector storage on port 5432. HashiCorp Vault is optionally used for connection credential storage. Ports 3001 and 3002 are recommended to remain on a private network for security. The system supports ten data sources, including PostgreSQL, MySQL, Databricks, and others, which can be connected via the Settings → Connections interface or defined in CONNECTION_STRINGS.
Integration and Customization Options
Nvidia’s Auto-Ontology offers integration and customization options through a formal request process for agents, applications, or storage providers. According to the Integrate with us section, external contributions such as pull requests are not accepted by the Auto-Ontology team, who maintain the code internally. At runtime, Auto-Ontology interacts with external materials, primarily model endpoints configured by users, with defaults set to Nvidia’s API catalog (integrate.api.nvidia.com, ai.api.nvidia.com). These interactions occur under the terms established by each provider and model. Users are advised to review the specific terms of service for any third-party models or providers they choose to integrate with, as Nvidia does not assume responsibility for those agreements.
Licensing and Legal Information
Nvidia’s Auto-Ontology project is licensed under the Apache License, Version 2.0, as stated in the repository’s documentation. Each NVIDIA-authored source file includes an SPDX header specifying the copyright as belonging to NVIDIA CORPORATION & AFFILIATES from 2024 to 2026. The SPDX-License-Identifier is also set to Apache-2.0, ensuring clarity regarding the licensing terms. Third-party open-source components used in the project are detailed in the THIRD_PARTY_NOTICES.md file, which lists their upstream licenses and project URLs. This approach aligns with standard open-source practices, providing transparency and legal clarity for contributors and users. The licensing and attribution information is consistent across the repository, as noted in the provided evidence.
Sources and reporting notes
Based on published source material. No independent hands-on testing is claimed.