<?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 Re: Trouble while Maintaining Databricks Genie Agents (VS code extension available?) in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/trouble-while-maintaining-databricks-genie-agents-vs-code/m-p/172278#M56611</link>
    <description>&lt;DIV&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; the Databricks extension for VS Code doesn't have a Genie space editor, and I'm not aware of one on a roadmap I can point you to. Genie space authoring (sources, instructions, examples) lives in the workspace UI, so you can't currently move that editing into VS Code.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What the extension does cover&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Its scope is bundles (define, deploy, run), running Python files and notebooks on clusters or serverless, Databricks Connect debugging, and syncing local code to the workspace [1]. That's code and job/pipeline development, not editing workspace-native objects like Genie spaces. I can't confirm a preview channel with Genie support. If you want to check, look at the extension's page in the VS Code Marketplace for a "Switch to Pre-Release Version" option, but I wouldn't expect it to change this.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Workarounds for the fork-and-merge workflow&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Keep the "text" of the space in source control, outside the space.&lt;/STRONG&gt; Most of what you're trying to copy is instructions, example SQL, and table/column descriptions. Keep the instruction text and example question/SQL pairs in a repo as Markdown or SQL files, and paste from there. It's clunky, but it gives you diffs and history, which the UI doesn't.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Push metadata into Unity Catalog instead of the space.&lt;/STRONG&gt; Table and column comments and descriptions live with the tables, so every space that uses those tables inherits the improvements. You can manage them as SQL in VS Code and run them through the extension [1]. Less per-space config also means less to copy between spaces.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Use the Genie REST APIs for a programmatic, text-based view.&lt;/STRONG&gt; Look in the API reference for your workspace to see what's available for retrieving and creating spaces. If your workspace exposes a way to export and import a space definition, that gives you the JSON representation you're asking for, and you can diff it and script the copy from a dev space to a prod one. I'd verify the exact endpoints and payload shape on your platform before building on them, since this area has been changing quickly.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Clone rather than copy/paste.&lt;/STRONG&gt; For forking, duplicate the space in the UI (if your workspace offers it), experiment in the clone, and re-apply the changes you want to keep. Pair that with the repo-based approach from step 1 so the "changes to re-introduce" are a diff rather than something you remember.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;Source ordering&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I don't know of any way to re-sequence the sources list in the UI. It appears to be in the order the tables were added. If the order matters to you, the only option today is removing and re-adding tables, which is painful with 12 of them. Ordering is unlikely to affect Genie's answer quality, so I'd treat it as cosmetic.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Next step&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The requests you describe (copy between spaces, a JSON/text view, reordering sources, IDE editing) are all reasonable feature requests. File them through your Databricks account team or the Ideas portal, since that's the channel that gets them in front of the Genie product team. In the meantime, I'd go with the repo-plus-API approach in step 3 as the closest thing to "escaping the browser."&lt;/P&gt;
