World Congress 2026 North America

Beyond SQL Generation: How to Teach Agents What Your Database Actually Means

September 25, 2026 16:10 – 16:40 · 30 min Stage 6

World Congress 2026 North America

September 23–25, 2026 · San José, CA

Attend in person

Get tickets

Watch remotely

Watch live with Pro

Pro

Can’t make it to San José? Watch this session live with Pro. You also get:

  • All full videos, bookmarks, and playlists
  • World Congress livestreams
See pricing

What this session covers

Coding agents like Claude struggle to get meaningful information from databases. Even though they’re good at writing correct SQL, they fall short where it matters - fetching the right answers. When asked a complex question, they consistently fumble their way through the schema catalogs and table descriptions, and then make best-guesses about how to join them, hoping to find some data that looks reasonable.

The reason for this is simple - they don’t know your domain. It’s like hiring an expert in database syntax and expecting them to know how your company works. The solution is equally simple - teach the agent what the data means. Give them a guide to how your database is laid out, how its joined, what column names mean and what kind of queries make sense. All the folk knowledge that that expert hire would eventually acquire in their first 6 months.

The technique for teaching agents the meaning of a schema is called a semantic model, there’s an open standard that’s easy to stick to, and the results are pretty terrific. A single file can take an agent from burning tokens to hallucinate an answer, to one-shotting the correct results.

In this talk we’ll go through the details of semantic models and the standard, why it’s worth using the standard rather than rolling your own, and techniques for creating effective semantic models quickly. All in the service of a simple outcome - making a scalable database analyst that’s effective from day one.

Related talks at this congress

Open session

World Congress 2026 North America

September 24, 2026 · 14:50–15:20

Stage 2

Databases in the Agent Era

Monica Sarbu

Founder and CEO of xata.io

Monica Sarbu
Open session

World Congress 2026 North America

September 24, 2026 · 11:40–12:10

Stage 5

Your Agents Need Observability Before They Need Better Models

Julia Furst Morgado

Principal Developer Relations Engineer at Dash0

Julia Furst Morgado
Open session

World Congress 2026 North America

September 25, 2026 · 09:00–09:30

Stage 7

AI Agents are Only as Smart as their Context: Building a Real-Time Context Engine at Intuit

Bharat Patel

Lead Software Engineer at Intuit

Bharat Patel
Open session

World Congress 2026 North America

September 25, 2026 · 14:50–15:20

Stage 5

Agents Have a Perception Problem

Ivan Sekyonda

Developer Relations Engineer at Edge Impulse

Ivan Sekyonda
All sessions at this congress