NVIDIA’s Auto Ontology is an open-source library that gives an agent the business meaning behind a database: what revenue means, which columns hold it, which joins connect it to a customer or a region, and which SQL calculates it. It builds that map from your schemas and query history, lets people review it, and serves it to agents over MCP, a CLI and a REST API. Version 1.3.0 came out on 24 November, and the repository had 17,937 GitHub stars when I checked on 30 November.
The README opens with a line I agree with completely:
“a revenue metric answered faster is worth nothing if the number is wrong.”
So I went looking for the part that decides whether the number is right. It’s a review step called certification: experts check generated names, descriptions and SQL, and mark them as reviewed. Then I found this in the architecture doc:
“Certifying a name, description, or attribute marks it as reviewed in the UI and in search results. It doesn’t change how the agent retrieves.”
A reviewed definition of revenue and a model’s first guess at one reach the answering agent the same way. That’s the gap this post is about, along with a second one: the join a relationship uses can change every night. This is design analysis of NVIDIA’s documentation. I haven’t run Auto Ontology, and the code below is illustrative TypeScript.
What it does, and what it gets right
The ontology answers six questions, each with its own element: what a term means (a concept such as Invoice Line), where it lives (column mappings), what connects to it (relationships and joins), how to calculate it (reviewed SQL stored under a term, which the docs call SQL attributes), where it comes from (lineage) and whether to use it (certification).
Most of the draft is generated. The architecture doc labels every compilation step as a model call, SQL or rules, which is more candour than most vendors manage. A model proposes foreign key candidates, writes column descriptions, names the terms and suggests SQL attributes from query history. SQL then checks some of that against the data: an inferred link between two tables is stored only if joining them actually returns a row.
Answering is a loop. A reasoning model calls retrieve to search the ontology, run_sql to test drafts, and submit to finish. Before any query runs, table and column names are checked against the catalog, and tables must have appeared in a retrieve result. Every answer comes back with its SQL and the steps that produced it. There’s also a check_answerable tool over MCP that grades how well the ontology covers a question before any SQL is written. The README’s example asks for return on ad spend in a database with no advertising data, and the agent says so instead of inventing a number.
Those are good defaults. Returning the SQL is the single most useful thing a text-to-SQL agent can do, because it turns “trust me” into something a person can check. The MCP tools are read-only and run with the signed-in user’s permissions. The portable format matters too: the ontology imports and exports as YAML in Apache Ossie, the incubating standard for exchanging semantic models, so it isn’t locked into one tool.
Certification is a label, not a gate
Take the README’s own worked example. It asks for revenue for one product in Pennsylvania in June 2015, against Microsoft’s Wide World Importers sample database. The agent resolves revenue to the invoice line term, sums a column called extendedprice, and joins invoice line to invoice, customer, city and state.
I don’t know whether extendedprice includes tax in that database, and I haven’t checked. That’s the point. Whether revenue includes tax, whether credit notes net off, and whether it’s booked by invoice date or delivery date are business decisions. In finance systems, those decisions live in a definition someone signed off, and a report that uses a different one is wrong even when the SQL runs perfectly.
Auto Ontology has the right place for that sign-off. But because certification doesn’t change retrieval, the agent picks among candidate definitions by meaning and name similarity, whatever their review status. A certified net_revenue and a draft revenue suggested from someone’s ad hoc query are both just search results. And the deterministic checks in run_sql and submit confirm that names exist and that the query runs. They can’t confirm that the query means what the business means.
I’d want certification to reach the answer in two ways.
Report it. Every answer should say which definitions and joins it used, and whether each was certified. The SQL is already returned, so this is a small addition with a large effect: a person reading “revenue: draft, suggested from query history” knows to check before forwarding the number to the finance director.
Enforce it where it matters. For a small set of governed metrics (revenue, margin, headcount, anything that appears in a board pack), the harness should refuse to answer from an uncertified definition, or return the answer clearly marked as a draft and open an item in an exception queue for the metric’s owner. That check belongs in the harness around the agent, not in the prompt.
Here’s the shape I’d build on top of the returned SQL and steps:
type Provenance = {
element: "term" | "sql_attribute" | "join";
id: string;
certified: boolean;
ontologyVersion: string; // hash of the exported Ossie YAML
};
type GovernedAnswer =
| { kind: "answer"; value: unknown; sql: string; used: Provenance[] }
| { kind: "draft"; value: unknown; sql: string; used: Provenance[]; uncertified: string[] }
| { kind: "refused"; reason: "governed_metric_uncertified"; metric: string };
const GOVERNED = new Set(["net_revenue", "gross_margin"]);
function gate(metric: string, value: unknown, sql: string, used: Provenance[]): GovernedAnswer {
const uncertified = used.filter((p) => !p.certified).map((p) => p.id);
if (uncertified.length === 0) return { kind: "answer", value, sql, used };
if (GOVERNED.has(metric)) return { kind: "refused", reason: "governed_metric_uncertified", metric };
return { kind: "draft", value, sql, used, uncertified };
}
The hard part is filling in used. Auto Ontology returns the SQL and the resolved terms, but I haven’t confirmed that its response identifies each SQL attribute and join with an ID you can look up. If it doesn’t, the first version can parse the returned SQL and match it against the exported ontology. That’s crude, but it beats nothing.
The join can change overnight
The second detail is about drift. Once an admin turns semantic compilation on, it runs at startup, every 24 hours and on demand. Edits survive it, because each run only compiles tables that don’t have a term yet. With one exception, quoted from the architecture doc:
“every compilation re-selects which semantic foreign key each join uses, so turning one off doesn’t stick.”
Where there are several candidate links between two terms, a model chooses the default join, with a deterministic fallback. So the same question can produce different SQL tomorrow, and nobody edited anything. If a customer table holds both a delivery city and a postal city, joining through one or the other gives two different answers to “revenue by state”. Both run cleanly.
This is ordinary configuration drift, and the controls are ordinary too. Export the ontology as Ossie YAML after every compilation, commit it, and diff it like code. A changed default join is then a reviewable change with an author and a date, not a silent difference between Monday’s and Tuesday’s numbers. Stamp each answer with the hash of the ontology version that produced it.
Then add a reconciliation check. Keep a small set of questions whose answers you already know from a source of record: last quarter’s revenue from the ledger, the active customer count from the CRM. Run them after every compilation and alert when an answer moves. Finance teams have reconciled automated reports against independent totals for decades, and I wrote about why that’s the original agent eval. An agent that writes SQL needs the same treatment.
| Failure | What you’d see | Control |
|---|---|---|
| Agent uses an uncertified definition | Plausible number, clean SQL | Provenance on every answer; refuse governed metrics without certification |
| Default join re-selected overnight | Same question, different number | Export and diff Ossie YAML per compile; version hash on answers |
| Suggested SQL from unrepresentative history | A metric defined by one analyst’s one-off query | Treat query-history suggestions as drafts until certified |
| Question outside the ontology | Made-up mapping | Call check_answerable first, as NVIDIA’s MCP flow does |
| Known totals drift | Nothing, unless you look | Reconciliation questions run after every compile |
On the query-history row: the doc says suggestions currently come from “the first 10 found, not the most used”, because usage ranking isn’t active yet. Fine for a draft, and another reason a draft shouldn’t answer a board-level question.
What the benchmark measures
The README says Auto Ontology leads the BIRD-Interact and BEAVER leaderboards. That’s NVIDIA’s claim and I haven’t verified the rankings. The method behind its own numbers is worth reading, though, because Auto Ontology Eval is unusually clear about it.
Each run asks the same model the same questions twice. The control arm gets the question and a schema dump in one prompt, with no tools. The treatment arm gets Auto Ontology’s agent, which retrieves its own context in a loop and can test SQL before submitting. A deterministic verifier runs both arms’ SQL and the gold SQL and compares results, with no LLM judge, and the report lists which questions the ontology fixed and which it broke.
I like the fixed-and-broken list a lot. But the difference between the arms is the ontology plus an agent loop that can run test queries, compared with a single prompt that can’t. That’s a fair comparison of two ways to deploy, and a less clean measure of what the ontology itself adds. If I were deciding whether to invest in curating one, I’d add a third arm: the same agent loop with schema-only retrieval. And none of these benchmarks has a “certified” column, because public datasets don’t come with a finance director’s sign-off. Your own reconciliation questions are the benchmark that matters.
Two deployment notes worth reading twice
The README is direct about its trust boundary. The backend trusts a user ID that the web app forwards in a header, and the ingestion service’s endpoints, including delete, reset and compile, have no authentication of their own. Both must stay on a private network. That’s a reasonable design, but only if someone actually deploys it that way. I’d add a network policy test that fails if ports 3001 or 3002 are reachable from anywhere except the web app.
Predictions are optional, and they work by uploading connected tables to KumoRFM, a hosted service, up to 20 tables by default with no row limit unless you set one. The README says to complete your data review before enabling it, and I’d take that literally: treat the setting as a data-sharing agreement, not a feature flag.
What I’d do on Monday
- List the five to ten metrics that leave the building, and certify their definitions and joins first.
- Put a provenance check between the agent and the person: every answer names the definitions and joins it used, and whether each is certified.
- Refuse, or clearly mark as a draft, any answer to a governed metric built on uncertified elements.
- Export the ontology as Ossie YAML after every compilation, commit it and review the diff.
- Write reconciliation questions with known answers from a source of record, and run them after every compile.
- Call
check_answerablebeforeask_questionin any agent you build on the MCP server. - Keep the backend and ingestion ports private, and test that they are.
Limitations
This is design analysis of NVIDIA’s README, architecture doc and eval repository as of 30 November 2026. I haven’t deployed Auto Ontology, measured its accuracy or verified its leaderboard positions. The code is illustrative and unrun. I also haven’t confirmed exactly what provenance the API returns with an answer, so the gate may need to work from the returned SQL. The project ships frequently, so certification may affect retrieval in a later release. If it does, most of the controls above still apply, because they sit outside the agent.