From 3cb80b23ea2879acd26380d50cb96a784c9f97f5 Mon Sep 17 00:00:00 2001 From: Anton Nekipelov <226657+anton-107@users.noreply.github.com> Date: Mon, 23 Nov 2026 08:50:32 +0000 Subject: [PATCH] Tell users about the automatic installation of AI tools The Databricks CLI can install Databricks AI tools (skills) for the coding agents on a machine the first time a new version runs. Print a notice after the install that says so and how to turn it off. The notice is skipped on Databricks Runtime and in CI, where the CLI never does it. Co-authored-by: Isaac --- install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/install.sh b/install.sh index 54b24907..06302745 100755 --- a/install.sh +++ b/install.sh @@ -90,6 +90,16 @@ chmod +x ./databricks cp ./databricks "$TARGET" echo "Installed $("$TARGET/databricks" -v) at $TARGET/databricks." +# Tell the user about the automatic installation of Databricks AI tools. +# The CLI never does it on Databricks Runtime or in CI. +if [ -z "$DATABRICKS_RUNTIME_VERSION" ] && [ -z "$CI" ]; then + echo + echo "The Databricks CLI may install Databricks AI tools (skills) for the coding agents" + echo "it finds on this machine the first time it runs. To turn this off:" + echo " databricks aitools auto-install disable" + echo "or set DATABRICKS_AITOOLS_AUTO_INSTALL=false" +fi + # Clean up temporary directory. cd "$OLDPWD" rm -rf "$tmpdir" || true