Auto Ontology is a Python framework for building semantic, graph-based reasoning layers over data. It enables deterministic query generation, better context retrieval, and more explainable AI for LLM and agent workflows. Auto Ontology Agents can retrieve documents and query databases, but reliability gates agentic analytics: a revenue metric answered faster is worth nothing if the number is wrong. Agents need a context layer that tells them where data lives, what it means, whether to use it, how to use it, where it came from, and what is similar. NVIDIA Auto Ontology is an open library that builds that layer from enterprise metadata, reconciles definitions across systems, and exposes it to any agent harness through MCP, CLI, and API. It complements the semantic models customers already own. It enables developers to: Discover: generate enterprise ontologies from metadata; connect existing ontologies and semantic models; build AI-ready knowledge graphs. Ground: give agents trusted business meaning for metrics, entities, and relationships; reconcile inconsistent definitions across systems. Validate: check generated queries against certified definitions and lineage; return provenance with every answer. Expose: serve context to any agent harness through MCP, CLI, and API. Learn: fold certified corrections and usage back into the ontology, so shared context improves with every question. Benchmarks To run a text-to-SQL benchmark such as BIRD, refer to the ontology SQL evaluation repository . Licensing & contributions. Auto Ontology is distributed under the Apache License 2.0 . Third-party open-source components bundled, linked, or otherwise used by this project are listed in THIRD_PARTY_NOTICES.md . This project is currently not accepting external contributions. Key Features Natural-language querying of structured data — questions are translated to SQL and executed against connected databases, powered by NVIDIA NIM. Semantic catalog / ontology layer over relational sources, stored in Postgres alongside the catalog it describes. Authentication & RBAC —using Better Auth . Web UI for chat, analysis, data catalog, analytics, and settings. Flexible deployment — Helm chart for Kubernetes or Docker Compose for a local stack. Software Components Component Technology Role Default port Frontend Next.js 16 (React 19, TypeScript, Tailwind CSS 4), Better Auth, Prisma Web UI, authentication, API gateway 3000 Backend FastAPI (Python 3.12+), LangChain Chat / NL-to-SQL, catalog, datasource APIs 3001 Ingestion worker FastAPI (Python 3.12+) Ingests tabular data and writes embeddings 3002 Postgres + pgvector Relational Database App metadata, the catalog and ontology, vector store 5432 HashiCorp Vault Optional Secure storage of connection credentials — NVIDIA NIM Auto Ontology uses NVIDIA NIM endpoints for inference —