&lt;H2&gt;References&lt;/H2&gt;
&lt;P&gt;[1] Databricks IDE extension | Databricks on AWS — &lt;A href="https://docs.databricks.com/aws/en/dev-tools/vscode-ext" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/vscode-ext&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 08 Oct 2026 11:23:25 GMT</pubDate>
    <dc:creator>anuj_lathi</dc:creator>
    <dc:date>2026-10-08T11:23:25Z</dc:date>
    <item>
      <title>Trouble while Maintaining Databricks Genie Agents (VS code extension available?)</title>
      <link>https://community.databricks.com/t5/data-engineering/trouble-while-maintaining-databricks-genie-agents-vs-code/m-p/172216#M56599</link>
      <description>&lt;P&gt;Is there an update to the databricks extension for VS code that will allow me to work with "genie agents" (aka spaces)?&lt;/P&gt;&lt;P&gt;I'm having a really hard time with the editing of these agents in the Azure workspace environment.&amp;nbsp; There are lots of things missing, like copy/paste from one agent to another.&amp;nbsp; Developers will often need to fork off of one piece of software to play with tentative changes, and then re-introduce their changes to the original copy at a later time (if everything worked as expected).&amp;nbsp; But simple copy/paste operations are not available in here.&amp;nbsp; Nor is there any text-based representation of "sources" or "examples" (FKs) that can be edited.&amp;nbsp; Even if the UX provided a back-door way to edit json or xml would be fine.&lt;/P&gt;&lt;P&gt;If there is some sort of preview channel for the VS code extension, please let me know!&lt;/P&gt;&lt;P&gt;More ranting:&amp;nbsp; After just a few attempts to edit agents, it triggered a new kind of migraine so I'll be heading home for the day.&amp;nbsp; Consider the following list of "sources" (image), notice that the tables were added over time and they aren't listed alphabetically.&amp;nbsp; There appears to be no way in this portal to re-sequence them after the fact.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-10-07 183939.png" style="width: 452px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/31868i5EEDF595A93EFDD2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-10-07 183939.png" alt="Screenshot 2026-10-07 183939.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be nice if I can escape the browser, and do some of this in VS code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2026 22:43:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/trouble-while-maintaining-databricks-genie-agents-vs-code/m-p/172216#M56599</guid>
      <dc:creator>DB1To3</dc:creator>
      <dc:date>2026-10-07T22:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble while Maintaining Databricks Genie Agents (VS code extension available?)</title>
      <link>https://community.databricks.com/t5/data-engineering/trouble-while-maintaining-databricks-genie-agents-vs-code/m-p/172240#M56603</link>
      <description>&lt;P&gt;Maintaining Databricks Genie Agents (formerly Genie Spaces) entirely through the browser portal can be frustrating, especially given the lack of robust text-based configuration files, straightforward mass-editing features (like bulk copy/pasting sources), or native table sorting within the workspace UI.&lt;BR /&gt;&lt;BR /&gt;Currently, Databricks handles Genie space/agent metadata primarily through its managed workspace interface rather than exposing direct configuration files inside the VS Code extension. However, you can streamline your workflow and mitigate these maintenance bottlenecks by leveraging programmatic alternatives or utilizing Genie Code workflows.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2026 06:05:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/trouble-while-maintaining-databricks-genie-agents-vs-code/m-p/172240#M56603</guid>
      <dc:creator>peter89jean</dc:creator>
      <dc:date>2026-10-08T06:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble while Maintaining Databricks Genie Agents (VS code extension available?)</title>
      <link>https://community.databricks.com/t5/data-engineering/trouble-while-maintaining-databricks-genie-agents-vs-code/m-p/172248#M56604</link>
      <description>&lt;P&gt;Hi! There's no Genie editor in the Databricks VS Code extension yet, but you can get most of what you're asking for by managing the agent as code with Declarative Automation Bundles (DABs, formerly Databricks Asset Bundles). It works the same on Azure.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Export the agent to files&lt;/STRONG&gt; (Databricks CLI 1.3.0 or newer; the command still says "genie-space" even though the product is now Genie agents):&lt;BR /&gt;databricks bundle generate genie-space --existing-id &amp;lt;AGENT_ID&amp;gt; --key my_agent&lt;/P&gt;&lt;P&gt;This writes src/my_agent.geniespace.json (the full agent: tables, instructions, example SQL) and resources/my_agent.genie_space.yml. You can edit, diff and copy/paste between agents in VS Code, and keep it all in Git.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Fork, test, merge back:&lt;/STRONG&gt; use &lt;STRONG&gt;Clone&lt;/STRONG&gt; from the agent's ⋮ menu to make a test copy (it copies tables, instructions, example SQL and functions). Once you're happy with the changes, move them into the original agent's JSON and run databricks bundle deploy. Pull request reviews come for free once it's in Git.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. Pull UI edits back into the files:&lt;/STRONG&gt;&lt;BR /&gt;databricks bundle generate genie-space --resource my_agent --force&lt;BR /&gt;(add --watch to keep syncing while you edit in the UI)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4. Sorting:&lt;/STRONG&gt; in the JSON format, the tables are always sorted alphabetically, because the format requires it.&lt;/P&gt;&lt;P&gt;Two things to watch: Genie resources only deploy with the direct engine (the default for new bundles; older bundles need engine: direct in databricks.yml), and you'll need a recent CLI.&lt;/P&gt;&lt;P&gt;Full walkthrough with an example repo: &lt;A href="https://community.databricks.com/t5/technical-blog/managing-databricks-genie-agents-as-code-with-databricks/ba-p/164697" target="_blank" rel="noopener"&gt;community.databricks.com/technical-blog/managing-databricks-genie-agents-as-code-with-databricks/ba-p&lt;/A&gt;&lt;BR /&gt;Resource reference: &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/bundles/resources" target="_blank" rel="noopener"&gt;learn.microsoft.com/en-us/azure/databricks/dev-tools/bundles/resources&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2026 07:37:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/trouble-while-maintaining-databricks-genie-agents-vs-code/m-p/172248#M56604</guid>
      <dc:creator>VladTamas</dc:creator>
      <dc:date>2026-10-08T07:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble while Maintaining Databricks Genie Agents (VS code extension available?)</title>
      <link>https://community.databricks.com/t5/data-engineering/trouble-while-maintaining-databricks-genie-agents-vs-code/m-p/172278#M56611</link>
      <description>&lt;DIV&gt;
