Skip to content

[AIGTWY-4690] Make Databricks AI Tools install opt-in, not default - #664

Merged
david-siqi-liu merged 1 commit into
mainfrom
david/remove-dbx-ai-tools
Sep 16, 2026
Merged

david-siqi-liu merged 1 commit into
mainfrom
david/remove-dbx-ai-tools

Conversation

@david-siqi-liu

@david-siqi-liu david-siqi-liu commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

ug configure auto-installed Databricks AI Tools for the configured agents (opt-out), which slowed managed launches and could fail (AIGTWY-4690). This makes the install off by default, with two rules:

  • Workspace has an admin-managed config: skip the install entirely, even with --enable.
  • Otherwise: opt in via --enable-databricks-ai-tools (the flag pair is kept, not deprecated).

The launch path never installs, and the interactive "Configure MCP servers, skills, and plugins?" prompt is unchanged.

This pull request and its description were written by Isaac.

@david-siqi-liu david-siqi-liu added the quicktree-assisted PR created with quicktree-assisted workflow label Sep 16, 2026
@david-siqi-liu
david-siqi-liu force-pushed the david/remove-dbx-ai-tools branch from 146ad37 to 4891a7b Compare September 16, 2026 00:22
@david-siqi-liu david-siqi-liu changed the title Make Databricks AI Tools install opt-in, not default [AIGTWY-4690] Make Databricks AI Tools install opt-in, not default Sep 16, 2026
@david-siqi-liu
david-siqi-liu force-pushed the david/remove-dbx-ai-tools branch 3 times, most recently from 1924f0a to 446a9fa Compare September 16, 2026 02:55
Comment thread src/ucode/agents/__init__.py Outdated
@david-siqi-liu
david-siqi-liu force-pushed the david/remove-dbx-ai-tools branch from 446a9fa to 07b616d Compare September 16, 2026 14:41
Managed and scripted `ug configure` runs installed Databricks AI Tools for the
configured agents by default (opt-out). That slowed launches and could fail
outright (AIGTWY-4690), even though the managed config never asked for it.

Change the install to two rules:

- If the workspace has an admin-managed config, skip the install entirely (even
  when explicitly enabled). The admin's config governs the workspace; a
  managed-config option for AI Tools can come later.
- Otherwise it is opt-in: install only when explicitly enabled via
  `--enable-databricks-ai-tools`. The flag pair is kept, not deprecated.

Details:

- The install chokepoint checks the opt-in flag, then skips under a managed
  config (with a note to the user).
- `configure_shared_state` defaults `databricks_ai_tools_enabled` to off. A True
  persisted by an opt-out-era configure is a stale default, not a standing
  opt-in, so it is not carried forward; upgraded users stop auto-installing.
- The interactive "Configure MCP servers, skills, and plugins?" prompt is
  unchanged and remains the explicit opt-in for interactive runs.

Co-authored-by: Isaac <no-reply@databricks.com>
@david-siqi-liu
david-siqi-liu force-pushed the david/remove-dbx-ai-tools branch from 07b616d to 569a203 Compare September 16, 2026 14:47
@david-siqi-liu
david-siqi-liu merged commit 93958a2 into main Sep 16, 2026
18 of 20 checks passed
@david-siqi-liu
david-siqi-liu deleted the david/remove-dbx-ai-tools branch September 16, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

quicktree-assisted PR created with quicktree-assisted workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants