Data · AI
AI Is the Knowledge Layer Now. Retire the Medallion.
For twenty years, the meaning of a company's data lived in pipelines: bronze, silver and gold copies, built in advance and rebuilt every night, because the people reading the data couldn't work it out for themselves. AI can. It applies the meaning when you ask the question, which makes the medallion a workaround for a problem that has gone, and a team of 100 data people about A$3 million a year cheaper to run.
The medallion was a knowledge layer in disguise
Bill Inmon's enterprise warehouse (1992) and Ralph Kimball's conformed dimensions (1996) answered one question: how do you get everyone to agree what the data means? Their answer was to bake the meaning into tables. One agreed customer, one agreed product, one agreed calendar, all pre-joined and pre-cleaned, because a person with a reporting tool couldn't be trusted to work out the business rules themselves.
The modern medallion is the same idea with three named layers. Databricks describes bronze as raw data as it arrived, silver as validated, deduplicated and normalised, and gold as the business-ready views behind dashboards. Everything that makes data meaningful lives between bronze and gold: fixing late and out-of-order records, mapping codes to categories, converting currencies, deciding which date counts, and resolving which customer is which. Silver and gold aren't storage tiers. They're business knowledge, frozen into copies of the data and rebuilt on a schedule whether or not anyone asks.
AI does the same job, on demand
An AI agent given the raw record can do at question time what silver and gold did in advance. It can read the schema, join the tables, drop duplicates, apply the exchange rate, choose the right date, and explain what it did. Turning plain questions into correct SQL queries has gone from a research problem to near human level. On BIRD, a demanding benchmark, the best systems reached about 82% in late 2025, against 93% for human data engineers.
What makes it reliable isn't a gold table. It's context: written-down definitions the AI reads before it answers.
- In a 2023 benchmark on a real insurance schema, GPT-4 answered enterprise questions with 16.7% accuracy from the raw database, and 54.2% when given a knowledge graph describing what the tables and fields mean (Sequeda, Allemang & Jacob).
- dbt Labs reports near-perfect accuracy in 2026 when models are grounded in governed metric definitions.
The knowledge layer hasn't gone. It has moved: from pre-built copies of the data to definitions the AI reads when it answers. A rule written once ("convert at the end-of-day rate on the transaction date, from this source") replaces a pipeline that applied it to every row every night.
The knowledge layer moves from tables to AI
Same raw data, same rules; the work happens when someone asks, not every night in advance
Medallion: knowledge stored as tables
AI: knowledge applied on demand
What you keep
- The raw record. Immutable and time-stamped. AI can work out meaning on demand, but it can't recover data you never kept, so bronze stays and probably grows.
- Keys and identity. Which customer, account or product is which across systems. That's facts, not inference, and it's worth getting right once.
- Context as code. Metric definitions, exchange-rate rules, fiscal calendars, hierarchies and glossaries, versioned like software. This is the new knowledge layer's source of truth.
- Controls. Who can see what, privacy rules, lineage and retention. An AI that can read everything must not show everyone everything.
- The books. Financial, regulatory and customer-facing numbers stay built and reconciled. A regulator wants the same answer twice, not a fresh inference.
- Test questions. Questions with known answers that every AI agent must get right before anyone trusts it.
Where it breaks
- No context, no truth. An AI with no written definitions makes up its own, and five agents give five "revenues". The 16.7% figure is what happens without context.
- Reuse needs a cache, not a layer. A question asked once should be answered on demand. Once three teams and a dashboard depend on it, store the answer and its query so it doesn't change from one run to the next. That's a cache with a definition behind it, not a return to silver and gold.
- One wrong answer in five. 82% accuracy on a benchmark isn't good enough for a board paper. Use test questions and human review where the stakes are high.
- Audit. Banks have been working on the Basel principles for risk data (BCBS 239) since 2013. In 2023 only 2 of 31 global systemically important banks fully complied. Regulated numbers stay built and reconciled.
- Cost inversion. Thousands of AI queries over raw data can cost more than one stored table. Watch the bill and cache the busiest questions.
| Rule | When |
|---|---|
| Answer on demand | The default: any question, from the raw record and written context |
| Cache the answer | On the second reuse across teams, or when repeat compute costs more than storing it |
| Build and reconcile | Financial, regulatory and external numbers |
| Drop it | A cache nobody has read in 90 days |
| Never drop | The raw record, the keys, the context, the books |
When to move
- 1. Freeze new silver and gold work. Every new mart is a cost that AI on demand will make obsolete. Ask first whether a definition plus the raw data would do.
- 2. Write the context down. Turn the logic hidden in pipelines into definitions, glossaries and rules an AI can read. It's the most valuable thing your data team owns.
- 3. Measure which tables are actually read. Anything unread for 90 days is a candidate to retire.
- 4. Start with the long tail. Let AI answer one-off and low-stakes questions over raw data first, with test questions running behind it.
- 5. Keep the books built. Retire the rest of the medallion layer by layer as accuracy is proven.
The medallion was built for a reader that couldn't reason, so the reasoning had to be done in advance and stored. That reader is gone. Keep the raw record and write the meaning down once, and let AI apply it when someone asks.
Part two: what this means when you buy a company, in "Stop Remodelling the Companies You Buy".
Sources: Inmon (1992), Building the Data Warehouse; Kimball (1996), The Data Warehouse Toolkit; Databricks documentation, "What is the medallion lakehouse architecture?"; BIRD text-to-SQL benchmark and leaderboard (Agentar-Scale-SQL, 81.67%, Nov 2025; human 92.96%); Sequeda, Allemang & Jacob (2023), "A Benchmark to Understand the Role of Knowledge Graphs on Large Language Model's Accuracy for Question Answering on Enterprise SQL Databases"; dbt Labs, "Semantic Layer as the Data Interface for LLMs" and 2026 benchmark update; Seagate / IDC (2020), Rethink Data; Anaconda, State of Data Science 2020–2022; Fivetran / Wakefield Research (2021), data engineering survey (vendor-commissioned); Basel Committee (2023), progress in adopting the principles for risk data aggregation. The savings example is illustrative arithmetic on the survey figures, not a measured result.