What do you want to do?
3 use cases
-
Ask business questions of a database and get the SQL behind each answer
Run the Docker Compose quickstart against the sample sales database and ask questions in Chat.
View prompt
Clone NVIDIA/auto-ontology, copy `.env.example` to `.env`, set DEFAULT_MODELS_API_KEY and new passwords, start Postgres with `docker compose up -d --wait postgres`, load the sample data, then run `docker compose up -d --build`. Turn on Semantic Compilation and ask: <your question>. Show me the SQL it ran.
-
Let Cursor or Claude check answerability before querying your data
Run the Auto Ontology MCP server so an agent can search terms, check answerability and ask questions.
- REPO
NVIDIA/auto-ontology - Cursor
- Claude Code
- Data and analytics
- Intermediate
View prompt
Add the auto-ontology MCP server (http://localhost:3003/mcp) to my MCP config. Before answering <question>, call check_readiness and check_answerable; if coverage is low, tell me which term is missing instead of guessing.
- REPO
-
Certify business terms so every agent computes a metric the same way
Review the generated terms, SQL attributes and relationships, then certify them once they are correct.
- REPO
NVIDIA/auto-ontology - Data and analytics
- Intermediate
View prompt
In Auto Ontology, list the terms and SQL attributes for <domain>, test them with check_answerable and ask_question on these questions: <questions>, and report which definitions look wrong before I certify them.
- REPO
Quick start with Auto Ontology
- Check you have what it needs: Docker with Compose v2; uv; An NVIDIA API key (nvapi-...) from build.nvidia.com, or self-hosted NIMs.
- Open NVIDIA/auto-ontology on GitHub and read the README and license.
- Run
git clone https://github.com/NVIDIA/auto-ontology.git && cd auto-ontologythencp .env.example .env - Set DEFAULT_MODELS_API_KEY and replace each default password in
.env - Run
docker compose up -d --wait postgresand load the Wide World Importers sample with the seed script from auto-ontology-eval - Run
docker compose up -d --build, open http://localhost:3000 and turn on Settings, Semantic Compilation
These steps come from our top use case, Ask business questions of a database and get the SQL behind each answer, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for NVIDIA/auto-ontology
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forData and analytics engineers who want agents to answer business questions from their databases with checked SQL.
- Why it is hot+2,707 stars today, 7.2k total
- LanguagePython
- Sourcegithub.com/NVIDIA/auto-ontology · Back to Hot repos
Requirements
- Docker with Compose v2
- uv
- An NVIDIA API key (nvapi-...) from build.nvidia.com, or self-hosted NIMs
- A Postgres or other supported database to connect
Add this badge to your README
Maintain Auto Ontology? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/nvidia-auto-ontology/?utm_source=github&utm_medium=badge&utm_campaign=NVIDIA-auto-ontology)
HTML
<a href="https://dedupedai.com/use-cases/nvidia-auto-ontology/?utm_source=github&utm_medium=badge&utm_campaign=NVIDIA-auto-ontology"><img src="https://dedupedai.com/badge/NVIDIA/auto-ontology.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Auto Ontology
What is Auto Ontology?
NVIDIA Auto Ontology is an open library that builds a context layer for agents from enterprise database metadata. It generates an ontology of terms, SQL attributes and relationships, lets people certify it, and answers natural-language questions as SQL that comes back with its steps. It exposes that context to any agent harness through MCP, CLI and API, and uses NVIDIA NIM endpoints for inference. It is an open-source project on GitHub: https://github.com/NVIDIA/auto-ontology.
How do I use Auto Ontology?
Run git clone https://github.com/NVIDIA/auto-ontology.git && cd auto-ontology then cp .env.example .env; then set DEFAULT_MODELS_API_KEY and replace each default password in .env; run docker compose up -d --wait postgres and load the Wide World Importers sample with the seed script from auto-ontology-eval. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Auto Ontology for?
Data and analytics engineers who want agents to answer business questions from their databases with checked SQL.
What can I do with Auto Ontology?
3 use cases so far, for example: Ask business questions of a database and get the SQL behind each answer; Let Cursor or Claude check answerability before querying your data; Certify business terms so every agent computes a metric the same way. Each has steps and a copy-paste agent prompt.
What do I need to run Auto Ontology?
Docker with Compose v2; uv; An NVIDIA API key (nvapi-...) from build.nvidia.com, or self-hosted NIMs; A Postgres or other supported database to connect.
What are alternatives to Auto Ontology?
Other hot AI repos in Data and analytics: Marker, Datatrove, Chronos Forecasting, Apify MCP Server, Crawlee Python.
Is Auto Ontology safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.