All Articles
News

NVIDIA Auto Ontology: Is It RAG? And vs NotebookLM

Michael Leung 7 min read
Part 53 of 53 · AI Models & Agents 2026

Useful already? ☕ Buy me a coffee and keep these articles free and ad-free.

On this page
  1. What is NVIDIA Auto Ontology?
  2. How does Auto Ontology work?
  3. Is Auto Ontology RAG?
  4. Auto Ontology vs NotebookLM: what's the difference?
  5. Can I use Auto Ontology with Claude or Cursor?
  6. What do you need to run it?
  7. Is Auto Ontology worth it?
  8. Sources
A glowing map of connected nodes floating above rows of database cylinders, linking business ideas to the data underneath

NVIDIA Auto Ontology is a free, open-source tool that helps an AI agent answer business questions from your databases and get the numbers right. You ask "What was revenue for this product in June?" and it writes the SQL, runs it on your real data and shows you the query it used. It does use retrieval, a bit like RAG, but only to find the right tables and definitions. The answer itself comes from the database, not from text the model read.

If you've used NotebookLM, you might wonder how this compares, so I've covered that too. The short version: NotebookLM answers from documents, and Auto Ontology answers from databases. I haven't installed Auto Ontology myself. Everything below comes from NVIDIA's GitHub README and Google's own NotebookLM help pages, read on 30 November 2026.

What is NVIDIA Auto Ontology?

It's a Python framework that builds a "map" of your company's data, called an ontology, and then lets an agent use that map to write correct SQL. NVIDIA released it on GitHub under the Apache 2.0 licence, and it already has close to 18,000 stars.

The problem it solves is simple. If you point a large language model straight at a big database, it guesses. It picks the wrong table, joins two tables the wrong way, or uses a different meaning of "revenue" from the one your finance team uses. NVIDIA's README puts it well: a revenue number answered faster "is worth nothing if the number is wrong".

The ontology holds the context the model is missing. NVIDIA describes it as answering six questions:

QuestionPart of the ontologyExample
What does it mean?Concept"Customer" or "Invoice Line", with a description and synonyms
Where is it?MappingWhich tables and columns hold it
What's connected?RelationshipHow tables join, checked against the data
How do I calculate it?MetricReviewed SQL for a margin or revenue figure
Where does it come from?LineageThe source columns, plus the SQL behind every answer
Should I use it?CertificationAn expert has reviewed and approved it

How does Auto Ontology work?

It works in two stages. First it builds the map from your database, and people check it. Then an agent answers questions using that map.

Stage 1, build the map. It reads your tables, columns, keys, views and query history. A model writes column descriptions, names the business terms, finds which tables link together and suggests reusable SQL for common metrics. A link between tables is only kept if the real data confirms it. Then a person tests the draft with real questions, fixes anything wrong in the web interface and marks the good parts as certified.

Stage 2, answer questions. A reasoning model works in a loop with three tools:

  • retrieve searches the map by meaning and by name, and returns tables, columns, definitions and join paths.
  • run_sql tries a draft query. Table and column names are checked against the catalogue first.
  • submit sends the final query. If it fails, the error goes back to the model to fix.

Every answer comes back with the SQL and the steps it took, so you can check the number yourself. In NVIDIA's example, using Microsoft's Wide World Importers sample database, it reports revenue of $588.80 from 3 invoice lines and shows the six-table join behind it.

A transparent glass layer of glowing squares joined by lines, hovering over rows of data blocks in a dark server room

The part I like most is what happens when the data can't answer. Ask about "return on ad spend" when there's no advertising data, and it says so and asks what you want instead. A plain chatbot would often make up a number.

Is Auto Ontology RAG?

Partly. It uses retrieval, but it isn't the usual document RAG, because the answer comes from running SQL, not from text the model read.

Classic RAG (retrieval-augmented generation) works like this: you split documents into chunks, store them as embeddings, find the chunks closest to the question and paste them into the prompt. The model writes its answer from those chunks. That's how my own AI photo search works: it searches descriptions of my photos and answers from what it finds.

Auto Ontology does have the retrieval part. It stores embeddings in Postgres with pgvector, and its retrieve tool searches by meaning. But what it retrieves is the map, not the answer. The model uses the map to write a query, the database runs it, and the number in the reply is the query result. A better name is agentic text-to-SQL grounded in a semantic layer. If you like labels, it's a cousin of GraphRAG.

Diagram comparing three flows: classic RAG answers from document chunks, NotebookLM answers from your sources with citations, Auto Ontology retrieves a map then runs SQL on the database

This matters for trust. With document RAG, you check the answer by reading the cited passage. With Auto Ontology, you check it by reading the SQL, or running it again yourself.

Auto Ontology vs NotebookLM: what's the difference?

NotebookLM answers questions from documents you upload. Auto Ontology answers questions from databases. They solve different problems, and most people only need one of them.

