databricks-genie-agents
Databricks Genie Agents
A Genie Agent is a curated agent scoped to one business area: its tables / Metric Views, documents (UC volumes), sample questions, and instructions. It answers by writing SQL on a warehouse and, in Agent mode, by searching its documents, so one turn can combine SQL results and cited files. Distinct from Genie One (databricks-data-discovery), which answers across your data without a curated Agent.
Replaces Knowledge Assistant and Supervisor Agent for docs + data. Both are legacy ("For new low-code agents over your documents and data, use Genie Agents"). Document Q&A (was a KA) = an Agent with a volume: no endpoint, no sync. Routing between data and docs (was a Supervisor over Genie + KA) = one Agent with tables + a volume. See Documents. An Agent can also attach Databricks-provided MCP connectors (Google Drive, Microsoft 365, Slack, Jira/Confluence, GitHub, ...; Beta, set up in the UI, Agent mode only). Custom MCP servers, UC functions, or other endpoints aren't supported; build a code agent (
databricks-ml-training). To maintain an existing KA / Supervisor: legacy-ka-supervisor.md.
Genie Agent Lifecycle
| Phase | Reference | Load when | Typical CLI |
|---|---|---|---|
| Create / update | create-genie-agent.md | Building or editing an Agent: the workflow, the serialized_space payload format, and the CLI |
discover-schema → create-space / update-space |
| Attach documents | create-genie-agent.md § Documents | Document Q&A, docs + data, replacing a KA / Supervisor | volumes create → update-space → probe in Agent mode |
| Query / converse / validate | query-genie-agent.md | Conversation API (tables), Agent mode API (needed for documents), Metric View SQL | start-conversation / Agent mode responses |
| Improve (inspect / diagnose / benchmark / fix) | improve-genie-agent.md | Working with an existing Agent: wrong/empty answers, quality tuning, benchmark evaluation | get-space; genie-create-eval-run; update-space |
| Export / migrate | genie-agent-cicd.md | Export, import, cross-workspace migration, batch migration, DABs/CI-CD | get-space → remap → create-space |
| Optimization history | uc-persistence.md | Setting up UC Delta tables for multi-pass optimization history (CREATE TABLE DDL only) | |
| Legacy | legacy-ka-supervisor.md | Maintaining or migrating an existing Knowledge Assistant / Supervisor Agent | knowledge-assistants / supervisor-agents |
Typical flow: create → query/validate → improve (diagnose / benchmark / fix, as needed).