<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Genie Code CLI vs Claude Code, Cursor, Codex and Copilot: a sourced guide for Databricks developers in Genie Hub</title>
    <link>https://community.databricks.com/t5/genie-hub/genie-code-cli-vs-claude-code-cursor-codex-and-copilot-a-sourced/m-p/178275#M167</link>
    <description>&lt;P&gt;&lt;EM&gt;Updated December 1, 2026: what Genie Code CLI does, how it compares with other coding agents, where Unity Gateway and Omnigent fit, and how to build and debug Lakeflow pipelines with AI. Every product fact links to the Databricks docs.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Coding agents now touch almost every part of data engineering on Databricks. The hard part is picking one. Below are direct answers to the questions developers ask most about Genie Code CLI and the agents around it, sorted by the decision you are trying to make. Each answer starts with a one-line reply, then gives the details and the doc to check.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Status as of December 1, 2026&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;Item                                        | Status                                      | Source
--------------------------------------------+---------------------------------------------+----------------------------
Genie Code CLI                              | Generally available since November 18, 2026 | November 2026 release notes
Genie Code CLI sign-in                      | OAuth user-to-machine (U2M) only            | Genie Code CLI limitations
Omnigent on Databricks                      | Beta                                        | Omnigent on Databricks
SSH tunnel                                  | Beta                                        | SSH tunnel
Databricks SQL MCP server (system.ai.dbsql) | Beta                                        | Databricks SQL MCP&lt;/PRE&gt;
&lt;H2&gt;Part 1: Genie Code CLI basics&lt;/H2&gt;
&lt;H3&gt;What is Genie Code CLI and when should I use it?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Genie Code CLI is a Databricks coding agent that runs in your local terminal and arrives already set up for data and AI work, so reach for it when your code lives on your laptop or in git.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;What it does:&lt;/STRONG&gt; it reads and edits files in the folder where you start it, runs commands, and calls into Databricks on your behalf through the Databricks CLI, including &lt;CODE&gt;databricks genie ask&lt;/CODE&gt; for data questions.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;What comes built in:&lt;/STRONG&gt; Databricks agent skills (in &lt;CODE&gt;~/.genie/skills/.system/&lt;/CODE&gt;) and models that Databricks provides, so there is no separate model subscription to buy.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Who it acts as:&lt;/STRONG&gt; you. Workspace operations run under your Databricks identity, so Unity Catalog permissions apply; edits and commands on your own machine are outside Databricks governance.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Requirements:&lt;/STRONG&gt; a workspace in a supported region, partner-powered AI features on, Unity Catalog enabled, and Databricks CLI 1.0.0 or later.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Use Genie Code in the workspace instead when you want the full in-product feature set. Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/genie-code-cli" target="_blank"&gt;Genie Code CLI&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Can I use Genie Code outside the workspace?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Yes: Genie Code CLI runs on macOS, Linux or Windows, in any terminal or IDE terminal, while signing in to a workspace for models and data.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Install with the one-line script for your OS, run &lt;CODE&gt;genie&lt;/CODE&gt; in a project folder, and pick a Databricks CLI profile when prompted. That profile decides model access and billing.&lt;/LI&gt;
&lt;LI&gt;It works inside the integrated terminal of Visual Studio Code, Cursor or IntelliJ IDEA.&lt;/LI&gt;
&lt;LI&gt;It does &lt;STRONG&gt;not&lt;/STRONG&gt; run inside SSH tunnel sessions; the docs ask you to run it on your local machine.&lt;/LI&gt;
&lt;LI&gt;On supported Windows 11 devices, version 0.5.1 and later isolate local commands with Microsoft Execution Containers (MXC) by default.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/genie-code-cli" target="_blank"&gt;Install and set up Genie Code CLI&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;What's the difference between Genie Code in the UI and CLI?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; The workspace version of Genie Code acts on notebooks, queries, pipelines and dashboards inside Databricks, while Genie Code CLI acts on local files from your terminal, and each keeps its own tools, skills and instructions.&lt;/P&gt;
&lt;PRE&gt;             | Genie Code in the workspace                                                           | Genie Code CLI
-------------+---------------------------------------------------------------------------------------+---------------------------------------------------------------------
Runs in      | Notebooks, MLflow, AI/BI dashboards, the Lakeflow Pipelines Editor and the SQL editor | A local terminal or IDE terminal
Works on     | Workspace assets, with Unity Catalog tables, columns and lineage as context           | Local files, shell commands and git, plus Databricks through the CLI
Instructions | User and workspace instructions, plus AGENTS.md and CLAUDE.md files in the workspace  | AGENTS.md in the project root
Skills       | Workspace skills in /Workspace/.assistant/skills/                                     | Local folders such as ~/.genie/skills/ and .agents/skills/
Feature set  | The complete experience                                                               | Not yet every workspace capability&lt;/PRE&gt;
&lt;P&gt;The CLI doesn't share its skills or instructions with the workspace today. Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/" target="_blank"&gt;Genie Code&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/genie-code/genie-code-cli" target="_blank"&gt;how the CLI differs&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;What's the difference between Genie One and Genie Code?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Genie One is the simplified Databricks UI where business users ask data questions in plain language, while Genie Code is the agent developers use to write, run and fix code.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Genie One&lt;/STRONG&gt; (previously called Databricks One) finds a relevant Genie Agent or data asset, writes and runs the SQL, and cites the sources it used. Queries run as the user, so Unity Catalog privileges, row filters and column masks apply. People reach it on the web, in the mobile and desktop apps, from a Chrome new tab, or in Slack.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Genie Code&lt;/STRONG&gt; plans and edits notebooks, SQL, pipelines and dashboards in the workspace, and Genie Code CLI brings the same idea to the terminal.&lt;/LI&gt;
&lt;LI&gt;The two meet in the CLI: it can hand a data question to Genie through &lt;CODE&gt;databricks genie ask&lt;/CODE&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-one/" target="_blank"&gt;Genie One&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/genie-code/" target="_blank"&gt;Genie Code&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Part 2: Choosing a coding agent&lt;/H2&gt;
&lt;H3&gt;Genie Code vs Claude Code&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Claude Code is Anthropic's general-purpose agentic coding tool; Genie Code is the Databricks-native agent, so choose Genie Code for zero-setup Databricks work and Claude Code when your team already standardizes on it.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Setup:&lt;/STRONG&gt; Genie Code CLI ships with Databricks skills and Databricks-provided models. Launching Claude Code with &lt;CODE&gt;ug claude&lt;/CODE&gt; gives it Databricks-served models, managed MCP servers and shared skills.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Models:&lt;/STRONG&gt; with &lt;CODE&gt;ug claude&lt;/CODE&gt; you can switch models with &lt;CODE&gt;/model&lt;/CODE&gt;, and your admin can even route a Claude Pro, Max, Team or Enterprise subscription through Unity Gateway.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Billing:&lt;/STRONG&gt; Genie Code CLI is billed like Genie Code; Claude Code through Unity Gateway is model usage that Unity Gateway budgets track.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Governance:&lt;/STRONG&gt; both act with your Databricks identity when they touch the workspace.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-claude" target="_blank"&gt;Connect Claude Code&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Genie Code vs Cursor&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Cursor is an editor with AI built in, while Genie Code CLI is an agent that lives in a terminal, so the two combine well: edit in Cursor and open the CLI in Cursor's built-in terminal.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;/import&lt;/CODE&gt; in Genie Code CLI copies your existing Cursor configuration across.&lt;/LI&gt;
&lt;LI&gt;Connect Cursor itself to Databricks models through Unity Gateway as custom models; &lt;CODE&gt;ug mcp add --agents cursor&lt;/CODE&gt; then adds the managed MCP servers and the skills.&lt;/LI&gt;
&lt;LI&gt;Install the Databricks IDE extension in Cursor to deploy bundles and run local Python files on Databricks compute.&lt;/LI&gt;
&lt;LI&gt;For notebook and pipeline work inside the workspace, Genie Code in the UI stays the closest fit.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-cursor" target="_blank"&gt;Connect Cursor&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/dev-tools/vscode-ext/" target="_blank"&gt;Databricks IDE extension&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Genie Code vs GitHub Copilot&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; GitHub Copilot lives in your editor and terminal across any codebase, while Genie Code lives in Databricks and in Genie Code CLI, so use Copilot through Unity Gateway if your team runs on Copilot and Genie Code for Databricks-first work.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;ug copilot&lt;/CODE&gt; launches GitHub Copilot CLI with Databricks models, MCP servers and skills.&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;ug configure --agents copilot&lt;/CODE&gt; also sets up GitHub Copilot in Visual Studio Code; MCP servers there need Visual Studio Code 1.142 or later.&lt;/LI&gt;
&lt;LI&gt;Genie Code adds what Copilot lacks out of the box: Unity Catalog context in the workspace and Databricks skills in the CLI.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-copilot" target="_blank"&gt;Connect GitHub Copilot&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-supported-agents" target="_blank"&gt;supported agents&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Genie Code vs Cursor vs Claude Code for data engineering: which should I use?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; For pipeline work in the workspace, start with Genie Code in the Lakeflow Pipelines Editor; for code in git, pick Genie Code CLI for no setup, or Claude Code or Cursor through Unity Gateway if your team already lives in them.&lt;/P&gt;
&lt;PRE&gt;                 | Genie Code CLI                                 | Claude Code via ug claude                      | Cursor via Unity Gateway
-----------------+------------------------------------------------+------------------------------------------------+------------------------------------------------------------------
Databricks setup | Built in: skills, the Databricks CLI and Genie | ug configure, then ug claude                   | Custom models in Cursor settings, plus ug mcp add --agents cursor
Model choice     | Databricks provides the models                 | Choose with /model from what your admin allows | Choose from the custom models you configure
Billing          | Genie pay-as-you-go and Genie budgets          | Unity Gateway usage and budgets                | Unity Gateway usage and budgets for Databricks models
Best for         | Data and AI work in local repos                | Teams that already use Claude Code             | Teams that live in the Cursor editor&lt;/PRE&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-supported-agents" target="_blank"&gt;capability matrix&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/ldp/de-agent" target="_blank"&gt;Genie Code for pipelines&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Is Claude Code or Genie Code better for data engineering?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Pick Genie Code if you'd rather not configure anything and want help that already knows Unity Catalog; pick Claude Code if your team already runs it and has wired it to Databricks through Unity Gateway.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In the workspace, Genie Code can plan and generate an entire pipeline from scratch or speed up work on an existing one, showing the diff for every file it changes.&lt;/LI&gt;
&lt;LI&gt;In the terminal, both agents can drive the same Databricks CLI commands and the same bundles.&lt;/LI&gt;
&lt;LI&gt;Claude Code gains Databricks know-how from the agent skills installed with &lt;CODE&gt;databricks aitools install --agents claude-code&lt;/CODE&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ldp/de-agent" target="_blank"&gt;Genie Code for pipelines&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/agent-skills/" target="_blank"&gt;agent skills&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Is Claude Code or Genie Code better for machine learning?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; For ML on Databricks, Genie Code is the stronger default because it plans and runs notebook work against your data; Claude Code suits local, code-heavy ML repositories.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In notebooks, Genie Code plans solutions, retrieves relevant assets, runs code, learns from cell outputs and fixes errors.&lt;/LI&gt;
&lt;LI&gt;It also works in notebooks connected to AI Runtime for GPU deep learning.&lt;/LI&gt;
&lt;LI&gt;Claude Code edits files and runs commands on your machine; connect it with &lt;CODE&gt;ug claude&lt;/CODE&gt;, or run it on Databricks compute through the SSH tunnel (Beta).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/notebooks/ds-agent" target="_blank"&gt;Genie Code for data science&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/dev-tools/ssh-tunnel" target="_blank"&gt;SSH tunnel&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Is Codex or Genie Code better for data and ML?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Choose Genie Code when you want an agent Databricks already tuned for data and ML; choose Codex, OpenAI's coding agent, when your team already uses it, and run it with &lt;CODE&gt;ug codex&lt;/CODE&gt;.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;ug codex&lt;/CODE&gt; connects Codex to Databricks models, MCP servers and skills after you pick a workspace and sign in.&lt;/LI&gt;
&lt;LI&gt;Your admin can route a ChatGPT Go, Plus, Pro or Enterprise subscription to Codex through a model provider service.&lt;/LI&gt;
&lt;LI&gt;Codex and Claude Code are also available inside SSH tunnel sessions (Beta) on Databricks compute.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-codex" target="_blank"&gt;Connect Codex&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Is Cursor or Genie Code better for data practitioners?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Genie Code is usually the better fit for data practitioners because it works on governed tables, notebooks and pipelines; Cursor fits engineers who mostly write local application code.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Genie Code uses Unity Catalog tables, columns and lineage as context, inside your permissions.&lt;/LI&gt;
&lt;LI&gt;It follows user instructions, workspace instructions and AGENTS.md files, so team conventions apply without extra prompting.&lt;/LI&gt;
&lt;LI&gt;You don't have to choose one: Genie Code CLI runs in Cursor's terminal.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/" target="_blank"&gt;Genie Code&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/genie-code/instructions" target="_blank"&gt;custom instructions&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Should I use Databricks' built-in AI assistant or an external coding agent for notebooks and pipelines?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Inside the workspace, stay with the built-in Genie Code; once the code moves into a local git repository, switch to a terminal agent.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;In the workspace:&lt;/STRONG&gt; Genie Code sits beside your notebooks, queries and pipeline files. In a notebook, &lt;CODE&gt;/fix&lt;/CODE&gt; proposes a fix in a diff view, and "Accept and run" applies it and continues.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;In git:&lt;/STRONG&gt; Genie Code CLI, or Claude Code, Codex or GitHub Copilot launched through &lt;CODE&gt;ug&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;On Databricks compute:&lt;/STRONG&gt; the SSH tunnel (Beta) lets Claude Code and Codex run against serverless, AI Runtime or classic compute.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/notebooks/code-assistant" target="_blank"&gt;Genie Code in notebooks&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-ug-cli" target="_blank"&gt;Unity Gateway CLI&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Part 3: Unity Gateway, Omnigent and other agents&lt;/H2&gt;
&lt;H3&gt;What is the relationship between Genie Code CLI and Unity Gateway?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Unity Gateway supplies and tracks the models Genie Code CLI uses, while billing follows Genie Code: Genie pay-as-you-go pricing and Genie budgets.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Unity Gateway is the Databricks control plane for model inference, tools and skills across AI apps and coding agents.&lt;/LI&gt;
&lt;LI&gt;The CLI's usage is tracked through Unity Gateway and counts toward the same Genie budget as Genie Code; in &lt;CODE&gt;system.billing.usage&lt;/CODE&gt;, CLI rows carry &lt;CODE&gt;usage_metadata.genie.surface = GENIE_CODE_CLI&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;Each user's free monthly Genie usage is shared with the CLI.&lt;/LI&gt;
&lt;LI&gt;Unity Gateway has a second job: its &lt;CODE&gt;ug&lt;/CODE&gt; CLI launches other agents (Pi, OpenCode, Gemini CLI, GitHub Copilot CLI, Codex and Claude Code) with Databricks models and tools.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/unity-gateway/" target="_blank"&gt;Unity Gateway&lt;/A&gt;, &lt;A href="https://docs.databricks.com/aws/en/genie-code/genie-code-cli" target="_blank"&gt;Genie Code CLI billing&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/genie/budgets" target="_blank"&gt;Genie budgets&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;What is the relationship between Omnigent and Genie Code CLI?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; There's no integration today: Omnigent is a meta-harness, one control layer above several agents including Claude Code, Codex, Cursor and Pi, and Genie Code CLI isn't on its supported-harness list.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Omnigent is open source. You define an agent in a short YAML file and can change its harness or model in one line while tools, prompts, skills and policies stay put. Teams can also share one live session in real time.&lt;/LI&gt;
&lt;LI&gt;The managed version on Databricks is in Beta and adds a Databricks-operated Omnigent server, model access through Unity Gateway, and Databricks Sandboxes in select AWS regions.&lt;/LI&gt;
&lt;LI&gt;So treat them as separate choices: Genie Code CLI when one Databricks-tuned agent is enough, Omnigent when you need one control layer over several agents.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/omnigent" target="_blank"&gt;Omnigent on Databricks&lt;/A&gt; and &lt;A href="https://omnigent.ai/docs/build/harnesses/supported" target="_blank"&gt;Omnigent supported harnesses&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Can I use Claude Code or Cursor with Databricks?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Yes: launch Claude Code with &lt;CODE&gt;ug claude&lt;/CODE&gt;, and connect Cursor through custom models in its settings plus &lt;CODE&gt;ug mcp add --agents cursor&lt;/CODE&gt;.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Install the Unity Gateway CLI: &lt;CODE&gt;uv tool install git+&lt;A href="https://github.com/databricks/unity-gateway" target="_blank"&gt;https://github.com/databricks/unity-gateway&lt;/A&gt;&lt;/CODE&gt; (it needs &lt;CODE&gt;uv&lt;/CODE&gt;).&lt;/LI&gt;
&lt;LI&gt;Claude Code: run &lt;CODE&gt;ug claude&lt;/CODE&gt; in your project and sign in; switch models with &lt;CODE&gt;/model&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;Cursor IDE: add Databricks models as custom models in Cursor settings; &lt;CODE&gt;ug mcp add --agents cursor&lt;/CODE&gt; then wires in the managed MCP servers and the skills.&lt;/LI&gt;
&lt;LI&gt;Cursor Agent CLI: &lt;CODE&gt;ug cursor&lt;/CODE&gt; adds Databricks MCP servers and skills, but model requests still go through your Cursor account.&lt;/LI&gt;
&lt;LI&gt;Skills only, without Unity Gateway: &lt;CODE&gt;databricks aitools install --agents claude-code,cursor&lt;/CODE&gt;.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-claude" target="_blank"&gt;Connect Claude Code&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-cursor" target="_blank"&gt;Connect Cursor&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I connect Codex to Databricks?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; &lt;CODE&gt;ug codex&lt;/CODE&gt; is the shortest path: install the Unity Gateway CLI once, launch Codex through it from your project, and it handles sign-in and model setup.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Install &lt;CODE&gt;ug&lt;/CODE&gt; with &lt;CODE&gt;uv tool install git+&lt;A href="https://github.com/databricks/unity-gateway" target="_blank"&gt;https://github.com/databricks/unity-gateway&lt;/A&gt;&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;Run &lt;CODE&gt;ug codex&lt;/CODE&gt;, pick the workspace and sign in.&lt;/LI&gt;
&lt;LI&gt;Add tools with &lt;CODE&gt;ug mcp add&lt;/CODE&gt;, or name them, for example &lt;CODE&gt;ug mcp add --names system.ai.genie_one_mcp&lt;/CODE&gt;. MCP connections apply to every configured agent that supports MCP.&lt;/LI&gt;
&lt;LI&gt;Add Databricks skills with &lt;CODE&gt;ug skills add&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;To use your own ChatGPT plan, your admin creates a model provider service, and you pass its name, for example &lt;CODE&gt;ug codex --provider main.default.chatgpt_subscription --workspace https://&amp;lt;workspace&amp;gt;.databricks.com&lt;/CODE&gt;.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-codex" target="_blank"&gt;Connect Codex&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-mcp-skills" target="_blank"&gt;add MCP servers and skills&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I have Claude Code create and run a Databricks job?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Launch Claude Code with &lt;CODE&gt;ug claude&lt;/CODE&gt;, give it the Databricks skills, and ask for the job as a Declarative Automation Bundle that it validates, deploys to a development target and runs.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Sign in with &lt;CODE&gt;databricks auth login&lt;/CODE&gt;, and add skills with &lt;CODE&gt;databricks aitools install --agents claude-code&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;Run &lt;CODE&gt;ug claude&lt;/CODE&gt; and describe the job: what it runs, when, and on which compute. Ask it to keep the schedule paused at first.&lt;/LI&gt;
&lt;LI&gt;Approve &lt;CODE&gt;databricks bundle validate&lt;/CODE&gt;, then &lt;CODE&gt;databricks bundle deploy -t dev&lt;/CODE&gt;, then &lt;CODE&gt;databricks bundle run &amp;lt;job-key&amp;gt; -t dev&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;Promote the same bundle to production once the dev run looks right.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Bundles (formerly Databricks Asset Bundles) keep the job definition in git, so it gets code review like any other change. Docs: &lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/" target="_blank"&gt;Declarative Automation Bundles&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Part 4: Switching tools and team rules&lt;/H2&gt;
&lt;H3&gt;I'm moving from Cursor to Genie Code. How do I maintain my development productivity with fewer IDE features?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Stay in Cursor for editing, open Genie Code CLI in Cursor's built-in terminal, and bring your Cursor settings across with &lt;CODE&gt;/import&lt;/CODE&gt;.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Your editor features stay: Genie Code CLI only adds an agent next to them.&lt;/LI&gt;
&lt;LI&gt;The Databricks IDE extension adds bundle deploys, cluster runs and Databricks Connect debugging inside Cursor.&lt;/LI&gt;
&lt;LI&gt;Put conventions in AGENTS.md, so you don't repeat them in every prompt.&lt;/LI&gt;
&lt;LI&gt;Use &lt;CODE&gt;genie resume --last&lt;/CODE&gt; to pick up yesterday's conversation instead of re-explaining context.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/genie-code-cli" target="_blank"&gt;Genie Code CLI&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/dev-tools/vscode-ext/" target="_blank"&gt;Databricks IDE extension&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;I've been using Cursor AI editor for my full development workflow. Should I switch to Genie Code for Databricks-native work?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; You don't need to switch: add Databricks to Cursor through Unity Gateway, and use Genie Code where it is strongest, in the workspace and for Databricks-heavy terminal work.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Notebook, SQL and pipeline editing in the workspace is where Genie Code adds the most, because it sees Unity Catalog context.&lt;/LI&gt;
&lt;LI&gt;For terminal work in Cursor, run Genie Code CLI side by side with your existing setup.&lt;/LI&gt;
&lt;LI&gt;Keep one AGENTS.md in the repository so both agents follow the same project rules.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-cursor" target="_blank"&gt;Connect Cursor&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;GitHub Copilot suggests repository-wide context. How does Genie Code understand my Databricks workspace for better suggestions?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; In the workspace, Genie Code reads Unity Catalog tables, columns and lineage within your permissions; in the terminal, Genie Code CLI reads your repository and asks Databricks for data through the CLI and Genie.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The context Genie Code sends includes table and column names, descriptions and the code you are working on. With partner-powered AI features on, it can also send data samples and cell outputs.&lt;/LI&gt;
&lt;LI&gt;Workspace instructions, user instructions, AGENTS.md files and skills add your team's conventions on top.&lt;/LI&gt;
&lt;LI&gt;Memory lets it recall context from earlier sessions when it becomes relevant.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/" target="_blank"&gt;Genie Code&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/genie-code/memory" target="_blank"&gt;Genie Code memory&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I configure Genie Code with custom instructions and memory so it learns my coding patterns across sessions?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Write lasting rules as instructions, let memory collect working context as you go, and save repeatable workflows as skills.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;In the workspace:&lt;/STRONG&gt; add user instructions for your own preferences. Admins can add workspace instructions, which Genie Code generally ranks above user instructions. It also reads AGENTS.md and CLAUDE.md files.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Memory:&lt;/STRONG&gt; Genie Code builds memory while it works and shows in the chat when it saves or recalls one. Ask it plainly, for example "Remember that we use snake_case for Python."&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;In the CLI:&lt;/STRONG&gt; put rules in AGENTS.md at the project root, and personal skills in &lt;CODE&gt;~/.genie/skills/&lt;/CODE&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/instructions" target="_blank"&gt;custom instructions&lt;/A&gt;, &lt;A href="https://docs.databricks.com/aws/en/genie-code/memory" target="_blank"&gt;memory&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/genie-code/skills" target="_blank"&gt;skills&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I configure Genie Code to automatically follow my team's coding standards and architectural patterns?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Commit the standards as AGENTS.md plus shared skills in the repository, and have a workspace admin add workspace instructions for the same rules in the UI.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Genie Code CLI reads AGENTS.md from the project root at startup and loads team skills from &lt;CODE&gt;.agents/skills/&lt;/CODE&gt; in the repository.&lt;/LI&gt;
&lt;LI&gt;Genie Code in the workspace discovers AGENTS.md and CLAUDE.md files, and workspace skills load automatically when the task matches them.&lt;/LI&gt;
&lt;LI&gt;Skills follow the open Agent Skills format, so one definition can serve several agents.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/genie-code-cli" target="_blank"&gt;Genie Code CLI skills&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/genie-code/skills" target="_blank"&gt;Genie Code skills&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I validate Genie Code's proposed changes before applying to production?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Keep approvals on, read every diff, and run the change on a development target before production.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Use the "Ask first" approval mode, which approves each tool as it runs. The docs call auto-approve a productivity feature, not a security boundary.&lt;/LI&gt;
&lt;LI&gt;Review the per-file diffs that Genie Code shows for pipeline changes.&lt;/LI&gt;
&lt;LI&gt;Run &lt;CODE&gt;databricks bundle validate&lt;/CODE&gt;, then deploy to a development target with &lt;CODE&gt;databricks bundle deploy -t dev&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;In development mode, bundles prefix resource names, pause schedules and mark pipelines as development pipelines, so a test deploy stays out of production's way.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/navigate-genie-code" target="_blank"&gt;approvals&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/deployment-modes" target="_blank"&gt;deployment modes&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Part 5: Building and fixing pipelines with AI&lt;/H2&gt;
&lt;H3&gt;Is there a way to vibe code ETL pipelines?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Yes: describe the pipeline in plain language to Genie Code in the Lakeflow Pipelines Editor or in Lakeflow Designer, or to a terminal agent that writes a bundle; then review the plan and the diffs before anything runs.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Lakeflow Pipelines Editor:&lt;/STRONG&gt; Genie Code can generate an entire pipeline end to end, asks clarifying questions for complex tasks, and waits for your approval.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Lakeflow Designer:&lt;/STRONG&gt; Genie Code can also create and edit shared custom operators on the visual canvas.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Terminal:&lt;/STRONG&gt; Genie Code CLI, or Claude Code and Codex through Unity Gateway, can write a Declarative Automation Bundle that you deploy to dev.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ldp/de-agent" target="_blank"&gt;Genie Code for pipelines&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/release-notes/product/2026/november" target="_blank"&gt;November 2026 release notes&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I use Genie Code to auto-generate Lakeflow pipelines from natural language descriptions?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Open the Lakeflow Pipelines Editor, ask Genie Code for the pipeline in one description that names sources, targets, rules and schedule, then approve its plan step by step.&lt;/P&gt;
&lt;P&gt;A description that works well covers five things:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the source tables or files;&lt;/LI&gt;
&lt;LI&gt;each target table and the rule that defines it;&lt;/LI&gt;
&lt;LI&gt;the catalog and schema for the output;&lt;/LI&gt;
&lt;LI&gt;the compute, for example serverless;&lt;/LI&gt;
&lt;LI&gt;the schedule, and whether it starts paused.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Genie Code shows which files it changes and the diff in each, and it can run single files, dry-run or run the pipeline, or do a full refresh. Docs: &lt;A href="https://docs.databricks.com/aws/en/ldp/de-agent" target="_blank"&gt;Genie Code for pipelines&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I build a Spark Declarative Pipeline using AI assistance (Genie Code)?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Start a new pipeline in the Lakeflow Pipelines Editor, describe the tables and quality rules to Genie Code, approve its plan and edits, then dry-run before the first full run.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a new ETL pipeline in the workspace; it opens in the Lakeflow Pipelines Editor.&lt;/LI&gt;
&lt;LI&gt;Open Genie Code and describe sources, tables and data quality rules.&lt;/LI&gt;
&lt;LI&gt;Answer its clarifying questions and read the step-by-step plan.&lt;/LI&gt;
&lt;LI&gt;Approve the edits after reviewing the per-file code diffs.&lt;/LI&gt;
&lt;LI&gt;Dry-run to check the code, then run the pipeline.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Lakeflow pipelines run on Apache Spark Declarative Pipelines, the open declarative framework for batch and streaming work in SQL or Python. Docs: &lt;A href="https://docs.databricks.com/aws/en/ldp/" target="_blank"&gt;Lakeflow pipelines&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/ldp/de-agent" target="_blank"&gt;Genie Code for pipelines&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I build automated data pipelines with Genie Code?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Ask Genie Code for the pipeline plus a Lakeflow job that schedules it, packaged as a Declarative Automation Bundle, and deploy it to a development target first.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In the terminal, put the catalog, schema and CLI profile in AGENTS.md before you prompt, so every command targets the right place.&lt;/LI&gt;
&lt;LI&gt;Ask for the schedule to start paused, then unpause it after the first good run.&lt;/LI&gt;
&lt;LI&gt;Add expectations for your data rules so bad records are dropped or stop the update, and show up in data quality metrics.&lt;/LI&gt;
&lt;LI&gt;In the workspace, the Lakeflow Pipelines Editor covers the same task with diffs and dry runs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/" target="_blank"&gt;Declarative Automation Bundles&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/ldp/expectations" target="_blank"&gt;expectations&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I use Genie Code to debug a failing pipeline and propose fixes?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Ask Genie Code to read the failed update and propose a fix; it works through the error across files until it is resolved, and you approve each change.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;In the Lakeflow Pipelines Editor:&lt;/STRONG&gt; Genie Code reads the error, edits the relevant files with a diff per file, and can rerun once you approve.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;In the terminal:&lt;/STRONG&gt; have Genie Code CLI trace why the most recent update failed and patch the local code without deploying, then review the change before a dev deploy.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;In notebooks:&lt;/STRONG&gt; &lt;CODE&gt;/fix&lt;/CODE&gt; proposes a fix in a diff view, and Diagnose Error handles harder failures, including environment errors.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ldp/de-agent" target="_blank"&gt;Genie Code for pipelines&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/genie-code/features-capabilities" target="_blank"&gt;Genie Code features&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I use Genie Code to automatically debug data pipeline errors?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; For hands-off triage, add a Genie Code task to the pipeline's job and run it only when the pipeline task fails, using a Run if condition.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;In the Jobs UI, open the Tasks tab and add a Genie Code task that depends on the pipeline task.&lt;/LI&gt;
&lt;LI&gt;Choose At least one failed in that task's Run if dependencies field, so the agent runs only when something breaks.&lt;/LI&gt;
&lt;LI&gt;Prompt it to read the failure, explain the cause and suggest a fix. Asking for a summary rather than code changes keeps it low risk.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Know the trade-off: a Genie Code task runs with auto-approve as an autonomous agent. After the run, you can open its chat and continue. Docs: &lt;A href="https://docs.databricks.com/aws/en/jobs/tasks/genie-code" target="_blank"&gt;Genie Code task&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/jobs/run-if" target="_blank"&gt;Run if dependencies&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Can I vibe code an ETL pipeline with Genie Code in Databricks, and what Spark checks should I run on the generated code?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Yes, and treat the generated code like a pull request from a new teammate: validate the bundle, check the deployment mode, test row counts, add expectations, and dry-run.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Validate:&lt;/STRONG&gt; run &lt;CODE&gt;databricks bundle validate&lt;/CODE&gt; before every deploy.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Deployment mode:&lt;/STRONG&gt; know what development mode changes (name prefixes, paused schedules, development pipelines) before you decide on dev or prod settings.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Counts:&lt;/STRONG&gt; compare each new table's row count with your own SQL on the source.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Expectations:&lt;/STRONG&gt; encode data rules so invalid records are dropped or fail the update.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Dry run:&lt;/STRONG&gt; check the code in the Lakeflow Pipelines Editor without updating data.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Legacy patterns:&lt;/STRONG&gt; search generated Python for RDD calls, &lt;CODE&gt;sparkContext&lt;/CODE&gt;, DBFS mounts and &lt;CODE&gt;hive_metastore&lt;/CODE&gt; names that your compute may not support.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ldp/expectations" target="_blank"&gt;expectations&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/deployment-modes" target="_blank"&gt;deployment modes&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I use Genie Code to generate and orchestrate multi-step data workflows from natural language prompts?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Describe each step, its order and its failure handling in one prompt, ask for a Lakeflow job in a Declarative Automation Bundle, and review the task graph before you deploy.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Name every task and what it depends on, for example ingest, then refresh the pipeline, then publish the report.&lt;/LI&gt;
&lt;LI&gt;Ask for Run if conditions: All succeeded, At least one succeeded, None failed, All done, At least one failed or All failed.&lt;/LI&gt;
&lt;LI&gt;When one step needs judgment, such as summarizing a failure, make it a Genie Code task.&lt;/LI&gt;
&lt;LI&gt;Deploy to a development target first, and keep the schedule paused until the first run passes.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/jobs/run-if" target="_blank"&gt;Run if dependencies&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/jobs/tasks/genie-code" target="_blank"&gt;Genie Code task&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Part 6: Developer tools and data access&lt;/H2&gt;
&lt;H3&gt;How do I use Genie Code CLI for local Python data analysis without opening the UI?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Run &lt;CODE&gt;genie&lt;/CODE&gt; in your project folder, pick a CLI profile, and ask the question in plain language; the CLI finds the data through Databricks and writes local Python for the analysis.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a profile with &lt;CODE&gt;databricks auth login&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;Start &lt;CODE&gt;genie&lt;/CODE&gt; in the project folder and select that profile.&lt;/LI&gt;
&lt;LI&gt;Ask, for example, "Load last month's orders from our sales schema and chart revenue by week with pandas."&lt;/LI&gt;
&lt;LI&gt;For data access from local Python, ask the agent to read data with Databricks Connect or the Databricks SQL Connector for Python.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;For questions in business terms, connect the Genie One MCP server with &lt;CODE&gt;genie mcp add&lt;/CODE&gt;, using a token from &lt;CODE&gt;databricks auth token&lt;/CODE&gt;. Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/genie-code-cli" target="_blank"&gt;Genie Code CLI&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How can a coding agent run SQL queries on Databricks?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Connect the agent to the Databricks SQL MCP server when you need precise SQL, to the Genie One MCP server when the question is phrased in business terms, or let it use the Databricks CLI and the SQL Statement Execution API from a terminal.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;system.ai.dbsql (Beta):&lt;/STRONG&gt; three tools, &lt;CODE&gt;poll_sql_result&lt;/CODE&gt;, &lt;CODE&gt;execute_sql_read_only&lt;/CODE&gt; and &lt;CODE&gt;execute_sql&lt;/CODE&gt;, running with the caller's permissions. It allows writes by default; set &lt;CODE&gt;disallow_writes&lt;/CODE&gt; to true in &lt;CODE&gt;system.ai.dbsql_policy&lt;/CODE&gt; to make it read-only. It needs the Enhanced Unity Gateway preview, which an account admin turns on; until then, use the &lt;CODE&gt;/api/2.0/mcp/sql&lt;/CODE&gt; endpoint.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;system.ai.genie_one_mcp:&lt;/STRONG&gt; recommended for natural-language analytics across the workspace.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Terminal:&lt;/STRONG&gt; &lt;CODE&gt;databricks genie ask&lt;/CODE&gt;, or the SQL Statement Execution API against a SQL warehouse.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/agents/mcp-tools/databricks-sql" target="_blank"&gt;Databricks SQL MCP&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/agents/mcp-tools/built-in-mcp-services" target="_blank"&gt;built-in MCP services&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Which interfaces can external tools use to work with Databricks: REST API, CLI, SDK, or MCP?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; All four, each for a different job: MCP for AI agents, SDKs for application code, the CLI for scripts and deployments, and the REST API for everything else.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;MCP:&lt;/STRONG&gt; managed servers in &lt;CODE&gt;system.ai&lt;/CODE&gt;, such as &lt;CODE&gt;system.ai.genie_one_mcp&lt;/CODE&gt; and &lt;CODE&gt;system.ai.dbsql&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;SDKs:&lt;/STRONG&gt; Python, JavaScript, Go and Java from Databricks, plus an R SDK from Databricks Labs.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;CLI:&lt;/STRONG&gt; profiles, bundles and scripted operations.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;REST API and SQL:&lt;/STRONG&gt; the REST API for full coverage, and the SQL Statement Execution API or SQL drivers for running SQL from applications.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Each call runs as a Databricks identity, so Unity Catalog permissions decide what it can see. Docs: &lt;A href="https://docs.databricks.com/aws/en/dev-tools/sdks" target="_blank"&gt;SDKs&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/agents/mcp-tools/built-in-mcp-services" target="_blank"&gt;built-in MCP services&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;What developer tools does Databricks offer outside the web workspace?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; For the terminal there's the Databricks CLI and Declarative Automation Bundles; for editors, the Databricks IDE extension; for code, the SDKs, SQL connectors and REST API; and for agents, Genie Code CLI, the &lt;CODE&gt;ug&lt;/CODE&gt; CLI and agent skills.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Terminal:&lt;/STRONG&gt; the Databricks CLI and bundles; the SSH tunnel (Beta) to serverless, AI Runtime or classic compute; Databricks Sandbox (Beta) for isolated agent loops.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;IDE:&lt;/STRONG&gt; the Databricks IDE extension runs local Python on clusters, runs files and notebooks as Lakeflow Jobs, and debugs with Databricks Connect.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Agents:&lt;/STRONG&gt; Genie Code CLI; &lt;CODE&gt;ug&lt;/CODE&gt; for Claude Code, Codex, Copilot, Gemini CLI, OpenCode and Pi; &lt;CODE&gt;databricks aitools install&lt;/CODE&gt; for skills.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/dev-tools/vscode-ext/" target="_blank"&gt;Databricks IDE extension&lt;/A&gt;, &lt;A href="https://docs.databricks.com/aws/en/dev-tools/ssh-tunnel" target="_blank"&gt;SSH tunnel&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/compute/serverless/sandbox" target="_blank"&gt;Databricks Sandbox&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Should I use the workspace UI or my own IDE for Databricks development?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Explore data, notebooks, dashboards and pipeline graphs in the workspace; do git-based work, testing and refactoring in your own IDE; bundles let one project move between the two.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Workspace:&lt;/STRONG&gt; notebooks and queries, pipeline graphs in the Lakeflow Pipelines Editor, and the complete Genie Code experience.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;IDE:&lt;/STRONG&gt; pull requests, unit tests and multi-file refactors, with the Databricks IDE extension or Databricks Connect.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Bridge:&lt;/STRONG&gt; the SSH tunnel (Beta) runs your local IDE against remote compute; it needs Databricks CLI 1.5.0 or later.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/dev-tools/vscode-ext/" target="_blank"&gt;Databricks IDE extension&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/dev-tools/ssh-tunnel" target="_blank"&gt;SSH tunnel&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;What is the best developer experience for data engineers on Databricks?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Store each pipeline as a Declarative Automation Bundle in git, then work on whichever surface suits the task (the Lakeflow Pipelines Editor, a local IDE or a terminal agent), because all three deploy the same bundle.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Workspace:&lt;/STRONG&gt; the Lakeflow Pipelines Editor with Genie Code for graph views, diffs and dry runs.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;IDE:&lt;/STRONG&gt; the Databricks IDE extension for bundle deploys and Databricks Connect debugging.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Terminal:&lt;/STRONG&gt; the Databricks CLI plus a coding agent such as Genie Code CLI.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;My rule of thumb: every change, from any surface, goes through &lt;CODE&gt;databricks bundle validate&lt;/CODE&gt; and a dev deploy before production. Docs: &lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/" target="_blank"&gt;Declarative Automation Bundles&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Quick reference&lt;/H2&gt;
&lt;PRE&gt;If you want to…                                        | Use
-------------------------------------------------------+---------------------------------------------------------
Start a Databricks-tuned agent in your terminal        | genie (Genie Code CLI)
Resume yesterday's CLI conversation                    | genie resume --last
Bring your Claude Code or Cursor setup into the CLI    | /import
Give the CLI business-level data answers               | genie mcp add with the Genie One MCP server
Use Databricks models in Copilot, Codex or Claude Code | ug copilot, ug codex or ug claude
Add Databricks MCP servers to Cursor                   | ug mcp add --agents cursor
Install Databricks skills into other agents            | databricks aitools install
Make the SQL MCP server read-only                      | disallow_writes in system.ai.dbsql_policy
Triage pipeline failures automatically                 | A Genie Code task with Run if set to At least one failed
Test a change safely                                   | databricks bundle validate, then deploy -t dev&lt;/PRE&gt;
&lt;H2&gt;FAQ&lt;/H2&gt;
&lt;P&gt;&lt;STRONG&gt;How is Genie Code CLI billed?&lt;/STRONG&gt; Like Genie Code: Genie pay-as-you-go pricing, sharing each user's free monthly Genie usage and counting toward the same Genie budget. Unity Gateway tracks the usage. See &lt;A href="https://docs.databricks.com/aws/en/genie-code/genie-code-cli" target="_blank"&gt;Genie Code CLI billing&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Can Genie Code CLI run in CI with a service principal?&lt;/STRONG&gt; No. It signs in only through OAuth user-to-machine (U2M), using a Databricks CLI profile you create with &lt;CODE&gt;databricks auth login&lt;/CODE&gt;; machine-to-machine OAuth and personal access tokens aren't supported. For MCP servers you connect yourself, you pass a token through &lt;CODE&gt;--bearer-token-env-var&lt;/CODE&gt;, and an expired token returns 401 until you restart with a fresh one.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Where is Genie Code CLI unavailable?&lt;/STRONG&gt; In regions without Genie pay-as-you-go billing, which the docs list as Azure West Central US, Qatar Central, AWS Asia Pacific (Jakarta) and government regions. Availability also depends on the Designated Services geography setting.&lt;/P&gt;
&lt;H2&gt;Sources&lt;/H2&gt;
&lt;P&gt;All Databricks documentation pages above were checked on December 1, 2026. Release dates come from the &lt;A href="https://docs.databricks.com/aws/en/release-notes/product/2026/november" target="_blank"&gt;November 2026 release notes&lt;/A&gt;. Product names and status labels change quickly, so check the linked page before you rely on a detail.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Opinions here are my own.&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Dec 2026 04:36:08 GMT</pubDate>
    <dc:creator>Saurabh2310</dc:creator>
    <dc:date>2026-12-01T04:36:08Z</dc:date>
    <item>
      <title>Genie Code CLI vs Claude Code, Cursor, Codex and Copilot: a sourced guide for Databricks developers</title>
      <link>https://community.databricks.com/t5/genie-hub/genie-code-cli-vs-claude-code-cursor-codex-and-copilot-a-sourced/m-p/178275#M167</link>
      <description>&lt;P&gt;&lt;EM&gt;Updated December 1, 2026: what Genie Code CLI does, how it compares with other coding agents, where Unity Gateway and Omnigent fit, and how to build and debug Lakeflow pipelines with AI. Every product fact links to the Databricks docs.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Coding agents now touch almost every part of data engineering on Databricks. The hard part is picking one. Below are direct answers to the questions developers ask most about Genie Code CLI and the agents around it, sorted by the decision you are trying to make. Each answer starts with a one-line reply, then gives the details and the doc to check.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Status as of December 1, 2026&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;Item                                        | Status                                      | Source
