The Modeling Agent is grounded in your current model and connection (topics, views, relationships, and field-level access controls), not arbitrary SQL against your warehouse. To improve answers across Omni AI, see Optimize models for Omni AI.
Requirements
To use the Modeling Agent, you need:- The Omni Agent setting enabled in AI Hub > General > Features for your organization
- Permission to edit models for your connection (see modeling permissions)
Open the Modeling Agent
- Click the AI icon. You can do this in the Model IDE or anywhere else in the app.
- Type in the prompt box. In the Model IDE, your conversation stays in the panel while you switch files, save, or change modeling modes.
If you are a modeler, or you have modeler permissions, you can model from anywhere in the app and create branches. If you do not have these permissions and you ask the AI to model from a workbook or other context, such as a chat session, it asks if you want to model in the workbook instead.
Example prompts
You can ask in plain language. You do not need to paste YAML unless you want to point at something specific.Built-in skills
The Modeling Agent includes default skills that appear as clickable buttons below the prompt box. These skills guide the agent through specialized tasks without requiring you to write detailed prompts.Optimize topic for AI
The Optimize topic for AI skill analyzes a topic and its views to identify opportunities for improving AI metadata. When you click this skill, the Modeling Agent asks which topic to analyze, then reviews metadata across four categories:- Token efficiency — Identifies verbose or redundant metadata and flags missing
ai_fieldsdirectives that could reduce token usage - Clarity — Highlights ambiguous fields missing context and non-descriptive labels that may confuse the AI
- Deduplication — Finds repeated information between
ai_contextanddescriptionfields, or between field-level and topic-level metadata - Sample queries — Reviews existing sample queries and recommends additions or improvements, including suggestions for golden datasets
Suggest model from query history
ACCOUNT_USAGE.QUERY_HISTORY (Snowflake) or pg_stat_statements (Postgres) and provides insights across several areas:
- Table usage — Identifies the most frequently queried tables, with breakdowns showing which tables are used as base tables versus joined tables
- Column patterns — Tracks how columns are used in
SELECT,WHERE,GROUP BY, andORDER BYclauses, along with aggregation function frequencies - Join patterns — Discovers common join relationships between tables, deduplicated by join type and keys
- Field classification — Suggests which fields should be dimensions, measures, or time dimensions based on usage patterns
- Calculated dimensions — Identifies scalar transforms and common calculated field patterns that could be defined in your model
- Query view candidates — Finds repeated CTE patterns that could be extracted as reusable query views
aggregate_type and symmetric aggregation settings), relationships (with reversible semantics), and query views that align with how your team actually queries the data.
Modeling modes
The panel includes a mode menu so you control how proposed model changes are applied. Your selected mode persists between sessions, but you can select a standing preference on the AI approvals page.If you edit the shared model, your workflow may require a branch before the Modeling Agent can write changes. Create a branch when prompted, then continue the conversation.
Next steps
- Model IDE — Files, branching, and validation
- Branch Mode — Isolate model edits before promotion
- Content validator — Catch issues across workbooks and dashboards
- AI settings — Org-wide AI controls
Troubleshooting
The Modeling Agent won't apply edits
The Modeling Agent won't apply edits
Make sure you have modeling permissions for the connection. On the shared model you may also need a branch first. Create a branch when prompted, then ask again.
Answers feel generic
Answers feel generic
Add richer descriptions, AI context on views and topics, and sample queries so Omni’s AI has more to work with across the product.
Getting help
If you’re stuck and can’t remember how to do something in Omni, ask the Omni Agent. Questions like “How do I do [thing]?” will prompt the agent to search the official Omni docs and provide you with an answer, all without leaving your Omni workflow. You can also directly tell the agent to search the docs when researching the answer to your question.Working in an embedded context? If you have the Hide Omni watermark setting enabled to provide a fully white-labeled experience, the AI doc search feature will respect it. Omni doc links will not be returned in chat, even if explicitly requested.

