Metan: how data governance and AI together create an interface to data

Andrey Vikhrov18 May 2026

Problem

MTS keeps more than 500 thousand tables in its data catalog, and hundreds of analysts and data engineers use them every day. The catalog describes tables, their fields and owners, but business terms and the links between them are far rarer. So it helps only when the analyst already knows the table. For a business question the analyst still reads documents and asks colleagues. An AI agent with only table metadata cannot do even that.

Example from the article: a search for Kion data. The agent finds three terms, picks a table and writes SQL with the filter region = 'GLOB' taken from the table's business rules.

Solution in brief

Metan splits the semantic layer (AIMeta) into a knowledge level (an ontology of terms and data elements) and a data level (tables and fields linked to terms). The chat agent answers in three steps, "What?", "Where?", "How?", and the user can correct each step. The toolkit builds AIMeta semi-automatically from existing sources and tests it on a golden set of queries.

Questions this case answers
  • How to make a text-to-SQL agent find the right table in a large legacy warehouse where the same data elements are reused across many wide, denormalized tables
  • How to generate machine-readable metadata for a large warehouse semi-automatically and measure its quality against reference queries
  • How to let analysts get SQL answers to business questions from an LLM agent when the catalog holds hundreds of thousands of tables
  • How to build a semantic layer for hundreds of wide tables without describing each one by hand

Tools and methods

  • Two-level semantic layer (AIMeta) — terms (knowledge) separated from tables and fields (physics)
  • YAML manifest — fixes the object hierarchy and description rules
  • LLM agent pipeline — builds the ontology, maps terms to fields, writes and enriches descriptions
  • Query distillate and golden set — enrichment material and test questions taken from SQL logs
  • Confluence — one of the source systems for product knowledge
Continue reading — it's free

Google or a one-time email code. No password.