GitHub
ai-engineeringai-toolsdev-tools
Original source

NVIDIA Auto Ontology

Summary

Auto-builds semantic ontologies (knowledge graphs) from enterprise DB metadata, then powers a text-to-SQL agent for natural language querying with high accuracy and explainability.

  • Stars: 14.2K | Forks: 1.2K | License: Apache 2.0
  • Created Apr 2026, very active (last commit 2 days ago)
  • Ranks #1 on BEAVER benchmark, #2 on BIRD-Interact (text-to-SQL benchmarks)

Core Pipeline

  1. Discover — auto-generate ontology from DB metadata
  2. Ground — attach business meaning to metrics/entities (resolves conflicting definitions)
  3. Validate — test with real questions, every answer returns SQL + reasoning
  4. Expose — serve via MCP, CLI, REST API to any agent
  5. Learn — certified corrections improve ontology over time

Tech Stack

  • Backend: FastAPI + LangChain (Python 3.12+)
  • Frontend: Next.js + Prisma
  • DB: PostgreSQL 17 + pgvector
  • Models: NVIDIA NIM (Nemotron 3.5) default, any OpenAI-compatible endpoint
  • Deploy: Docker Compose or Kubernetes (Helm)
  • MCP server for Cursor/Claude Desktop integration

DB Connectors

PostgreSQL, MySQL, Databricks, Snowflake, ClickHouse, Trino, Apache Kyuubi, HeavyDB, DuckDB, SQLite

Who It’s For

Enterprise data teams building reliable AI analytics — solves the problem of LLMs getting numbers wrong because they lack business context.