--------------------------------------------+---------------------------------------------+----------------------------
Genie Code CLI                              | Generally available since November 18, 2026 | November 2026 release notes
Genie Code CLI sign-in                      | OAuth user-to-machine (U2M) only            | Genie Code CLI limitations
Omnigent on Databricks                      | Beta                                        | Omnigent on Databricks
SSH tunnel                                  | Beta                                        | SSH tunnel
Databricks SQL MCP server (system.ai.dbsql) | Beta                                        | Databricks SQL MCP&lt;/PRE&gt;
&lt;H2&gt;Part 1: Genie Code CLI basics&lt;/H2&gt;
&lt;H3&gt;What is Genie Code CLI and when should I use it?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Genie Code CLI is a Databricks coding agent that runs in your local terminal and arrives already set up for data and AI work, so reach for it when your code lives on your laptop or in git.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;What it does:&lt;/STRONG&gt; it reads and edits files in the folder where you start it, runs commands, and calls into Databricks on your behalf through the Databricks CLI, including &lt;CODE&gt;databricks genie ask&lt;/CODE&gt; for data questions.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;What comes built in:&lt;/STRONG&gt; Databricks agent skills (in &lt;CODE&gt;~/.genie/skills/.system/&lt;/CODE&gt;) and models that Databricks provides, so there is no separate model subscription to buy.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Who it acts as:&lt;/STRONG&gt; you. Workspace operations run under your Databricks identity, so Unity Catalog permissions apply; edits and commands on your own machine are outside Databricks governance.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Requirements:&lt;/STRONG&gt; a workspace in a supported region, partner-powered AI features on, Unity Catalog enabled, and Databricks CLI 1.0.0 or later.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Use Genie Code in the workspace instead when you want the full in-product feature set. Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/genie-code-cli" target="_blank"&gt;Genie Code CLI&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Can I use Genie Code outside the workspace?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Yes: Genie Code CLI runs on macOS, Linux or Windows, in any terminal or IDE terminal, while signing in to a workspace for models and data.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Install with the one-line script for your OS, run &lt;CODE&gt;genie&lt;/CODE&gt; in a project folder, and pick a Databricks CLI profile when prompted. That profile decides model access and billing.&lt;/LI&gt;
&lt;LI&gt;It works inside the integrated terminal of Visual Studio Code, Cursor or IntelliJ IDEA.&lt;/LI&gt;
&lt;LI&gt;It does &lt;STRONG&gt;not&lt;/STRONG&gt; run inside SSH tunnel sessions; the docs ask you to run it on your local machine.&lt;/LI&gt;
&lt;LI&gt;On supported Windows 11 devices, version 0.5.1 and later isolate local commands with Microsoft Execution Containers (MXC) by default.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/genie-code-cli" target="_blank"&gt;Install and set up Genie Code CLI&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;What's the difference between Genie Code in the UI and CLI?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; The workspace version of Genie Code acts on notebooks, queries, pipelines and dashboards inside Databricks, while Genie Code CLI acts on local files from your terminal, and each keeps its own tools, skills and instructions.&lt;/P&gt;
&lt;PRE&gt;             | Genie Code in the workspace                                                           | Genie Code CLI
-------------+---------------------------------------------------------------------------------------+---------------------------------------------------------------------
Runs in      | Notebooks, MLflow, AI/BI dashboards, the Lakeflow Pipelines Editor and the SQL editor | A local terminal or IDE terminal
Works on     | Workspace assets, with Unity Catalog tables, columns and lineage as context           | Local files, shell commands and git, plus Databricks through the CLI
Instructions | User and workspace instructions, plus AGENTS.md and CLAUDE.md files in the workspace  | AGENTS.md in the project root
Skills       | Workspace skills in /Workspace/.assistant/skills/                                     | Local folders such as ~/.genie/skills/ and .agents/skills/
Feature set  | The complete experience                                                               | Not yet every workspace capability&lt;/PRE&gt;
&lt;P&gt;The CLI doesn't share its skills or instructions with the workspace today. Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/" target="_blank"&gt;Genie Code&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/genie-code/genie-code-cli" target="_blank"&gt;how the CLI differs&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;What's the difference between Genie One and Genie Code?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Genie One is the simplified Databricks UI where business users ask data questions in plain language, while Genie Code is the agent developers use to write, run and fix code.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Genie One&lt;/STRONG&gt; (previously called Databricks One) finds a relevant Genie Agent or data asset, writes and runs the SQL, and cites the sources it used. Queries run as the user, so Unity Catalog privileges, row filters and column masks apply. People reach it on the web, in the mobile and desktop apps, from a Chrome new tab, or in Slack.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Genie Code&lt;/STRONG&gt; plans and edits notebooks, SQL, pipelines and dashboards in the workspace, and Genie Code CLI brings the same idea to the terminal.&lt;/LI&gt;
&lt;LI&gt;The two meet in the CLI: it can hand a data question to Genie through &lt;CODE&gt;databricks genie ask&lt;/CODE&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-one/" target="_blank"&gt;Genie One&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/genie-code/" target="_blank"&gt;Genie Code&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Part 2: Choosing a coding agent&lt;/H2&gt;
&lt;H3&gt;Genie Code vs Claude Code&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Claude Code is Anthropic's general-purpose agentic coding tool; Genie Code is the Databricks-native agent, so choose Genie Code for zero-setup Databricks work and Claude Code when your team already standardizes on it.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Setup:&lt;/STRONG&gt; Genie Code CLI ships with Databricks skills and Databricks-provided models. Launching Claude Code with &lt;CODE&gt;ug claude&lt;/CODE&gt; gives it Databricks-served models, managed MCP servers and shared skills.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Models:&lt;/STRONG&gt; with &lt;CODE&gt;ug claude&lt;/CODE&gt; you can switch models with &lt;CODE&gt;/model&lt;/CODE&gt;, and your admin can even route a Claude Pro, Max, Team or Enterprise subscription through Unity Gateway.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Billing:&lt;/STRONG&gt; Genie Code CLI is billed like Genie Code; Claude Code through Unity Gateway is model usage that Unity Gateway budgets track.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Governance:&lt;/STRONG&gt; both act with your Databricks identity when they touch the workspace.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-claude" target="_blank"&gt;Connect Claude Code&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Genie Code vs Cursor&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Cursor is an editor with AI built in, while Genie Code CLI is an agent that lives in a terminal, so the two combine well: edit in Cursor and open the CLI in Cursor's built-in terminal.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;/import&lt;/CODE&gt; in Genie Code CLI copies your existing Cursor configuration across.&lt;/LI&gt;
&lt;LI&gt;Connect Cursor itself to Databricks models through Unity Gateway as custom models; &lt;CODE&gt;ug mcp add --agents cursor&lt;/CODE&gt; then adds the managed MCP servers and the skills.&lt;/LI&gt;
&lt;LI&gt;Install the Databricks IDE extension in Cursor to deploy bundles and run local Python files on Databricks compute.&lt;/LI&gt;
&lt;LI&gt;For notebook and pipeline work inside the workspace, Genie Code in the UI stays the closest fit.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-cursor" target="_blank"&gt;Connect Cursor&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/dev-tools/vscode-ext/" target="_blank"&gt;Databricks IDE extension&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Genie Code vs GitHub Copilot&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; GitHub Copilot lives in your editor and terminal across any codebase, while Genie Code lives in Databricks and in Genie Code CLI, so use Copilot through Unity Gateway if your team runs on Copilot and Genie Code for Databricks-first work.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;ug copilot&lt;/CODE&gt; launches GitHub Copilot CLI with Databricks models, MCP servers and skills.&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;ug configure --agents copilot&lt;/CODE&gt; also sets up GitHub Copilot in Visual Studio Code; MCP servers there need Visual Studio Code 1.142 or later.&lt;/LI&gt;
&lt;LI&gt;Genie Code adds what Copilot lacks out of the box: Unity Catalog context in the workspace and Databricks skills in the CLI.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-copilot" target="_blank"&gt;Connect GitHub Copilot&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-supported-agents" target="_blank"&gt;supported agents&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Genie Code vs Cursor vs Claude Code for data engineering: which should I use?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; For pipeline work in the workspace, start with Genie Code in the Lakeflow Pipelines Editor; for code in git, pick Genie Code CLI for no setup, or Claude Code or Cursor through Unity Gateway if your team already lives in them.&lt;/P&gt;
&lt;PRE&gt;                 | Genie Code CLI                                 | Claude Code via ug claude                      | Cursor via Unity Gateway
-----------------+------------------------------------------------+------------------------------------------------+------------------------------------------------------------------
Databricks setup | Built in: skills, the Databricks CLI and Genie | ug configure, then ug claude                   | Custom models in Cursor settings, plus ug mcp add --agents cursor
Model choice     | Databricks provides the models                 | Choose with /model from what your admin allows | Choose from the custom models you configure
Billing          | Genie pay-as-you-go and Genie budgets          | Unity Gateway usage and budgets                | Unity Gateway usage and budgets for Databricks models
Best for         | Data and AI work in local repos                | Teams that already use Claude Code             | Teams that live in the Cursor editor&lt;/PRE&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-supported-agents" target="_blank"&gt;capability matrix&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/ldp/de-agent" target="_blank"&gt;Genie Code for pipelines&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Is Claude Code or Genie Code better for data engineering?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Pick Genie Code if you'd rather not configure anything and want help that already knows Unity Catalog; pick Claude Code if your team already runs it and has wired it to Databricks through Unity Gateway.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In the workspace, Genie Code can plan and generate an entire pipeline from scratch or speed up work on an existing one, showing the diff for every file it changes.&lt;/LI&gt;
&lt;LI&gt;In the terminal, both agents can drive the same Databricks CLI commands and the same bundles.&lt;/LI&gt;
&lt;LI&gt;Claude Code gains Databricks know-how from the agent skills installed with &lt;CODE&gt;databricks aitools install --agents claude-code&lt;/CODE&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ldp/de-agent" target="_blank"&gt;Genie Code for pipelines&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/agent-skills/" target="_blank"&gt;agent skills&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Is Claude Code or Genie Code better for machine learning?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; For ML on Databricks, Genie Code is the stronger default because it plans and runs notebook work against your data; Claude Code suits local, code-heavy ML repositories.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In notebooks, Genie Code plans solutions, retrieves relevant assets, runs code, learns from cell outputs and fixes errors.&lt;/LI&gt;
&lt;LI&gt;It also works in notebooks connected to AI Runtime for GPU deep learning.&lt;/LI&gt;
&lt;LI&gt;Claude Code edits files and runs commands on your machine; connect it with &lt;CODE&gt;ug claude&lt;/CODE&gt;, or run it on Databricks compute through the SSH tunnel (Beta).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/notebooks/ds-agent" target="_blank"&gt;Genie Code for data science&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/dev-tools/ssh-tunnel" target="_blank"&gt;SSH tunnel&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Is Codex or Genie Code better for data and ML?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Choose Genie Code when you want an agent Databricks already tuned for data and ML; choose Codex, OpenAI's coding agent, when your team already uses it, and run it with &lt;CODE&gt;ug codex&lt;/CODE&gt;.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;ug codex&lt;/CODE&gt; connects Codex to Databricks models, MCP servers and skills after you pick a workspace and sign in.&lt;/LI&gt;
&lt;LI&gt;Your admin can route a ChatGPT Go, Plus, Pro or Enterprise subscription to Codex through a model provider service.&lt;/LI&gt;
&lt;LI&gt;Codex and Claude Code are also available inside SSH tunnel sessions (Beta) on Databricks compute.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-codex" target="_blank"&gt;Connect Codex&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Is Cursor or Genie Code better for data practitioners?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Genie Code is usually the better fit for data practitioners because it works on governed tables, notebooks and pipelines; Cursor fits engineers who mostly write local application code.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Genie Code uses Unity Catalog tables, columns and lineage as context, inside your permissions.&lt;/LI&gt;
&lt;LI&gt;It follows user instructions, workspace instructions and AGENTS.md files, so team conventions apply without extra prompting.&lt;/LI&gt;
&lt;LI&gt;You don't have to choose one: Genie Code CLI runs in Cursor's terminal.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/" target="_blank"&gt;Genie Code&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/genie-code/instructions" target="_blank"&gt;custom instructions&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Should I use Databricks' built-in AI assistant or an external coding agent for notebooks and pipelines?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Inside the workspace, stay with the built-in Genie Code; once the code moves into a local git repository, switch to a terminal agent.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;In the workspace:&lt;/STRONG&gt; Genie Code sits beside your notebooks, queries and pipeline files. In a notebook, &lt;CODE&gt;/fix&lt;/CODE&gt; proposes a fix in a diff view, and "Accept and run" applies it and continues.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;In git:&lt;/STRONG&gt; Genie Code CLI, or Claude Code, Codex or GitHub Copilot launched through &lt;CODE&gt;ug&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;On Databricks compute:&lt;/STRONG&gt; the SSH tunnel (Beta) lets Claude Code and Codex run against serverless, AI Runtime or classic compute.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/notebooks/code-assistant" target="_blank"&gt;Genie Code in notebooks&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-ug-cli" target="_blank"&gt;Unity Gateway CLI&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Part 3: Unity Gateway, Omnigent and other agents&lt;/H2&gt;
&lt;H3&gt;What is the relationship between Genie Code CLI and Unity Gateway?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Unity Gateway supplies and tracks the models Genie Code CLI uses, while billing follows Genie Code: Genie pay-as-you-go pricing and Genie budgets.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Unity Gateway is the Databricks control plane for model inference, tools and skills across AI apps and coding agents.&lt;/LI&gt;
&lt;LI&gt;The CLI's usage is tracked through Unity Gateway and counts toward the same Genie budget as Genie Code; in &lt;CODE&gt;system.billing.usage&lt;/CODE&gt;, CLI rows carry &lt;CODE&gt;usage_metadata.genie.surface = GENIE_CODE_CLI&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;Each user's free monthly Genie usage is shared with the CLI.&lt;/LI&gt;
&lt;LI&gt;Unity Gateway has a second job: its &lt;CODE&gt;ug&lt;/CODE&gt; CLI launches other agents (Pi, OpenCode, Gemini CLI, GitHub Copilot CLI, Codex and Claude Code) with Databricks models and tools.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/unity-gateway/" target="_blank"&gt;Unity Gateway&lt;/A&gt;, &lt;A href="https://docs.databricks.com/aws/en/genie-code/genie-code-cli" target="_blank"&gt;Genie Code CLI billing&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/genie/budgets" target="_blank"&gt;Genie budgets&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;What is the relationship between Omnigent and Genie Code CLI?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; There's no integration today: Omnigent is a meta-harness, one control layer above several agents including Claude Code, Codex, Cursor and Pi, and Genie Code CLI isn't on its supported-harness list.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Omnigent is open source. You define an agent in a short YAML file and can change its harness or model in one line while tools, prompts, skills and policies stay put. Teams can also share one live session in real time.&lt;/LI&gt;
&lt;LI&gt;The managed version on Databricks is in Beta and adds a Databricks-operated Omnigent server, model access through Unity Gateway, and Databricks Sandboxes in select AWS regions.&lt;/LI&gt;
&lt;LI&gt;So treat them as separate choices: Genie Code CLI when one Databricks-tuned agent is enough, Omnigent when you need one control layer over several agents.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/omnigent" target="_blank"&gt;Omnigent on Databricks&lt;/A&gt; and &lt;A href="https://omnigent.ai/docs/build/harnesses/supported" target="_blank"&gt;Omnigent supported harnesses&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Can I use Claude Code or Cursor with Databricks?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Yes: launch Claude Code with &lt;CODE&gt;ug claude&lt;/CODE&gt;, and connect Cursor through custom models in its settings plus &lt;CODE&gt;ug mcp add --agents cursor&lt;/CODE&gt;.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Install the Unity Gateway CLI: &lt;CODE&gt;uv tool install git+&lt;A href="https://github.com/databricks/unity-gateway" target="_blank"&gt;https://github.com/databricks/unity-gateway&lt;/A&gt;&lt;/CODE&gt; (it needs &lt;CODE&gt;uv&lt;/CODE&gt;).&lt;/LI&gt;
&lt;LI&gt;Claude Code: run &lt;CODE&gt;ug claude&lt;/CODE&gt; in your project and sign in; switch models with &lt;CODE&gt;/model&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;Cursor IDE: add Databricks models as custom models in Cursor settings; &lt;CODE&gt;ug mcp add --agents cursor&lt;/CODE&gt; then wires in the managed MCP servers and the skills.&lt;/LI&gt;
&lt;LI&gt;Cursor Agent CLI: &lt;CODE&gt;ug cursor&lt;/CODE&gt; adds Databricks MCP servers and skills, but model requests still go through your Cursor account.&lt;/LI&gt;
&lt;LI&gt;Skills only, without Unity Gateway: &lt;CODE&gt;databricks aitools install --agents claude-code,cursor&lt;/CODE&gt;.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-claude" target="_blank"&gt;Connect Claude Code&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-cursor" target="_blank"&gt;Connect Cursor&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I connect Codex to Databricks?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; &lt;CODE&gt;ug codex&lt;/CODE&gt; is the shortest path: install the Unity Gateway CLI once, launch Codex through it from your project, and it handles sign-in and model setup.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Install &lt;CODE&gt;ug&lt;/CODE&gt; with &lt;CODE&gt;uv tool install git+&lt;A href="https://github.com/databricks/unity-gateway" target="_blank"&gt;https://github.com/databricks/unity-gateway&lt;/A&gt;&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;Run &lt;CODE&gt;ug codex&lt;/CODE&gt;, pick the workspace and sign in.&lt;/LI&gt;
&lt;LI&gt;Add tools with &lt;CODE&gt;ug mcp add&lt;/CODE&gt;, or name them, for example &lt;CODE&gt;ug mcp add --names system.ai.genie_one_mcp&lt;/CODE&gt;. MCP connections apply to every configured agent that supports MCP.&lt;/LI&gt;
&lt;LI&gt;Add Databricks skills with &lt;CODE&gt;ug skills add&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;To use your own ChatGPT plan, your admin creates a model provider service, and you pass its name, for example &lt;CODE&gt;ug codex --provider main.default.chatgpt_subscription --workspace https://&amp;lt;workspace&amp;gt;.databricks.com&lt;/CODE&gt;.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-codex" target="_blank"&gt;Connect Codex&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-mcp-skills" target="_blank"&gt;add MCP servers and skills&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I have Claude Code create and run a Databricks job?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Launch Claude Code with &lt;CODE&gt;ug claude&lt;/CODE&gt;, give it the Databricks skills, and ask for the job as a Declarative Automation Bundle that it validates, deploys to a development target and runs.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Sign in with &lt;CODE&gt;databricks auth login&lt;/CODE&gt;, and add skills with &lt;CODE&gt;databricks aitools install --agents claude-code&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;Run &lt;CODE&gt;ug claude&lt;/CODE&gt; and describe the job: what it runs, when, and on which compute. Ask it to keep the schedule paused at first.&lt;/LI&gt;
&lt;LI&gt;Approve &lt;CODE&gt;databricks bundle validate&lt;/CODE&gt;, then &lt;CODE&gt;databricks bundle deploy -t dev&lt;/CODE&gt;, then &lt;CODE&gt;databricks bundle run &amp;lt;job-key&amp;gt; -t dev&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;Promote the same bundle to production once the dev run looks right.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Bundles (formerly Databricks Asset Bundles) keep the job definition in git, so it gets code review like any other change. Docs: &lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/" target="_blank"&gt;Declarative Automation Bundles&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Part 4: Switching tools and team rules&lt;/H2&gt;
&lt;H3&gt;I'm moving from Cursor to Genie Code. How do I maintain my development productivity with fewer IDE features?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Stay in Cursor for editing, open Genie Code CLI in Cursor's built-in terminal, and bring your Cursor settings across with &lt;CODE&gt;/import&lt;/CODE&gt;.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Your editor features stay: Genie Code CLI only adds an agent next to them.&lt;/LI&gt;
&lt;LI&gt;The Databricks IDE extension adds bundle deploys, cluster runs and Databricks Connect debugging inside Cursor.&lt;/LI&gt;
&lt;LI&gt;Put conventions in AGENTS.md, so you don't repeat them in every prompt.&lt;/LI&gt;
&lt;LI&gt;Use &lt;CODE&gt;genie resume --last&lt;/CODE&gt; to pick up yesterday's conversation instead of re-explaining context.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/genie-code-cli" target="_blank"&gt;Genie Code CLI&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/dev-tools/vscode-ext/" target="_blank"&gt;Databricks IDE extension&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;I've been using Cursor AI editor for my full development workflow. Should I switch to Genie Code for Databricks-native work?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; You don't need to switch: add Databricks to Cursor through Unity Gateway, and use Genie Code where it is strongest, in the workspace and for Databricks-heavy terminal work.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Notebook, SQL and pipeline editing in the workspace is where Genie Code adds the most, because it sees Unity Catalog context.&lt;/LI&gt;
&lt;LI&gt;For terminal work in Cursor, run Genie Code CLI side by side with your existing setup.&lt;/LI&gt;
&lt;LI&gt;Keep one AGENTS.md in the repository so both agents follow the same project rules.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ai-gateway/coding-agent-cursor" target="_blank"&gt;Connect Cursor&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;GitHub Copilot suggests repository-wide context. How does Genie Code understand my Databricks workspace for better suggestions?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; In the workspace, Genie Code reads Unity Catalog tables, columns and lineage within your permissions; in the terminal, Genie Code CLI reads your repository and asks Databricks for data through the CLI and Genie.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The context Genie Code sends includes table and column names, descriptions and the code you are working on. With partner-powered AI features on, it can also send data samples and cell outputs.&lt;/LI&gt;
&lt;LI&gt;Workspace instructions, user instructions, AGENTS.md files and skills add your team's conventions on top.&lt;/LI&gt;
&lt;LI&gt;Memory lets it recall context from earlier sessions when it becomes relevant.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/" target="_blank"&gt;Genie Code&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/genie-code/memory" target="_blank"&gt;Genie Code memory&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I configure Genie Code with custom instructions and memory so it learns my coding patterns across sessions?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Write lasting rules as instructions, let memory collect working context as you go, and save repeatable workflows as skills.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;In the workspace:&lt;/STRONG&gt; add user instructions for your own preferences. Admins can add workspace instructions, which Genie Code generally ranks above user instructions. It also reads AGENTS.md and CLAUDE.md files.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Memory:&lt;/STRONG&gt; Genie Code builds memory while it works and shows in the chat when it saves or recalls one. Ask it plainly, for example "Remember that we use snake_case for Python."&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;In the CLI:&lt;/STRONG&gt; put rules in AGENTS.md at the project root, and personal skills in &lt;CODE&gt;~/.genie/skills/&lt;/CODE&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/instructions" target="_blank"&gt;custom instructions&lt;/A&gt;, &lt;A href="https://docs.databricks.com/aws/en/genie-code/memory" target="_blank"&gt;memory&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/genie-code/skills" target="_blank"&gt;skills&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I configure Genie Code to automatically follow my team's coding standards and architectural patterns?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Commit the standards as AGENTS.md plus shared skills in the repository, and have a workspace admin add workspace instructions for the same rules in the UI.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Genie Code CLI reads AGENTS.md from the project root at startup and loads team skills from &lt;CODE&gt;.agents/skills/&lt;/CODE&gt; in the repository.&lt;/LI&gt;
&lt;LI&gt;Genie Code in the workspace discovers AGENTS.md and CLAUDE.md files, and workspace skills load automatically when the task matches them.&lt;/LI&gt;
&lt;LI&gt;Skills follow the open Agent Skills format, so one definition can serve several agents.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/genie-code-cli" target="_blank"&gt;Genie Code CLI skills&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/genie-code/skills" target="_blank"&gt;Genie Code skills&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I validate Genie Code's proposed changes before applying to production?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Keep approvals on, read every diff, and run the change on a development target before production.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Use the "Ask first" approval mode, which approves each tool as it runs. The docs call auto-approve a productivity feature, not a security boundary.&lt;/LI&gt;
&lt;LI&gt;Review the per-file diffs that Genie Code shows for pipeline changes.&lt;/LI&gt;
&lt;LI&gt;Run &lt;CODE&gt;databricks bundle validate&lt;/CODE&gt;, then deploy to a development target with &lt;CODE&gt;databricks bundle deploy -t dev&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;In development mode, bundles prefix resource names, pause schedules and mark pipelines as development pipelines, so a test deploy stays out of production's way.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/navigate-genie-code" target="_blank"&gt;approvals&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/deployment-modes" target="_blank"&gt;deployment modes&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Part 5: Building and fixing pipelines with AI&lt;/H2&gt;
&lt;H3&gt;Is there a way to vibe code ETL pipelines?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Yes: describe the pipeline in plain language to Genie Code in the Lakeflow Pipelines Editor or in Lakeflow Designer, or to a terminal agent that writes a bundle; then review the plan and the diffs before anything runs.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Lakeflow Pipelines Editor:&lt;/STRONG&gt; Genie Code can generate an entire pipeline end to end, asks clarifying questions for complex tasks, and waits for your approval.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Lakeflow Designer:&lt;/STRONG&gt; Genie Code can also create and edit shared custom operators on the visual canvas.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Terminal:&lt;/STRONG&gt; Genie Code CLI, or Claude Code and Codex through Unity Gateway, can write a Declarative Automation Bundle that you deploy to dev.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ldp/de-agent" target="_blank"&gt;Genie Code for pipelines&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/release-notes/product/2026/november" target="_blank"&gt;November 2026 release notes&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I use Genie Code to auto-generate Lakeflow pipelines from natural language descriptions?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Open the Lakeflow Pipelines Editor, ask Genie Code for the pipeline in one description that names sources, targets, rules and schedule, then approve its plan step by step.&lt;/P&gt;
&lt;P&gt;A description that works well covers five things:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the source tables or files;&lt;/LI&gt;
&lt;LI&gt;each target table and the rule that defines it;&lt;/LI&gt;
&lt;LI&gt;the catalog and schema for the output;&lt;/LI&gt;
&lt;LI&gt;the compute, for example serverless;&lt;/LI&gt;
&lt;LI&gt;the schedule, and whether it starts paused.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Genie Code shows which files it changes and the diff in each, and it can run single files, dry-run or run the pipeline, or do a full refresh. Docs: &lt;A href="https://docs.databricks.com/aws/en/ldp/de-agent" target="_blank"&gt;Genie Code for pipelines&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I build a Spark Declarative Pipeline using AI assistance (Genie Code)?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Start a new pipeline in the Lakeflow Pipelines Editor, describe the tables and quality rules to Genie Code, approve its plan and edits, then dry-run before the first full run.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a new ETL pipeline in the workspace; it opens in the Lakeflow Pipelines Editor.&lt;/LI&gt;
&lt;LI&gt;Open Genie Code and describe sources, tables and data quality rules.&lt;/LI&gt;
&lt;LI&gt;Answer its clarifying questions and read the step-by-step plan.&lt;/LI&gt;
&lt;LI&gt;Approve the edits after reviewing the per-file code diffs.&lt;/LI&gt;
&lt;LI&gt;Dry-run to check the code, then run the pipeline.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Lakeflow pipelines run on Apache Spark Declarative Pipelines, the open declarative framework for batch and streaming work in SQL or Python. Docs: &lt;A href="https://docs.databricks.com/aws/en/ldp/" target="_blank"&gt;Lakeflow pipelines&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/ldp/de-agent" target="_blank"&gt;Genie Code for pipelines&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I build automated data pipelines with Genie Code?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Ask Genie Code for the pipeline plus a Lakeflow job that schedules it, packaged as a Declarative Automation Bundle, and deploy it to a development target first.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In the terminal, put the catalog, schema and CLI profile in AGENTS.md before you prompt, so every command targets the right place.&lt;/LI&gt;
&lt;LI&gt;Ask for the schedule to start paused, then unpause it after the first good run.&lt;/LI&gt;
&lt;LI&gt;Add expectations for your data rules so bad records are dropped or stop the update, and show up in data quality metrics.&lt;/LI&gt;
&lt;LI&gt;In the workspace, the Lakeflow Pipelines Editor covers the same task with diffs and dry runs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/" target="_blank"&gt;Declarative Automation Bundles&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/ldp/expectations" target="_blank"&gt;expectations&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I use Genie Code to debug a failing pipeline and propose fixes?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Ask Genie Code to read the failed update and propose a fix; it works through the error across files until it is resolved, and you approve each change.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;In the Lakeflow Pipelines Editor:&lt;/STRONG&gt; Genie Code reads the error, edits the relevant files with a diff per file, and can rerun once you approve.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;In the terminal:&lt;/STRONG&gt; have Genie Code CLI trace why the most recent update failed and patch the local code without deploying, then review the change before a dev deploy.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;In notebooks:&lt;/STRONG&gt; &lt;CODE&gt;/fix&lt;/CODE&gt; proposes a fix in a diff view, and Diagnose Error handles harder failures, including environment errors.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ldp/de-agent" target="_blank"&gt;Genie Code for pipelines&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/genie-code/features-capabilities" target="_blank"&gt;Genie Code features&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I use Genie Code to automatically debug data pipeline errors?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; For hands-off triage, add a Genie Code task to the pipeline's job and run it only when the pipeline task fails, using a Run if condition.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;In the Jobs UI, open the Tasks tab and add a Genie Code task that depends on the pipeline task.&lt;/LI&gt;
&lt;LI&gt;Choose At least one failed in that task's Run if dependencies field, so the agent runs only when something breaks.&lt;/LI&gt;
&lt;LI&gt;Prompt it to read the failure, explain the cause and suggest a fix. Asking for a summary rather than code changes keeps it low risk.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Know the trade-off: a Genie Code task runs with auto-approve as an autonomous agent. After the run, you can open its chat and continue. Docs: &lt;A href="https://docs.databricks.com/aws/en/jobs/tasks/genie-code" target="_blank"&gt;Genie Code task&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/jobs/run-if" target="_blank"&gt;Run if dependencies&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Can I vibe code an ETL pipeline with Genie Code in Databricks, and what Spark checks should I run on the generated code?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Yes, and treat the generated code like a pull request from a new teammate: validate the bundle, check the deployment mode, test row counts, add expectations, and dry-run.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Validate:&lt;/STRONG&gt; run &lt;CODE&gt;databricks bundle validate&lt;/CODE&gt; before every deploy.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Deployment mode:&lt;/STRONG&gt; know what development mode changes (name prefixes, paused schedules, development pipelines) before you decide on dev or prod settings.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Counts:&lt;/STRONG&gt; compare each new table's row count with your own SQL on the source.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Expectations:&lt;/STRONG&gt; encode data rules so invalid records are dropped or fail the update.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Dry run:&lt;/STRONG&gt; check the code in the Lakeflow Pipelines Editor without updating data.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Legacy patterns:&lt;/STRONG&gt; search generated Python for RDD calls, &lt;CODE&gt;sparkContext&lt;/CODE&gt;, DBFS mounts and &lt;CODE&gt;hive_metastore&lt;/CODE&gt; names that your compute may not support.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/ldp/expectations" target="_blank"&gt;expectations&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/deployment-modes" target="_blank"&gt;deployment modes&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How do I use Genie Code to generate and orchestrate multi-step data workflows from natural language prompts?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Describe each step, its order and its failure handling in one prompt, ask for a Lakeflow job in a Declarative Automation Bundle, and review the task graph before you deploy.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Name every task and what it depends on, for example ingest, then refresh the pipeline, then publish the report.&lt;/LI&gt;
&lt;LI&gt;Ask for Run if conditions: All succeeded, At least one succeeded, None failed, All done, At least one failed or All failed.&lt;/LI&gt;
&lt;LI&gt;When one step needs judgment, such as summarizing a failure, make it a Genie Code task.&lt;/LI&gt;
&lt;LI&gt;Deploy to a development target first, and keep the schedule paused until the first run passes.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/jobs/run-if" target="_blank"&gt;Run if dependencies&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/jobs/tasks/genie-code" target="_blank"&gt;Genie Code task&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Part 6: Developer tools and data access&lt;/H2&gt;
&lt;H3&gt;How do I use Genie Code CLI for local Python data analysis without opening the UI?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Run &lt;CODE&gt;genie&lt;/CODE&gt; in your project folder, pick a CLI profile, and ask the question in plain language; the CLI finds the data through Databricks and writes local Python for the analysis.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a profile with &lt;CODE&gt;databricks auth login&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;Start &lt;CODE&gt;genie&lt;/CODE&gt; in the project folder and select that profile.&lt;/LI&gt;
&lt;LI&gt;Ask, for example, "Load last month's orders from our sales schema and chart revenue by week with pandas."&lt;/LI&gt;
&lt;LI&gt;For data access from local Python, ask the agent to read data with Databricks Connect or the Databricks SQL Connector for Python.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;For questions in business terms, connect the Genie One MCP server with &lt;CODE&gt;genie mcp add&lt;/CODE&gt;, using a token from &lt;CODE&gt;databricks auth token&lt;/CODE&gt;. Docs: &lt;A href="https://docs.databricks.com/aws/en/genie-code/genie-code-cli" target="_blank"&gt;Genie Code CLI&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;How can a coding agent run SQL queries on Databricks?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Connect the agent to the Databricks SQL MCP server when you need precise SQL, to the Genie One MCP server when the question is phrased in business terms, or let it use the Databricks CLI and the SQL Statement Execution API from a terminal.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;system.ai.dbsql (Beta):&lt;/STRONG&gt; three tools, &lt;CODE&gt;poll_sql_result&lt;/CODE&gt;, &lt;CODE&gt;execute_sql_read_only&lt;/CODE&gt; and &lt;CODE&gt;execute_sql&lt;/CODE&gt;, running with the caller's permissions. It allows writes by default; set &lt;CODE&gt;disallow_writes&lt;/CODE&gt; to true in &lt;CODE&gt;system.ai.dbsql_policy&lt;/CODE&gt; to make it read-only. It needs the Enhanced Unity Gateway preview, which an account admin turns on; until then, use the &lt;CODE&gt;/api/2.0/mcp/sql&lt;/CODE&gt; endpoint.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;system.ai.genie_one_mcp:&lt;/STRONG&gt; recommended for natural-language analytics across the workspace.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Terminal:&lt;/STRONG&gt; &lt;CODE&gt;databricks genie ask&lt;/CODE&gt;, or the SQL Statement Execution API against a SQL warehouse.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/agents/mcp-tools/databricks-sql" target="_blank"&gt;Databricks SQL MCP&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/agents/mcp-tools/built-in-mcp-services" target="_blank"&gt;built-in MCP services&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Which interfaces can external tools use to work with Databricks: REST API, CLI, SDK, or MCP?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; All four, each for a different job: MCP for AI agents, SDKs for application code, the CLI for scripts and deployments, and the REST API for everything else.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;MCP:&lt;/STRONG&gt; managed servers in &lt;CODE&gt;system.ai&lt;/CODE&gt;, such as &lt;CODE&gt;system.ai.genie_one_mcp&lt;/CODE&gt; and &lt;CODE&gt;system.ai.dbsql&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;SDKs:&lt;/STRONG&gt; Python, JavaScript, Go and Java from Databricks, plus an R SDK from Databricks Labs.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;CLI:&lt;/STRONG&gt; profiles, bundles and scripted operations.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;REST API and SQL:&lt;/STRONG&gt; the REST API for full coverage, and the SQL Statement Execution API or SQL drivers for running SQL from applications.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Each call runs as a Databricks identity, so Unity Catalog permissions decide what it can see. Docs: &lt;A href="https://docs.databricks.com/aws/en/dev-tools/sdks" target="_blank"&gt;SDKs&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/agents/mcp-tools/built-in-mcp-services" target="_blank"&gt;built-in MCP services&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;What developer tools does Databricks offer outside the web workspace?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; For the terminal there's the Databricks CLI and Declarative Automation Bundles; for editors, the Databricks IDE extension; for code, the SDKs, SQL connectors and REST API; and for agents, Genie Code CLI, the &lt;CODE&gt;ug&lt;/CODE&gt; CLI and agent skills.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Terminal:&lt;/STRONG&gt; the Databricks CLI and bundles; the SSH tunnel (Beta) to serverless, AI Runtime or classic compute; Databricks Sandbox (Beta) for isolated agent loops.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;IDE:&lt;/STRONG&gt; the Databricks IDE extension runs local Python on clusters, runs files and notebooks as Lakeflow Jobs, and debugs with Databricks Connect.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Agents:&lt;/STRONG&gt; Genie Code CLI; &lt;CODE&gt;ug&lt;/CODE&gt; for Claude Code, Codex, Copilot, Gemini CLI, OpenCode and Pi; &lt;CODE&gt;databricks aitools install&lt;/CODE&gt; for skills.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/dev-tools/vscode-ext/" target="_blank"&gt;Databricks IDE extension&lt;/A&gt;, &lt;A href="https://docs.databricks.com/aws/en/dev-tools/ssh-tunnel" target="_blank"&gt;SSH tunnel&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/compute/serverless/sandbox" target="_blank"&gt;Databricks Sandbox&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;Should I use the workspace UI or my own IDE for Databricks development?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Explore data, notebooks, dashboards and pipeline graphs in the workspace; do git-based work, testing and refactoring in your own IDE; bundles let one project move between the two.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Workspace:&lt;/STRONG&gt; notebooks and queries, pipeline graphs in the Lakeflow Pipelines Editor, and the complete Genie Code experience.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;IDE:&lt;/STRONG&gt; pull requests, unit tests and multi-file refactors, with the Databricks IDE extension or Databricks Connect.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Bridge:&lt;/STRONG&gt; the SSH tunnel (Beta) runs your local IDE against remote compute; it needs Databricks CLI 1.5.0 or later.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/dev-tools/vscode-ext/" target="_blank"&gt;Databricks IDE extension&lt;/A&gt; and &lt;A href="https://docs.databricks.com/aws/en/dev-tools/ssh-tunnel" target="_blank"&gt;SSH tunnel&lt;/A&gt;.&lt;/P&gt;
&lt;H3&gt;What is the best developer experience for data engineers on Databricks?&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; Store each pipeline as a Declarative Automation Bundle in git, then work on whichever surface suits the task (the Lakeflow Pipelines Editor, a local IDE or a terminal agent), because all three deploy the same bundle.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Workspace:&lt;/STRONG&gt; the Lakeflow Pipelines Editor with Genie Code for graph views, diffs and dry runs.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;IDE:&lt;/STRONG&gt; the Databricks IDE extension for bundle deploys and Databricks Connect debugging.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Terminal:&lt;/STRONG&gt; the Databricks CLI plus a coding agent such as Genie Code CLI.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;My rule of thumb: every change, from any surface, goes through &lt;CODE&gt;databricks bundle validate&lt;/CODE&gt; and a dev deploy before production. Docs: &lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/" target="_blank"&gt;Declarative Automation Bundles&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Quick reference&lt;/H2&gt;
&lt;PRE&gt;If you want to…                                        | Use
-------------------------------------------------------+---------------------------------------------------------
Start a Databricks-tuned agent in your terminal        | genie (Genie Code CLI)
Resume yesterday's CLI conversation                    | genie resume --last
Bring your Claude Code or Cursor setup into the CLI    | /import
Give the CLI business-level data answers               | genie mcp add with the Genie One MCP server
Use Databricks models in Copilot, Codex or Claude Code | ug copilot, ug codex or ug claude
Add Databricks MCP servers to Cursor                   | ug mcp add --agents cursor
Install Databricks skills into other agents            | databricks aitools install
Make the SQL MCP server read-only                      | disallow_writes in system.ai.dbsql_policy
Triage pipeline failures automatically                 | A Genie Code task with Run if set to At least one failed
Test a change safely                                   | databricks bundle validate, then deploy -t dev&lt;/PRE&gt;
&lt;H2&gt;FAQ&lt;/H2&gt;
&lt;P&gt;&lt;STRONG&gt;How is Genie Code CLI billed?&lt;/STRONG&gt; Like Genie Code: Genie pay-as-you-go pricing, sharing each user's free monthly Genie usage and counting toward the same Genie budget. Unity Gateway tracks the usage. See &lt;A href="https://docs.databricks.com/aws/en/genie-code/genie-code-cli" target="_blank"&gt;Genie Code CLI billing&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Can Genie Code CLI run in CI with a service principal?&lt;/STRONG&gt; No. It signs in only through OAuth user-to-machine (U2M), using a Databricks CLI profile you create with &lt;CODE&gt;databricks auth login&lt;/CODE&gt;; machine-to-machine OAuth and personal access tokens aren't supported. For MCP servers you connect yourself, you pass a token through &lt;CODE&gt;--bearer-token-env-var&lt;/CODE&gt;, and an expired token returns 401 until you restart with a fresh one.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Where is Genie Code CLI unavailable?&lt;/STRONG&gt; In regions without Genie pay-as-you-go billing, which the docs list as Azure West Central US, Qatar Central, AWS Asia Pacific (Jakarta) and government regions. Availability also depends on the Designated Services geography setting.&lt;/P&gt;
&lt;H2&gt;Sources&lt;/H2&gt;
&lt;P&gt;All Databricks documentation pages above were checked on December 1, 2026. Release dates come from the &lt;A href="https://docs.databricks.com/aws/en/release-notes/product/2026/november" target="_blank"&gt;November 2026 release notes&lt;/A&gt;. Product names and status labels change quickly, so check the linked page before you rely on a detail.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Opinions here are my own.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2026 04:36:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/genie-hub/genie-code-cli-vs-claude-code-cursor-codex-and-copilot-a-sourced/m-p/178275#M167</guid>
      <dc:creator>Saurabh2310</dc:creator>
      <dc:date>2026-12-01T04:36:08Z</dc:date>
    </item>
  </channel>
</rss>

