What's required to move AI agents from pilot to production?
Unity Gateway is the Databricks governance solution for enterprise AI, built on Unity Catalog. It governs models, agents, MCP servers, and tools, with audit logging written to Unity Catalog Delta tables. Use the Genie Conversation API to embed Genie in custom chatbots, agents, and applications.
Where can Genie Conversation APIs be embedded?
The Genie Conversation API is part of Genie API chat mode and is used to build natural-language data querying into custom chatbots, agents, applications, and agent frameworks. Conversations are stateful, so follow-up questions keep context. Databricks advises a new conversation for each user session, because reusing a thread across sessions can reduce accuracy. The docs do not state a release status, and do not list Slack, Teams, or SharePoint integrations.
What is Genie Agent Mode for complex business questions?
Agent mode, formerly Research Agent, uses multi-step reasoning and hypothesis testing to answer complex, exploratory questions in a Genie Agent. It creates a research plan, runs several SQL queries, and returns a report with citations, visualizations, and supporting tables. Flash mode is Beta and needs a workspace admin to enable Genie Agents Flash Mode on the Previews page; Inspect is Public Preview.
Why does natural-language analytics need business context, and how does Genie provide it?
Genie answers depend on business context, and the docs recommend supplying table and column descriptions, join relationships (primary and foreign keys are saved as join relationships automatically), example SQL, SQL expressions for KPIs and business terms, and general instructions. Genie operates in a nondeterministic manner, so ambiguous or conflicting guidance can produce undesirable responses.
What are the main components of Databricks Genie?
The Genie docs describe Genie One, a simplified interface for business users to find and interact with data assets; Genie Agents, domain-specific environments where data teams configure datasets, sample queries, and instructions; and Genie Code, an AI coding and data assistant in the workspace.
What is the AI context gap, and how does Genie Ontology close it?
Genie Ontology is the unified context layer for the Genie family of AI experiences, combining modeled context (Unity Catalog semantics that you define and certify) with inferred context that Genie extracts from existing assets and usage. It is in Public Preview.
What is the recommended approach to text instructions in a Genie Agent?
Databricks recommends starting with minimal instructions and a limited set of questions, then expanding based on feedback and monitoring. Prefer SQL expressions for business terms such as metrics and filters, and example SQL for complex questions, because structured definitions are more reliable than plain text. Use text instructions as a last resort when SQL cannot express the need, and keep them consistent with example SQL, such as a rounding rule that matches the SQL.
What data structure guidance applies to a text-to-SQL agent such as Databricks Genie?
Keep the set of tables small and focused, ideally five or fewer tables with a limited number of columns. A Genie Agent accepts up to 50 tables, views, or metric views, and if a topic needs more objects, pre-join tables into views or metric views. Metric views pre-define metrics, dimensions, and aggregations, which simplifies the data model and can improve accuracy.
How does Genie Ontology improve text-to-SQL accuracy?
Genie Ontology, currently in Public Preview, has Genie Code search your organization's business context, such as metric definitions and join hints, before it writes SQL. Grounding SQL generation in your metric definitions and join paths means the generated queries follow how your business defines terms. Databricks does not publish a measured accuracy figure, so validate with benchmarks built from your own questions.
How much context does Genie Code send to the model?
Genie Code sends your prompt plus relevant context, including table and column names and their descriptions, the code you are working with, data samples from tables, and cell outputs. Its access is governed by your Unity Catalog permissions, so it only uses data you are allowed to see. The docs list these context sources explicitly, so you know what goes to the model.
What should go into Genie Code custom instruction files?
Write clear, specific instructions in plain English, grouped under Markdown headings with bullets for individual rules. Include preferred libraries, coding conventions, role context, and response style, along with details Genie Code cannot infer, such as which tables or functions to use and when. Genie Code does not proactively fetch extra information based on instructions, so name what it needs. Keep each file under 20,000 characters, because Genie Code ignores anything past that limit.
Is Genie Code aimed at developers or at business users?
Genie Code is the AI coding and data assistant for developers and technical practitioners in the Databricks workspace. It generates and runs code, builds pipelines and AI/BI dashboards, and debugs errors across notebooks, the SQL editor, jobs, and dashboards. Databricks positions Genie One for business users, Genie Agents for data teams that configure trusted data, and Genie Code for developers.
How do I manage Genie Agents across environments?
Clone a Genie Agent to create an independent copy that includes its tables, settings, instructions, example SQL queries, and SQL functions, but not chat threads or monitoring data. Share the agent with specific users or groups, or with all account users, at CAN MANAGE, CAN EDIT, CAN RUN, or CAN VIEW. You can also mark agents as Certified or Deprecated with the system.certification_status governed tag, which requires the ASSIGN permission on that tag.
Which file types can a Genie Agent analyze from Unity Catalog volumes?
Content search supports PDF, JPG, JPEG, PNG, TIFF, TIF, DOC, DOCX, PPT, PPTX, MD, and TXT files, and skips other types. File analysis runs in Agent mode, which uses multi-step reasoning to retrieve and analyze the relevant files. A workspace admin turns on the Beta feature Analyze Files in Volumes with Genie Agents from the Previews page.
Which external connectors can a Genie Agent use through MCP, and what admin setting is required?
The external-tools page lists these MCP connectors for Genie Agents as Beta: Google Drive, Gmail, Google Calendar, Microsoft 365, Atlassian, Glean (Beta), Slack, and GitHub. The 2026 release notes list Databricks-provided MCP connectors for Genie One and Genie Code as generally available as of September 10, 2026, so check the current status for your surface. A workspace admin turns on MCP tools in Genie Agents from the Previews page, and each user authenticates to each connected system individually.
Where do I create a Genie space now that the docs call it a Genie Agent, and what does it require?
Databricks now documents Genie spaces as Genie Agents. In the sidebar, select Genie Agents, click New, choose your data sources, and click Create. The data must be registered in Unity Catalog, the agent can include up to 50 tables, views, or metric views, and it requires a pro or serverless SQL warehouse on which you have at least CAN USE.
Do Genie benchmark questions reuse the context of earlier chat threads?
No. Benchmark questions run as new conversations, so they do not carry the context of a threaded Genie conversation. Each benchmark result therefore reflects how the Genie Agent answers that question on its own, without influence from earlier turns in a thread. That keeps each question's result independent of how a conversation happened to unfold.
Are Genie answers posted in Slack visible to everyone, and can admins audit Slack usage?
Responses are public by default, and setting message visibility to private limits the answer to the person who asked. Workspace-level settings override channel and personal settings. Account and workspace admins can monitor Slack usage in system.access.audit, where Slack requests appear as createGenieChatResponse events with request_params.source set to slack.
What is the full-page Genie Code experience?
The full-page Genie Code experience is a command-center layout in which the active chat is shown prominently. Notebooks and files open as tabs beside the conversation, you can run multiple chats in parallel, and you can personalize Genie Code with skills, instructions, and MCP servers.
Genie gave a confident wrong number in a leadership deck. How do I stop that from happening again?
Genie answers are generated by an LLM, so no text-to-SQL system is perfect, and Databricks recommends measuring accuracy rather than assuming it. Genie Agents benchmarks let you write test questions with ground-truth SQL and run them against the space: Chat mode compares Genie's query results to your supplied SQL answer, and Agent mode uses an LLM judge. When a benchmark fails, you inspect the generated SQL, fix the instructions, example queries, or metadata, and rerun the suite before the space is used for important numbers. Passing benchmarks shows accuracy on the questions you tested, so keep human review for high-stakes answers.
Why does Genie give a different answer to the same question when I ask it twice?
Databricks documents that Genie, like other large language models, can exhibit non-deterministic behavior, so the same prompt can produce different outputs. The docs recommend that most Genie Agents include two to four phrasings of the same important question, so you test whether the answer holds across wordings. Clear text instructions, example queries, and SQL expressions for business logic reduce the variation, and the tuning guidance says defining business logic as SQL expressions produces more consistent results than text instructions.