One thing I didn't know until I checked: Google's help pages now call NotebookLM Gemini Notebook, and notebooklm.google redirects to notebook.google. Most people still search for NotebookLM, so I'll use both names.

Google describes it as a research assistant that answers "based on your sources with clear in-line citations". It doesn't use the word RAG, but it says that when a notebook has many sources, it "retrieves the most relevant information based on your question first, then builds a response". That is RAG in all but name.

NotebookLM (Gemini Notebook)NVIDIA Auto Ontology
You give itPDFs, Google Docs, Slides, Sheets, Word, web pages, YouTube links, audio, imagesDatabases: PostgreSQL, MySQL, Snowflake, Databricks, BigQuery, DuckDB, SQLite and more (11 engines)
The answer comes fromThe text of your sourcesA SQL query run on your data
How you check itIn-line citations to the passageThe SQL and the steps, returned with every answer
ExtrasAudio Overviews, Video Overviews, mind maps, reports, study guidesCharts, CSV download, an MCP server, a REST API, a CLI
LimitsUp to 50 sources per notebook (free), 500,000 words or 200MB per sourceYour own servers and model costs
Who it's forAnyone, as a ready-made Google appDevelopers and data teams, self-hosted with Docker

NotebookLM does accept CSV files and Google Sheets (Sheets up to 100,000 tokens), but Google's pages don't say it calculates anything. If you need an exact total over thousands of rows, that's a job for a query, not a reader.

My rule of thumb: if the answer is written down in your documents, use NotebookLM. If the answer has to be calculated from rows in a database, use Auto Ontology.

Can I use Auto Ontology with Claude or Cursor?

Yes. It comes with a read-only MCP server, so any MCP client can use the map. NVIDIA gives example settings for Cursor and Claude Desktop. The tools include check_answerable, which asks whether the data covers a question before trying, and ask_question, which returns the answer, the SQL and the rows.

There's also a REST API for your own scripts, and three agent skills that teach a coding agent to set it up, manage the map and run queries. NVIDIA warns that two internal services trust the user ID sent by the front end and have no login of their own, so keep them on a private network.

What do you need to run it?

Docker with Compose, the uv Python tool and an NVIDIA API key from build.nvidia.com. The quickstart loads the Wide World Importers sample database so you can try it without your own data.

By default it calls NVIDIA's hosted models: nemotron-3.5-lightning-30b-a3b for reasoning, nemotron-3.5-embed-1b for embeddings and nemotron-3.5-rerank-8b for reranking. You can point each role at any OpenAI-compatible endpoint instead. I haven't tried a fully local setup on my 8GB RTX 4060 Ti, but a 30B model with 3B active parameters is the kind of thing that can run partly in system RAM, as I found in my llama.cpp benchmark. That might be a future test.

One privacy note from the README: the optional prediction feature uses a hosted service called KumoRFM, and turning it on uploads your connected tables to it. Leave it off unless your company has approved that.

A home office desk at night with a monitor showing a glowing web of connected nodes, an open notebook and a pen

Is Auto Ontology worth it?

If you run a company with many databases and definitions that don't match, yes, it looks like one of the more serious open tools for "chat with your data". NVIDIA says it tops the BIRD-Interact and BEAVER text-to-SQL leaderboards. That's NVIDIA's own claim, and I haven't checked it. Returning the SQL with every answer is the right design, because it means a person can always check the number.

If you have one small, tidy database and a fixed set of questions, NVIDIA itself says plain SQL may be enough. And if your knowledge lives in PDFs and documents, not tables, NotebookLM is the easier choice.

NVIDIA has had a busy month of open releases. I've also covered Nemotron 3.5 Parse on an 8GB GPU, which turns documents into text locally, and Nemotron for Science.

Sources

  • NVIDIA, auto-ontology repository and README on GitHub (github.com/NVIDIA/auto-ontology), Apache 2.0, read 30 Nov 2026
  • Google, Gemini Notebook (NotebookLM) help pages: "Learn about Gemini Notebook", "Add or discover new sources for your notebook", usage limits, Audio Overview, Video Overview, Mind Maps and Reports (support.google.com), read 30 Nov 2026
  • Benchmark rankings are NVIDIA's own claim. I haven't run Auto Ontology. The diagram is my own. Research and drafting were AI-assisted, and I checked the facts against the pages above.

Series: AI Models & Agents 2026

New frontier models, coding agents and what they cost, tested by a working developer.

  1. … 48 earlier in the series
  2. GLM-5.4 Test: A 3D Noah's Ark That Beats Qwen4-Max
  3. SWE-2.1: Price, Benchmarks and Is It Value for Money?
  4. Nemotron-Labs-Image vs Qwen Image 2.1: Benchmarks
  5. Inkling 2 Mini 3D Coder: Three.js Scenes, Too Big for 8GB
  6. NVIDIA Auto Ontology: Is It RAG? And vs NotebookLM
Start the series from part 1 →