&lt;P&gt;&lt;STRONG&gt;Short answer:&lt;/STRONG&gt; the Databricks extension for VS Code doesn't have a Genie space editor, and I'm not aware of one on a roadmap I can point you to. Genie space authoring (sources, instructions, examples) lives in the workspace UI, so you can't currently move that editing into VS Code.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What the extension does cover&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Its scope is bundles (define, deploy, run), running Python files and notebooks on clusters or serverless, Databricks Connect debugging, and syncing local code to the workspace [1]. That's code and job/pipeline development, not editing workspace-native objects like Genie spaces. I can't confirm a preview channel with Genie support. If you want to check, look at the extension's page in the VS Code Marketplace for a "Switch to Pre-Release Version" option, but I wouldn't expect it to change this.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Workarounds for the fork-and-merge workflow&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Keep the "text" of the space in source control, outside the space.&lt;/STRONG&gt; Most of what you're trying to copy is instructions, example SQL, and table/column descriptions. Keep the instruction text and example question/SQL pairs in a repo as Markdown or SQL files, and paste from there. It's clunky, but it gives you diffs and history, which the UI doesn't.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Push metadata into Unity Catalog instead of the space.&lt;/STRONG&gt; Table and column comments and descriptions live with the tables, so every space that uses those tables inherits the improvements. You can manage them as SQL in VS Code and run them through the extension [1]. Less per-space config also means less to copy between spaces.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Use the Genie REST APIs for a programmatic, text-based view.&lt;/STRONG&gt; Look in the API reference for your workspace to see what's available for retrieving and creating spaces. If your workspace exposes a way to export and import a space definition, that gives you the JSON representation you're asking for, and you can diff it and script the copy from a dev space to a prod one. I'd verify the exact endpoints and payload shape on your platform before building on them, since this area has been changing quickly.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Clone rather than copy/paste.&lt;/STRONG&gt; For forking, duplicate the space in the UI (if your workspace offers it), experiment in the clone, and re-apply the changes you want to keep. Pair that with the repo-based approach from step 1 so the "changes to re-introduce" are a diff rather than something you remember.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRONG&gt;Source ordering&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I don't know of any way to re-sequence the sources list in the UI. It appears to be in the order the tables were added. If the order matters to you, the only option today is removing and re-adding tables, which is painful with 12 of them. Ordering is unlikely to affect Genie's answer quality, so I'd treat it as cosmetic.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Next step&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The requests you describe (copy between spaces, a JSON/text view, reordering sources, IDE editing) are all reasonable feature requests. File them through your Databricks account team or the Ideas portal, since that's the channel that gets them in front of the Genie product team. In the meantime, I'd go with the repo-plus-API approach in step 3 as the closest thing to "escaping the browser."&lt;/P&gt;
&lt;H2&gt;References&lt;/H2&gt;
&lt;P&gt;[1] Databricks IDE extension | Databricks on AWS — &lt;A href="https://docs.databricks.com/aws/en/dev-tools/vscode-ext" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/vscode-ext&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Oct 2026 11:23:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/trouble-while-maintaining-databricks-genie-agents-vs-code/m-p/172278#M56611</guid>
      <dc:creator>anuj_lathi</dc:creator>
      <dc:date>2026-10-08T11:23:25Z</dc:date>
    </item>
  </channel>
</rss>

