Credentials. Compose publishes Postgres, pgAdmin and the web app on the host, so replace every default password before starting it and keep your nvapi key out of shared files.
Who it is forAn analytics engineer who wants a natural-language front end that shows its work.
The problemText-to-SQL answers are hard to trust when you cannot see which terms and joins produced the number.
The outcomeAnswers that come back with their SQL and the steps that produced them, so you can check the result against the source.
What you need first
- 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
Steps
- 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 - Ask a question in Chat and read the returned SQL and steps
Prompt for your agent
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.
Caveat. The README notes the project is currently not accepting external contributions.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for NVIDIA/auto-ontology and "Ask business questions of a database and get the SQL behind each answer"
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 freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer