<?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: Multi Agent Supervisor not able to coordinate with genie when deployed as a databricks app in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/multi-agent-supervisor-not-able-to-coordinate-with-genie-when/m-p/140523#M1454</link>
    <description>&lt;P&gt;From the screenshot it &lt;EM&gt;does&lt;/EM&gt; show:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;genie-space – Type: &lt;STRONG&gt;Genie space&lt;/STRONG&gt; – Permissions: &lt;STRONG&gt;Can run&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;That’s good, but this must come from your &lt;STRONG&gt;databricks.yml&lt;/STRONG&gt;. If you only added it via the UI, but the bundle doesn’t declare it, a redeploy can put things out of sync.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Key points:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;For &lt;STRONG&gt;serving endpoints&lt;/STRONG&gt; → CAN_QUERY is correct.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;For &lt;STRONG&gt;Genie spaces&lt;/STRONG&gt; → you need &lt;STRONG&gt;CAN_RUN&lt;/STRONG&gt;, not CAN_QUERY.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Put the permission on app: ${bundle.app_id} so the &lt;STRONG&gt;app identity&lt;/STRONG&gt;, not just you as a user, can call Genie.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If Genie was only granted to &lt;EM&gt;you&lt;/EM&gt; or another user in the UI, the multi-agent (running as the app identity) still won’t be able to use it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Permissions alone aren’t enough; the Multi Agent Supervisor needs Genie explicitly defined as a &lt;STRONG&gt;tool&lt;/STRONG&gt; in its agent spec.&lt;/P&gt;&lt;P&gt;You should have something like:&lt;/P&gt;&lt;P&gt;"tools": [&lt;BR /&gt;{&lt;BR /&gt;"type": "agent",&lt;BR /&gt;"agent_id": "knowledge-assistant",&lt;BR /&gt;"name": "knowledge_assistant"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "ai_bi_genie",&lt;BR /&gt;"name": "genie",&lt;BR /&gt;"genie_space_key": "genie-space" // must match the app resource key&lt;BR /&gt;}&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;Common mistakes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Wrong genie_space_key (must match the genie-space key defined under app.resources in databricks.yml).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Using wrong tool type name (ai_bi_genie vs something else from the sample code).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If the key doesn’t match, the app starts fine but the supervisor can’t resolve the Genie tool at runtime.&lt;/P&gt;&lt;P&gt;Go to the &lt;STRONG&gt;App → Logs&lt;/STRONG&gt; tab and look for messages when the supervisor tries to use Genie:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;If you see &lt;STRONG&gt;PERMISSION_DENIED / 403 / “no access to genie space”&lt;/STRONG&gt; → it’s a permissions / app-identity issue → fix CAN_RUN for the app as above.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If you see something like &lt;STRONG&gt;“tool not found” / “unknown tool” / “no resource genie-space”&lt;/STRONG&gt; → it’s a wiring issue → fix the tools configuration and/or the genie_space_key.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This will tell you very quickly whether it’s auth or config.&lt;/P&gt;&lt;P&gt;Also, don't forget about the underlying permissions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even if the app can “run” the Genie space, Genie still needs access to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The &lt;STRONG&gt;semantic models / queries / tables&lt;/STRONG&gt; used in that Genie space.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Make sure the &lt;STRONG&gt;app principal&lt;/STRONG&gt; (same identity you gave CAN_RUN on Genie) has:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;SELECT / USE CATALOG / USE SCHEMA on the relevant UC objects, or&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;CAN_USE on semantic models if you’re using them.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Otherwise the supervisor might reach Genie, but Genie will fail to answer because it can’t see the data.&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;</description>
    <pubDate>Thu, 27 Nov 2025 14:28:58 GMT</pubDate>
    <dc:creator>bianca_unifeye</dc:creator>
    <dc:date>2025-11-27T14:28:58Z</dc:date>
    <item>
      <title>Multi Agent Supervisor not able to coordinate with genie when deployed as a databricks app</title>
      <link>https://community.databricks.com/t5/generative-ai/multi-agent-supervisor-not-able-to-coordinate-with-genie-when/m-p/140504#M1453</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've provided necessary permissions to a chatbot that i created using DAB and deployed on databricks apps following this &lt;A href="https://docs.databricks.com/aws/en/generative-ai/agent-framework/chat-app" target="_self"&gt;documentation&lt;/A&gt;. At the backend its using below agents&lt;/P&gt;&lt;P&gt;Multi Agent Supervisor&lt;BR /&gt;Knowledge Assistant&lt;BR /&gt;AI/BI Genie&lt;/P&gt;&lt;P&gt;I've provided can_query permission to first two in databricks.yml file.&lt;BR /&gt;Also provided the same permissions through UI (including for genie) but still the multi supervisor agent is not able to communicate with Genie.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shivamrai162_0-1764239231427.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/21977i49EEB8A14D2720F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shivamrai162_0-1764239231427.png" alt="shivamrai162_0-1764239231427.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could anyone please help with this.&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 10:33:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/multi-agent-supervisor-not-able-to-coordinate-with-genie-when/m-p/140504#M1453</guid>
      <dc:creator>shivamrai162</dc:creator>
      <dc:date>2025-11-27T10:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Agent Supervisor not able to coordinate with genie when deployed as a databricks app</title>
      <link>https://community.databricks.com/t5/generative-ai/multi-agent-supervisor-not-able-to-coordinate-with-genie-when/m-p/140523#M1454</link>
      <description>&lt;P&gt;From the screenshot it &lt;EM&gt;does&lt;/EM&gt; show:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;genie-space – Type: &lt;STRONG&gt;Genie space&lt;/STRONG&gt; – Permissions: &lt;STRONG&gt;Can run&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;That’s good, but this must come from your &lt;STRONG&gt;databricks.yml&lt;/STRONG&gt;. If you only added it via the UI, but the bundle doesn’t declare it, a redeploy can put things out of sync.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Key points:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;For &lt;STRONG&gt;serving endpoints&lt;/STRONG&gt; → CAN_QUERY is correct.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;For &lt;STRONG&gt;Genie spaces&lt;/STRONG&gt; → you need &lt;STRONG&gt;CAN_RUN&lt;/STRONG&gt;, not CAN_QUERY.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Put the permission on app: ${bundle.app_id} so the &lt;STRONG&gt;app identity&lt;/STRONG&gt;, not just you as a user, can call Genie.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If Genie was only granted to &lt;EM&gt;you&lt;/EM&gt; or another user in the UI, the multi-agent (running as the app identity) still won’t be able to use it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Permissions alone aren’t enough; the Multi Agent Supervisor needs Genie explicitly defined as a &lt;STRONG&gt;tool&lt;/STRONG&gt; in its agent spec.&lt;/P&gt;&lt;P&gt;You should have something like:&lt;/P&gt;&lt;P&gt;"tools": [&lt;BR /&gt;{&lt;BR /&gt;"type": "agent",&lt;BR /&gt;"agent_id": "knowledge-assistant",&lt;BR /&gt;"name": "knowledge_assistant"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "ai_bi_genie",&lt;BR /&gt;"name": "genie",&lt;BR /&gt;"genie_space_key": "genie-space" // must match the app resource key&lt;BR /&gt;}&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;Common mistakes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Wrong genie_space_key (must match the genie-space key defined under app.resources in databricks.yml).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Using wrong tool type name (ai_bi_genie vs something else from the sample code).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If the key doesn’t match, the app starts fine but the supervisor can’t resolve the Genie tool at runtime.&lt;/P&gt;&lt;P&gt;Go to the &lt;STRONG&gt;App → Logs&lt;/STRONG&gt; tab and look for messages when the supervisor tries to use Genie:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;If you see &lt;STRONG&gt;PERMISSION_DENIED / 403 / “no access to genie space”&lt;/STRONG&gt; → it’s a permissions / app-identity issue → fix CAN_RUN for the app as above.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If you see something like &lt;STRONG&gt;“tool not found” / “unknown tool” / “no resource genie-space”&lt;/STRONG&gt; → it’s a wiring issue → fix the tools configuration and/or the genie_space_key.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This will tell you very quickly whether it’s auth or config.&lt;/P&gt;&lt;P&gt;Also, don't forget about the underlying permissions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even if the app can “run” the Genie space, Genie still needs access to:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The &lt;STRONG&gt;semantic models / queries / tables&lt;/STRONG&gt; used in that Genie space.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Make sure the &lt;STRONG&gt;app principal&lt;/STRONG&gt; (same identity you gave CAN_RUN on Genie) has:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;SELECT / USE CATALOG / USE SCHEMA on the relevant UC objects, or&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;CAN_USE on semantic models if you’re using them.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Otherwise the supervisor might reach Genie, but Genie will fail to answer because it can’t see the data.&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 14:28:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/multi-agent-supervisor-not-able-to-coordinate-with-genie-when/m-p/140523#M1454</guid>
      <dc:creator>bianca_unifeye</dc:creator>
      <dc:date>2025-11-27T14:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Agent Supervisor not able to coordinate with genie when deployed as a databricks app</title>
      <link>https://community.databricks.com/t5/generative-ai/multi-agent-supervisor-not-able-to-coordinate-with-genie-when/m-p/140573#M1462</link>
      <description>&lt;P&gt;Hello Bianca,&lt;/P&gt;&lt;P&gt;After following what you told, i found issues at two levels&lt;/P&gt;&lt;P&gt;One was the missing genie-space configuration within databricks.yml&lt;BR /&gt;Other was with granting permissions to the service principal (app identity) access to the underlying tables.that Genie was using.&lt;/P&gt;&lt;P&gt;You're the best!&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 07:55:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/multi-agent-supervisor-not-able-to-coordinate-with-genie-when/m-p/140573#M1462</guid>
      <dc:creator>shivamrai162</dc:creator>
      <dc:date>2025-11-28T07:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Agent Supervisor not able to coordinate with genie when deployed as a databricks app</title>
      <link>https://community.databricks.com/t5/generative-ai/multi-agent-supervisor-not-able-to-coordinate-with-genie-when/m-p/140594#M1463</link>
      <description>&lt;P&gt;Happy you were able to solve the issue!&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;Bianca&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 11:29:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/multi-agent-supervisor-not-able-to-coordinate-with-genie-when/m-p/140594#M1463</guid>
      <dc:creator>bianca_unifeye</dc:creator>
      <dc:date>2025-11-28T11:29:32Z</dc:date>
    </item>
  </channel>
</rss>

