Skip to main content

Schema Agents Overview

Schema Agents connect to your data warehouse, analyze your tables, and generate Entity Relationship Diagrams (ERDs) with AI-detected primary and foreign keys.


The Schema Agents Workflow


From the ekai home page, click Schema Agents in the left sidebar.

ekai home page with Schema Agents in sidebar

Mission Control

The sidebar shows your progress through the Schema Agents workflow:

Mission Control
1Onboarding
2Profile
3Schema

Workflow Steps

  1. Connect — Add your data warehouse credentials
  2. Onboard — AI analyzes and describes tables and columns
  3. Profile — Statistical analysis of data patterns
  4. Generate ERD — Create ERD with primary and foreign keys
  5. Review — Refine relationships through AI chat

What Schema Agents Produce

Table Descriptions

AI-generated descriptions for every table based on naming patterns and context.

Column Documentation

Descriptions, data types, and business context for each column.

Statistical Profiles

Data characteristics and patterns analyzed for AI-driven key detection.

ERD with Keys

Entity Relationship Diagram with detected primary and foreign keys.

Confidence Scores

Each relationship includes a confidence score and reasoning.

DBML Export

Database Markup Language export for use in other tools.


Using Schema Agents with Semantic Models

The ERD generated by Schema Agents becomes the foundation for Semantic Models:

One Schema Agent connection can be used by multiple Semantic Models, each producing different data products.


Next Steps

  1. Create Connection — Connect your data warehouse
  2. Onboarding Agent — AI context gathering
  3. Statistical Profiling — Data analysis
  4. Generate ERD — Create the ERD
  5. Review Relationships — Refine with AI chat