Skip to content

Add DATABRICKS_NOT_AN_AGENT to turn off agent detection - #8126

Open
simonfaltum wants to merge 9 commits into
mainfrom
skills/noagent-databricks-not-an-agent-makes-the-cli-ac
Open

simonfaltum wants to merge 9 commits into
mainfrom
skills/noagent-databricks-not-an-agent-makes-the-cli-ac

Conversation

@simonfaltum

@simonfaltum simonfaltum commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Add DATABRICKS_NOT_AN_AGENT to turn off agent detection

Evals compare an agent with and without the CLI's agent nudges, but a baseline run still inherits the calling agent's environment, so the CLI detects the agent and prints agent-facing output. With DATABRICKS_NOT_AN_AGENT set to a true value, agent detection reports no agent for the nudges and records, and those outputs are the human ones.

Changes

  • Stderr hints are off: the aitools install text, the skills list text, the apps init and version --check tips, and the install prompt. Auto-install neither prompts nor runs, and auto-install enable says the variable still stops it here.
  • The group help has no skills footer, and databricks quickstart prints the human guide.
  • MCP telemetry and the feedback record no calling agent. An explicit aitools mcp serve --agent value still reaches telemetry.
  • The safety notes are unchanged: the "do not retry with the flag" note of bundle deploy, bundle destroy and bind, the login approval note, and the feedback --yes=false refusal still read the detected agent.
  • Unset, or set to a false or invalid value, nothing changes.

Why

An eval's baseline arm needs the CLI to behave as it does for a person, while the agent's own environment stays as it is. The variable tells the CLI that no agent is calling it for nudges and records. The safety notes ask the agent not to act for the user, so they are not nudges, and the baseline keeps them.

Decisions to review

  • The safety notes keep the detected agent over the variable: the "do not retry" notes, the login approval note and the feedback --yes=false refusal. Cost: a baseline arm still sees those lines, so it differs from a person in them.
  • The CLI's own User-Agent pairs (aitools-agent, and the MCP proxy's agent) follow the variable, but the Go SDK still sends agent/<name> from useragent.AgentProvider, which the CLI cannot change. Cost: until the SDK follow-up lands in the stacked pull requests Drop the SDK agent token from User-Agent under DATABRICKS_NOT_AN_AGENT #8143 and Apply the not-an-agent header guard to the remaining CLI SDK clients #8144, a baseline request carries agent/<name> with no aitools-agent pair, so install-rate counts for that agent include baseline traffic.
  • Auto-install is skipped entirely, and the group help footer is hidden. That is stricter than "as for a person", because the aim is that an eval sees no nudge at all.
  • Telemetry reads the calling agent through agents.CallingAgent, which uses agent.Provider, rather than blanking the event afterwards, so an explicit --agent is recorded.
  • No changelog entry while the feature is gated.

Tests

  • TestNotAnAgent and TestNotAnAgentFromEnvironment (libs/agent) cover unset, set, false, invalid values and the environment variable.
  • TestAgentNoteKeepsSafetyNoteNotAnAgent (libs/agent) covers a safety note that still shows under the variable.
  • TestMaybeHint_NotAnAgentSilent, TestMaybeVersionCheckTip, TestPrintSkillsTipNotAnAgent and TestRecommendSkillsInstallNotAnAgent cover the tips and the recommendation.
  • TestCallingAgentNotAnAgent and TestLogMcpEventKeepsExplicitAgentNotAnAgent cover a detected agent (dropped) and an explicit --agent (kept).
  • acceptance/cmd/aitools/not-an-agent shows the hint, the skills footer and the agent quickstart without the variable, and none of them with it. Its last step shows the hint again on the same session once the variable is unset, so the variable run wrote no throttle marker.
  • go test passes for the packages this change touches, with the variable unset. libs/agent, cmd/quickstart, cmd/feedback, libs/aitools/agents, cmd/aitools and cmd/root also pass with it exported.
  • Acceptance passes one area per pattern: TestAccept/cmd/skills, TestAccept/cmd/aitools (including not-an-agent), TestAccept/quickstart and TestAccept/cmd/feedback.
  • ./task --force fmt-q lint-q reports no issues.
  • Not tested: the full acceptance suite and ./task aitools-full, because they were not run for this change. TestAccept/help and TestAccept/cmd/version were not re-run on this head.

This pull request and its description were written by Isaac.

…calls it

Agent detection reads the calling agent's own environment, so a baseline run
of an eval still sees the agent and gets the agent-facing output. With
DATABRICKS_NOT_AN_AGENT set to a true value, detection reports no agent:
stderr hints, the group help footer, the agent quickstart, auto-install and
the calling agent in MCP telemetry are all off, as they are for a person.
Unset, nothing changes.

Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions github-actions Bot added DABs DABs related issues auth aitools AI tools (databricks aitools) related changes labels Nov 27, 2026
@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Regression test report ✅

Commit: 1077d97bf | Workflow run

Selected 1 changed tests (limit=20, 0 not selected)

1 tests: regression=1 unreleased=0 coverage=0 failing=0
test branch main (e6f3460) latest (v1.28.0)
TestAccept/cmd/aitools/not-an-agent ✅ ❌ ❌
TestAccept/cmd/aitools/not-an-agent: branch ✅ | main (e6f3460) ❌ | latest (v1.28.0) ❌

main (e6f3460):

acceptance_test.go:1406: Diff:
        --- cmd/aitools/not-an-agent/output.txt
        +++ /tmp/TestAcceptcmdaitoolsnot-an-agent135748178/002/output.txt
        @@ -18,37 +18,35 @@
         === With the variable set, no hint is printed
         
         >>> DATABRICKS_NOT_AN_AGENT=1 CLAUDECODE=1 [CLI] jobs list
        +Before you work with Databricks, run: databricks skills list
         
         === Without the variable, the hint still shows on the same session
         
         >>> CLAUDECODE=1 [CLI] jobs list
        -Before you work with Databricks, run: databricks skills list
         
         === With the variable set, the help has no skills footer
         
         >>> DATABRICKS_NOT_AN_AGENT=1 CLAUDECODE=1 [CLI] fs --help
        -  -t, --target string        bundle target to use (if applicable)
         
        -Use "databricks fs [command] --help" for more information about a command.
        +Coding agents: read the skills for this command group before you use it.
        +  databricks skills read demo-skill
         
         >>> DATABRICKS_NOT_AN_AGENT=1 CLAUDECODE=1 [CLI] --help
         
        -Use "databricks [command] --help" for more information about a command.
        +Coding agents: run `databricks skills list` to find skills for the commands you use.
         
         === With the variable set, quickstart prints the human guide
         
         >>> DATABRICKS_NOT_AN_AGENT=1 CLAUDECODE=1 [CLI] quickstart
        -# Welcome to Databricks
        +# Databricks Quickstart
         
         >>> DATABRICKS_NOT_AN_AGENT=1 CLAUDECODE=1 [CLI] quickstart
        +contains error: 'databricks skills list' was not expected: "- **Reason, don't refuse.** Before telling the user something can't be done, run `databricks <group> --help` and find the matching skill with `databricks skills list` (below). Almost everything is reachable through the CLI."
        +contains error: 'databricks skills list' was not expected: 'Find the bundle skill in `databricks skills list` and read it for bundle structure, resource schemas, and multi-target setup.'
        +contains error: 'databricks skills list' was not expected: '**Databricks Apps** (full-stack TypeScript + React via AppKit) build on bundles too, with a dedicated scaffolder — see the apps skill in `databricks skills list`:'
        +contains error: 'databricks skills list' was not expected: 'databricks skills list                       # the catalog: each skill with its description'
        +contains error: 'databricks skills list' was not expected: 'databricks skills list-files <name>          # the files a skill has, with their paths'
        +contains error: 'databricks skills list' was not expected: 'Pick the skill whose description fits the task from the `databricks skills list` output. The catalog changes between CLI versions, so run `databricks skills list` rather than relying on a remembered list.'
        +contains error: 'databricks skills list' was not expected: "Re-read `databricks <group> --help`, find the matching skill with `databricks skills list`, and check https://docs.databricks.com. If you truly can't do something yourself, tell the user how they can — don't tell them Databricks can't."
         
        -=== With the variable set, auto-install enable says it is still stopped here
        -
        ->>> DATABRICKS_NOT_AN_AGENT=1 CLAUDECODE=1 [CLI] aitools auto-install enable
        -Automatic installation of Databricks AI tools is enabled.
        -DATABRICKS_NOT_AN_AGENT still stops it in this environment; unset it to let it run.
        -
        -=== A false value leaves agent detection on
        -
        ->>> DATABRICKS_NOT_AN_AGENT=0 CODEX_CI=1 CODEX_THREAD_ID=thread-1 [CLI] jobs list
        -Before you work with Databricks, run: databricks skills list
        +Exit code: 1
        
    acceptance_test.go:1184: 
        LOG.quickstart-agent: # Databricks Quickstart
        LOG.quickstart-agent: 
        LOG.quickstart-agent: The `databricks` CLI wraps the public Databricks REST API — there's a command for essentially every API endpoint, so almost any Databricks task can be driven from here. If something looks unsupported, it's almost always a command you haven't found yet, not a real gap. The headline workflow: build durable resources as code with **Declarative Automation Bundles (DABs)** and ship them with `databricks bundle deploy` (see Build and deploy below).
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ## Golden rules
        LOG.quickstart-agent: 
        LOG.quickstart-agent: - **Reason, don't refuse.** Before telling the user something can't be done, run `databricks <group> --help` and find the matching skill with `databricks skills list` (below). Almost everything is reachable through the CLI.
        LOG.quickstart-agent: - **Build with bundles.** For anything durable — jobs, pipelines, dashboards, apps — define it as code in a Declarative Automation Bundle (DABs) and ship with `databricks bundle deploy`, not one-off API calls.
        LOG.quickstart-agent: - **Pick the profile deliberately.** Run `databricks auth profiles`. If only one profile exists, use it. If one is already set as the default (via `databricks auth switch`), assume that one — you can confirm if unsure. Otherwise, show the user the profiles with their workspace URLs and let them choose. Don't invent profile names.
        LOG.quickstart-agent: - **Always pass `--profile <name>`.** Each Bash command runs in its own shell, so a separate `export DATABRICKS_CONFIG_PROFILE=...` line does NOT persist. Use the flag, or chain with `&&`.
        LOG.quickstart-agent: - **OAuth, never PAT.** Authenticate with `databricks auth login`, not personal access tokens.
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ## Step 1 — Authenticate
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ```bash
        LOG.quickstart-agent: databricks auth profiles                  # already set up? lists profiles + validity
        LOG.quickstart-agent: databricks auth login --profile <name>    # if not — opens login.databricks.com to pick a workspace
        LOG.quickstart-agent: ```
        LOG.quickstart-agent: 
        LOG.quickstart-agent: No host needed: without `--host`, login opens login.databricks.com and the user picks a workspace in the browser. Only pass `--host <url>` if the user already gave you a specific workspace URL. Always pass a descriptive `--profile <name>` (e.g. `dev-aws`, `prod-azure`) so you can target it reliably afterward — ask the user for the name rather than inventing one.
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ## Step 2 — Verify
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ```bash
        LOG.quickstart-agent: databricks current-user me --profile <name>
        LOG.quickstart-agent: ```
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ## Build and deploy with Declarative Automation Bundles (DABs)
        LOG.quickstart-agent: 
        LOG.quickstart-agent: **DABs are the standard, recommended way to build on Databricks.** A bundle is a project with a `databricks.yml` that declares your resources (jobs, pipelines, dashboards, apps) and its targets (e.g. dev, prod) — one project, one deploy, every resource type:
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ```bash
        LOG.quickstart-agent: databricks bundle init                     # scaffold a project from a template
        LOG.quickstart-agent: databricks bundle validate                 # check the config
        LOG.quickstart-agent: databricks bundle deploy -t dev            # deploy everything to a target (dev, prod, ...)
        LOG.quickstart-agent: databricks bundle run <resource> -t dev    # run a job or pipeline
        LOG.quickstart-agent: ```
        LOG.quickstart-agent: 
        LOG.quickstart-agent: Find the bundle skill in `databricks skills list` and read it for bundle structure, resource schemas, and multi-target setup.
        LOG.quickstart-agent: 
        LOG.quickstart-agent: **Databricks Apps** (full-stack TypeScript + React via AppKit) build on bundles too, with a dedicated scaffolder — see the apps skill in `databricks skills list`:
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ```bash
        LOG.quickstart-agent: databricks apps init          # scaffold an AppKit app (generates the bundle for you)
        LOG.quickstart-agent: databricks apps deploy        # deploy it to the workspace
        LOG.quickstart-agent: databricks apps run-local     # develop locally (or `dev-remote` against the workspace)
        LOG.quickstart-agent: ```
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ## Common commands
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ```bash
        LOG.quickstart-agent: databricks jobs list --profile <name>
        LOG.quickstart-agent: databricks pipelines list --profile <name>
        LOG.quickstart-agent: databricks apps list --profile <name>
        LOG.quickstart-agent: databricks warehouses list --profile <name>
        LOG.quickstart-agent: 
        LOG.quickstart-agent: # Unity Catalog data uses POSITIONAL args, NOT flags:
        LOG.quickstart-agent: databricks catalogs list --profile <name>
        LOG.quickstart-agent: databricks schemas list <catalog> --profile <name>
        LOG.quickstart-agent: databricks tables list <catalog> <schema> --profile <name>
        LOG.quickstart-agent: ```
        LOG.quickstart-agent: 
        LOG.quickstart-agent: Unsure of a command's shape? Run `databricks <command> --help`.
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ## Find skills for the task
        LOG.quickstart-agent: 
        LOG.quickstart-agent: Skills give you Databricks-specific patterns so you build resources correctly instead of guessing. Find the one that matches the task in the catalog, read it, then read the supporting files it lists:
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ```bash
        LOG.quickstart-agent: databricks skills list                       # the catalog: each skill with its description
        LOG.quickstart-agent: databricks skills list-files <name>          # the files a skill has, with their paths
        LOG.quickstart-agent: databricks skills read <name>                # a skill's instructions
        LOG.quickstart-agent: databricks skills read-file <name> <path>    # a supporting file that the skill lists
        LOG.quickstart-agent: ```
        LOG.quickstart-agent: 
        LOG.quickstart-agent: Pick the skill whose description fits the task from the `databricks skills list` output. The catalog changes between CLI versions, so run `databricks skills list` rather than relying on a remembered list.
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ## Explore data
        LOG.quickstart-agent: 
        LOG.quickstart-agent: Use the built-in tools instead of guessing SQL or navigating by hand:
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ```bash
        LOG.quickstart-agent: databricks experimental aitools tools discover-schema <catalog>.<schema>.<table> --profile <name>
        LOG.quickstart-agent: databricks experimental aitools tools query "SELECT * FROM <table> LIMIT 10" --profile <name>
        LOG.quickstart-agent: ```
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ## When you get stuck
        LOG.quickstart-agent: 
        LOG.quickstart-agent: Re-read `databricks <group> --help`, find the matching skill with `databricks skills list`, and check https://docs.databricks.com. If you truly can't do something yourself, tell the user how they can — don't tell them Databricks can't.
    acceptance_test.go:1184: 
        LOG.quickstart-human: # Databricks Quickstart
        LOG.quickstart-human: 
        LOG.quickstart-human: The `databricks` CLI wraps the public Databricks REST API — there's a command for essentially every API endpoint, so almost any Databricks task can be driven from here. If something looks unsupported, it's almost always a command you haven't found yet, not a real gap. The headline workflow: build durable resources as code with **Declarative Automation Bundles (DABs)** and ship them with `databricks bundle deploy` (see Build and deploy below).
        LOG.quickstart-human: 
        LOG.quickstart-human: ## Golden rules
        LOG.quickstart-human: 
        LOG.quickstart-human: - **Reason, don't refuse.** Before telling the user something can't be done, run `databricks <group> --help` and find the matching skill with `databricks skills list` (below). Almost everything is reachable through the CLI.
        LOG.quickstart-human: - **Build with bundles.** For anything durable — jobs, pipelines, dashboards, apps — define it as code in a Declarative Automation Bundle (DABs) and ship with `databricks bundle deploy`, not one-off API calls.
        LOG.quickstart-human: - **Pick the profile deliberately.** Run `databricks auth profiles`. If only one profile exists, use it. If one is already set as the default (via `databricks auth switch`), assume that one — you can confirm if unsure. Otherwise, show the user the profiles with their workspace URLs and let them choose. Don't invent profile names.
        LOG.quickstart-human: - **Always pass `--profile <name>`.** Each Bash command runs in its own shell, so a separate `export DATABRICKS_CONFIG_PROFILE=...` line does NOT persist. Use the flag, or chain with `&&`.
        LOG.quickstart-human: - **OAuth, never PAT.** Authenticate with `databricks auth login`, not personal access tokens.
        LOG.quickstart-human: 
        LOG.quickstart-human: ## Step 1 — Authenticate
        LOG.quickstart-human: 
        LOG.quickstart-human: ```bash
        LOG.quickstart-human: databricks auth profiles                  # already set up? lists profiles + validity
        LOG.quickstart-human: databricks auth login --profile <name>    # if not — opens login.databricks.com to pick a workspace
        LOG.quickstart-human: ```
        LOG.quickstart-human: 
        LOG.quickstart-human: No host needed: without `--host`, login opens login.databricks.com and the user picks a workspace in the browser. Only pass `--host <url>` if the user already gave you a specific workspace URL. Always pass a descriptive `--profile <name>` (e.g. `dev-aws`, `prod-azure`) so you can target it reliably afterward — ask the user for the name rather than inventing one.
        LOG.quickstart-human: 
        LOG.quickstart-human: ## Step 2 — Verify
        LOG.quickstart-human: 
        LOG.quickstart-human: ```bash
        LOG.quickstart-human: databricks current-user me --profile <name>
        LOG.quickstart-human: ```
        LOG.quickstart-human: 
        LOG.quickstart-human: ## Build and deploy with Declarative Automation Bundles (DABs)
        LOG.quickstart-human: 
        LOG.quickstart-human: **DABs are the standard, recommended way to build on Databricks.** A bundle is a project with a `databricks.yml` that declares your resources (jobs, pipelines, dashboards, apps) and its targets (e.g. dev, prod) — one project, one deploy, every resource type:
        LOG.quickstart-human: 
        LOG.quickstart-human: ```bash
        LOG.quickstart-human: databricks bundle init                     # scaffold a project from a template
        LOG.quickstart-human: databricks bundle validate                 # check the config
        LOG.quickstart-human: databricks bundle deploy -t dev            # deploy everything to a target (dev, prod, ...)
        LOG.quickstart-human: databricks bundle run <resource> -t dev    # run a job or pipeline
        LOG.quickstart-human: ```
        LOG.quickstart-human: 
        LOG.quickstart-human: Find the bundle skill in `databricks skills list` and read it for bundle structure, resource schemas, and multi-target setup.
        LOG.quickstart-human: 
        LOG.quickstart-human: **Databricks Apps** (full-stack TypeScript + React via AppKit) build on bundles too, with a dedicated scaffolder — see the apps skill in `databricks skills list`:
        LOG.quickstart-human: 
        LOG.quickstart-human: ```bash
        LOG.quickstart-human: databricks apps init          # scaffold an AppKit app (generates the bundle for you)
        LOG.quickstart-human: databricks apps deploy        # deploy it to the workspace
        LOG.quickstart-human: databricks apps run-local     # develop locally (or `dev-remote` against the workspace)
        LOG.quickstart-human: ```
        LOG.quickstart-human: 
        LOG.quickstart-human: ## Common commands
        LOG.quickstart-human: 
        LOG.quickstart-human: ```bash
        LOG.quickstart-human: databricks jobs list --profile <name>
        LOG.quickstart-human: databricks pipelines list --profile <name>
        LOG.quickstart-human: databricks apps list --profile <name>
... (36 more lines truncated, raise DATABRICKS_CLI_TEST_MAX_LOG to see more)

latest (v1.28.0):

acceptance_test.go:1406: Diff:
        --- cmd/aitools/not-an-agent/output.txt
        +++ /tmp/TestAcceptcmdaitoolsnot-an-agent1546807382/002/output.txt
        @@ -2,53 +2,18 @@
         === Claude Code is hinted, and its help and quickstart are the agent ones
         
         >>> CLAUDECODE=1 [CLI] jobs list
        -Before you work with Databricks, run: databricks skills list
        +Databricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install
         
         >>> CLAUDECODE=1 [CLI] fs --help
        -
        -Coding agents: read the skills for this command group before you use it.
        -  databricks skills read demo-skill
        -
        ->>> CLAUDECODE=1 [CLI] --help
        -
        -Coding agents: run `databricks skills list` to find skills for the commands you use.
        -
        ->>> CLAUDECODE=1 [CLI] quickstart
        -
        -=== With the variable set, no hint is printed
        -
        ->>> DATABRICKS_NOT_AN_AGENT=1 CLAUDECODE=1 [CLI] jobs list
        -
        -=== Without the variable, the hint still shows on the same session
        -
        ->>> CLAUDECODE=1 [CLI] jobs list
        -Before you work with Databricks, run: databricks skills list
        -
        -=== With the variable set, the help has no skills footer
        -
        ->>> DATABRICKS_NOT_AN_AGENT=1 CLAUDECODE=1 [CLI] fs --help
           -t, --target string        bundle target to use (if applicable)
         
         Use "databricks fs [command] --help" for more information about a command.
         
        ->>> DATABRICKS_NOT_AN_AGENT=1 CLAUDECODE=1 [CLI] --help
        +>>> CLAUDECODE=1 [CLI] --help
         
         Use "databricks [command] --help" for more information about a command.
         
        -=== With the variable set, quickstart prints the human guide
        +>>> CLAUDECODE=1 [CLI] quickstart
        +contains error: 'databricks skills list' not found in the output.
         
        ->>> DATABRICKS_NOT_AN_AGENT=1 CLAUDECODE=1 [CLI] quickstart
        -# Welcome to Databricks
        -
        ->>> DATABRICKS_NOT_AN_AGENT=1 CLAUDECODE=1 [CLI] quickstart
        -
        -=== With the variable set, auto-install enable says it is still stopped here
        -
        ->>> DATABRICKS_NOT_AN_AGENT=1 CLAUDECODE=1 [CLI] aitools auto-install enable
        -Automatic installation of Databricks AI tools is enabled.
        -DATABRICKS_NOT_AN_AGENT still stops it in this environment; unset it to let it run.
        -
        -=== A false value leaves agent detection on
        -
        ->>> DATABRICKS_NOT_AN_AGENT=0 CODEX_CI=1 CODEX_THREAD_ID=thread-1 [CLI] jobs list
        -Before you work with Databricks, run: databricks skills list
        +Exit code: 1
        
    acceptance_test.go:1184: 
        LOG.quickstart-agent: # Databricks Quickstart
        LOG.quickstart-agent: 
        LOG.quickstart-agent: The `databricks` CLI wraps the public Databricks REST API — there's a command for essentially every API endpoint, so almost any Databricks task can be driven from here. If something looks unsupported, it's almost always a command you haven't found yet, not a real gap. The headline workflow: build durable resources as code with **Declarative Automation Bundles (DABs)** and ship them with `databricks bundle deploy` (see Build and deploy below).
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ## Golden rules
        LOG.quickstart-agent: 
        LOG.quickstart-agent: - **Reason, don't refuse.** Before telling the user something can't be done, run `databricks <group> --help` and install the matching skill (below). Almost everything is reachable through the CLI.
        LOG.quickstart-agent: - **Build with bundles.** For anything durable — jobs, pipelines, dashboards, apps — define it as code in a Declarative Automation Bundle (DABs) and ship with `databricks bundle deploy`, not one-off API calls.
        LOG.quickstart-agent: - **Pick the profile deliberately.** Run `databricks auth profiles`. If only one profile exists, use it. If one is already set as the default (via `databricks auth switch`), assume that one — you can confirm if unsure. Otherwise, show the user the profiles with their workspace URLs and let them choose. Don't invent profile names.
        LOG.quickstart-agent: - **Always pass `--profile <name>`.** Each Bash command runs in its own shell, so a separate `export DATABRICKS_CONFIG_PROFILE=...` line does NOT persist. Use the flag, or chain with `&&`.
        LOG.quickstart-agent: - **OAuth, never PAT.** Authenticate with `databricks auth login`, not personal access tokens.
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ## Step 1 — Authenticate
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ```bash
        LOG.quickstart-agent: databricks auth profiles                  # already set up? lists profiles + validity
        LOG.quickstart-agent: databricks auth login --profile <name>    # if not — opens login.databricks.com to pick a workspace
        LOG.quickstart-agent: ```
        LOG.quickstart-agent: 
        LOG.quickstart-agent: No host needed: without `--host`, login opens login.databricks.com and the user picks a workspace in the browser. Only pass `--host <url>` if the user already gave you a specific workspace URL. Always pass a descriptive `--profile <name>` (e.g. `dev-aws`, `prod-azure`) so you can target it reliably afterward — ask the user for the name rather than inventing one.
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ## Step 2 — Verify
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ```bash
        LOG.quickstart-agent: databricks current-user me --profile <name>
        LOG.quickstart-agent: ```
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ## Build and deploy with Declarative Automation Bundles (DABs)
        LOG.quickstart-agent: 
        LOG.quickstart-agent: **DABs are the standard, recommended way to build on Databricks.** A bundle is a project with a `databricks.yml` that declares your resources (jobs, pipelines, dashboards, apps) and its targets (e.g. dev, prod) — one project, one deploy, every resource type:
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ```bash
        LOG.quickstart-agent: databricks bundle init                     # scaffold a project from a template
        LOG.quickstart-agent: databricks bundle validate                 # check the config
        LOG.quickstart-agent: databricks bundle deploy -t dev            # deploy everything to a target (dev, prod, ...)
        LOG.quickstart-agent: databricks bundle run <resource> -t dev    # run a job or pipeline
        LOG.quickstart-agent: ```
        LOG.quickstart-agent: 
        LOG.quickstart-agent: Read the `databricks-dabs` skill for bundle structure, resource schemas, and multi-target setup.
        LOG.quickstart-agent: 
        LOG.quickstart-agent: **Databricks Apps** (full-stack TypeScript + React via AppKit) build on bundles too, with a dedicated scaffolder — see `databricks-apps`:
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ```bash
        LOG.quickstart-agent: databricks apps init          # scaffold an AppKit app (generates the bundle for you)
        LOG.quickstart-agent: databricks apps deploy        # deploy it to the workspace
        LOG.quickstart-agent: databricks apps run-local     # develop locally (or `dev-remote` against the workspace)
        LOG.quickstart-agent: ```
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ## Common commands
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ```bash
        LOG.quickstart-agent: databricks jobs list --profile <name>
        LOG.quickstart-agent: databricks pipelines list --profile <name>
        LOG.quickstart-agent: databricks apps list --profile <name>
        LOG.quickstart-agent: databricks warehouses list --profile <name>
        LOG.quickstart-agent: 
        LOG.quickstart-agent: # Unity Catalog data uses POSITIONAL args, NOT flags:
        LOG.quickstart-agent: databricks catalogs list --profile <name>
        LOG.quickstart-agent: databricks schemas list <catalog> --profile <name>
        LOG.quickstart-agent: databricks tables list <catalog> <schema> --profile <name>
        LOG.quickstart-agent: ```
        LOG.quickstart-agent: 
        LOG.quickstart-agent: Unsure of a command's shape? Run `databricks <command> --help`.
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ## Install skills for the task
        LOG.quickstart-agent: 
        LOG.quickstart-agent: Skills give you Databricks-specific patterns so you build resources correctly instead of guessing. They install into your coding agent (auto-detected):
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ```bash
        LOG.quickstart-agent: databricks aitools install                 # stable skills
        LOG.quickstart-agent: databricks aitools install --experimental  # broader coverage: more areas, lower quality bar
        LOG.quickstart-agent: databricks aitools list                    # available + installed skills — check this for the latest
        LOG.quickstart-agent: ```
        LOG.quickstart-agent: 
        LOG.quickstart-agent: The set evolves, so run `databricks aitools list` rather than relying on a fixed list. Common ones: `databricks-core` (CLI/auth), `databricks-jobs`, `databricks-pipelines`, `databricks-dabs` (deploy as code), `databricks-apps`. Experimental skills reach further (Unity Catalog, vector search, dashboards, AI functions, and more) — worth a look depending on the prompt.
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ## Explore data
        LOG.quickstart-agent: 
        LOG.quickstart-agent: Use the built-in tools instead of guessing SQL or navigating by hand:
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ```bash
        LOG.quickstart-agent: databricks experimental aitools tools discover-schema <catalog>.<schema>.<table> --profile <name>
        LOG.quickstart-agent: databricks experimental aitools tools query "SELECT * FROM <table> LIMIT 10" --profile <name>
        LOG.quickstart-agent: ```
        LOG.quickstart-agent: 
        LOG.quickstart-agent: ## When you get stuck
        LOG.quickstart-agent: 
        LOG.quickstart-agent: Re-read `databricks <group> --help`, install the matching skill, and check https://docs.databricks.com. If you truly can't do something yourself, tell the user how they can — don't tell them Databricks can't.
FAIL

Claude Code's hint throttle is keyed by CLAUDE_CODE_SESSION_ID. Developer
machines inherit that id, so the test passed locally, but CI has none and
printed the hint on every call. Set it in the script so the output does not
depend on the environment.

Co-authored-by: Isaac <no-reply@databricks.com>
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: 1077d97

Run: 46079589286

Env 💚​RECOVERED ✅​pass 🙈​skip Time
💚​ aws linux-2core-8gb 1 173 18 3:31
💚​ aws-windows-latest-4core-16gb 1 173 18 2:50
💚​ azure linux-2core-8gb 1 172 18 3:26
💚​ azure-windows-latest-4core-16gb 1 172 18 2:55
💚​ gcp linux-2core-8gb 1 173 18 3:29
💚​ gcp-windows-latest-4core-16gb 1 173 18 3:04
Test Name aws linux-2core-8gb aws-windows-latest-4core-16gb azure linux-2core-8gb azure-windows-latest-4core-16gb gcp linux-2core-8gb gcp-windows-latest-4core-16gb
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 6 slowest tests (at least 2 minutes):
duration env testname
3:25 aws linux-2core-8gb TestAccept
3:22 azure linux-2core-8gb TestAccept
3:21 gcp linux-2core-8gb TestAccept
3:03 gcp-windows-latest-4core-16gb TestAccept
2:53 azure-windows-latest-4core-16gb TestAccept
2:48 aws-windows-latest-4core-16gb TestAccept

simonfaltum and others added 4 commits November 27, 2026 15:29
MaybeVersionCheckTip, PrintSkillsTip and RecommendSkillsInstall do nothing
under DATABRICKS_NOT_AN_AGENT, so an eval baseline sees no install tip and
no prompt. The MCP telemetry calling agent is read through agent.Provider at
its source instead of being blanked after the event is built, so an explicit
serve --agent value is kept.

The acceptance test gives its no-hint steps a fresh Claude session id, so the
positive control's throttle marker cannot hide a regression.

Co-authored-by: Isaac <no-reply@databricks.com>
…ENT in hostenv

callingAgentType now calls agents.CallingAgent instead of re-implementing
it. The test host environment lists DATABRICKS_NOT_AN_AGENT next to the
other agent variables, so a developer shell that exports it does not
change the goldens. The notAnAgentEnv doc now says that agent tips and
notes are suppressed too.

Co-authored-by: Isaac <no-reply@databricks.com>
…icks-not-an-agent-makes-the-cli-ac

Keeps main's removal of the auto-install prompt (#8135). The interactive
flag now reads agent.Provider, so DATABRICKS_NOT_AN_AGENT keeps it off.

Co-authored-by: Isaac <no-reply@databricks.com>
@simonfaltum
simonfaltum marked this pull request as ready for review November 27, 2026 20:00
@simonfaltum
simonfaltum requested review from a team and lennartkats-db as code owners November 27, 2026 20:00

@review-oss-bot review-oss-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review at 8503762. Each finding was verified against the code.

No blocking issues found. 4 non-blocking comment(s) below.

This PR adds DATABRICKS_NOT_AN_AGENT, which makes the CLI's agent detection report no agent. It routes the CLI's readers through agent.Provider(ctx) and turns off the hints, tips, the help footer, the agent quickstart text and auto-install. The plumbing is consistent and I found no correctness bugs in the threaded calls. I have four smaller points. The auto-install skip happens outside Decide, so auto-install enable reports success with no warning. The acceptance test has no positive control for the root --help line. There is no changelog fragment, even though the behavior is not gated. The script sends output to /dev/null where the testing rule asks for LOG.*.

ctx := cmd.Context()
// A run that does not notice agents (DATABRICKS_NOT_AN_AGENT) installs nothing and asks nothing, so an eval
// baseline keeps its machine as it is.
if agent.NotAnAgent(ctx) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nice to have] This skip sits outside autoinstall.Decide/Inputs, which hold every other skip reason (OnRuntime, CI, EnvOptOut, RootInUserHome), so the code that explains the setting never hears about it. With DATABRICKS_NOT_AN_AGENT=1, databricks aitools auto-install enable prints "Automatic installation of Databricks AI tools is enabled." with no warning, even though the hook never runs. printAutoInstallSetting does print a yellow warning when DATABRICKS_AITOOLS_AUTO_INSTALL is the override. Could this become a non-due Reason in Decide, plus a matching line in printAutoInstallSetting and the auto-install help? Or could the baseline just set the existing DATABRICKS_AITOOLS_AUTO_INSTALL=false?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Took the warning route, not the Decide reason. auto-install enable now prints a yellow line when DATABRICKS_NOT_AN_AGENT still stops the hook in this environment, the same as it does for DATABRICKS_AITOOLS_AUTO_INSTALL. The skip stays at the top of AutoInstall, before the state is read, so a stopped run writes nothing. Setting the existing override in the baseline would not be enough: this switch also turns off the footer and quickstart text that the baseline needs to see as human output. The not-an-agent acceptance script covers the enable output.


title "With the variable set, the help has no skills footer"
trace DATABRICKS_NOT_AN_AGENT=1 CLAUDECODE=1 $CLI fs --help | tail -n 3
trace DATABRICKS_NOT_AN_AGENT=1 CLAUDECODE=1 $CLI --help | tail -n 2

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nice to have] Nothing in this script runs root --help without the variable. This step would still pass if rootSkillsHint were never printed for some other reason. The fs --help and quickstart steps do have a run without the variable. Can you add trace CLAUDECODE=1 $CLI --help | tail -n 2 to the first section, so the golden shows the line there and shows it missing here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. The first section now runs CLAUDECODE=1 $CLI --help | tail -n 2, so the golden shows the skills line there, and the variable section shows it missing.

Comment thread libs/agent/agent_notice.go Outdated
// notAnAgentEnv makes the CLI act as if no agent calls it, for example when an eval runs a baseline arm. Agent
// detection reports no agent, so every agent-facing output is the human one, and agent tips and notes are
// suppressed too.
const notAnAgentEnv = "DATABRICKS_NOT_AN_AGENT"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nice to have] The description says there is no changelog entry "while the feature is gated". But NotAnAgent reads DATABRICKS_NOT_AN_AGENT directly, with no preview or hints flag in front of it. With DATABRICKS_NOT_AN_AGENT=1 CLAUDECODE=1, bundle destroy drops its "do not retry" note, feedback --yes=false is no longer refused, and auto-install never runs. The same holds when no DATABRICKS_SKILLS_* flag is set. .agents/rules/changelog.md asks for a fragment under .nextchanges/ for a user-visible change, probably .nextchanges/cli/. Can you add one?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No changelog fragment in this PR, as planned. This switch is part of the skills feature, which stays gated until its launch change, and the user-facing note goes with that change. With the variable unset, output is unchanged. Leaving the fragment question to the maintainers if they want it earlier.

title "Claude Code is hinted, and its help and quickstart are the agent ones"
trace CLAUDECODE=1 $CLI jobs list
trace CLAUDECODE=1 $CLI fs --help | tail -n 3
trace CLAUDECODE=1 $CLI quickstart | contains.py 'databricks skills list' > /dev/null

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] .agents/rules/testing.md asks for discarded output to go to LOG.<name> rather than /dev/null, so it still shows under go test -v. This line and line 29 throw away the full quickstart text after contains.py. Can they write to something like > LOG.quickstart-agent and > LOG.quickstart-human instead?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. The two quickstart checks now write to LOG.quickstart-agent and LOG.quickstart-human, so the text shows under go test -v.

simonfaltum and others added 2 commits November 27, 2026 20:36
auto-install enable now says when DATABRICKS_NOT_AN_AGENT still stops the
hook in this environment, as it already does for DATABRICKS_AITOOLS_AUTO_INSTALL.
The not-an-agent acceptance script shows the --help footer line in the
first section, routes the quickstart discards to LOG files, and covers
the enable output.

Co-authored-by: Isaac <no-reply@databricks.com>

@rugpanov rugpanov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this change. The switch to agent.Provider(ctx) is complete in the files that the diff touches. The tests cover the parse rules and the skipped nudges. CI passes on this head: 28 check runs are complete, with 0 failures.

I have 1 question about safety notes, 2 nice-to-have points and 3 nits, all inline.

I do not repeat the two open review-oss-bot threads:

  • The auto-install Long help still does not name DATABRICKS_NOT_AN_AGENT (#8126 (comment)).
  • The changelog fragment (#8126 (comment)). The description says "No changelog entry while the feature is gated", but NotAnAgent reads the environment with no gate. The maintainers must decide on that thread.

Risk: LOW. With the variable unset, agent.Provider(ctx) returns the same value as useragent.AgentProvider(), so CLI behavior does not change. The acceptance goldens pass on Linux, macOS and Windows. The new behavior is opt-in through one environment variable, reaches only agent notes, nudges and telemetry, and ships in a CLI release that is easy to roll back.

Comment thread cmd/auth/login_device_code.go Outdated
"",
}
if note := agent.AgentNote(agentNote); note != "" {
if note := agent.AgentNote(ctx, agentNote); note != "" {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Question] Is it intended that DATABRICKS_NOT_AN_AGENT also removes this note? AgentNote now reads agent.Provider(ctx). With CLAUDECODE=1 DATABRICKS_NOT_AN_AGENT=1, the agent does not see "Do not open the URL or approve the login yourself: the user must approve it."

The same change removes the "do not retry with the flag" notes of bundle deploy, bundle destroy and bind. The "Decisions to review" section names the destroy note and the feedback refusal, but not this login note.

The answer matters because this note stops an agent from approving its own login. Also, the eval baseline then differs from the treatment arm in safety notes, not only in nudges. If this is not intended, keep the safety notes on useragent.AgentProvider(), and use agent.Provider(ctx) only for nudges.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not intended for this note, or for the other safety notes. In 1077d97 the notes read useragent.AgentProvider again, so the login approval note, the "do not retry with the flag" notes of bundle deploy, destroy and bind, and the feedback --yes=false refusal keep their behaviour under the variable. Only nudges and records read agent.Provider(ctx), which is what the variable is for. TestAgentNoteKeepsSafetyNoteNotAnAgent covers the note, and the PR description lists this under Decisions to review.

Comment thread internal/testutil/hostenv/hostenv.go Outdated
"COPILOT_CLI",
"COPILOT_HOME",
"CURSOR_AGENT",
"DATABRICKS_NOT_AN_AGENT",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nice to have] This entry has no effect, because isolate() already unsets every DATABRICKS_* variable. The acceptance harness needs it instead, and it does not unset it.

acceptance/acceptance_test.go unsets the agent variables and DATABRICKS_SKILLS_INVOKED. Then auth.ProcessEnv passes the rest of the host environment to each script. The new test.toml does not unset the variable either.

Result: when a developer or an eval baseline runs go test ./acceptance with DATABRICKS_NOT_AN_AGENT=1, the positive-control steps lose the hint, the help footer and the agent quickstart. The not-an-agent golden fails, and other agent goldens such as agent-hints can fail too.

Add os.Unsetenv("DATABRICKS_NOT_AN_AGENT") next to the DATABRICKS_SKILLS_INVOKED unset in acceptance/acceptance_test.go.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 1077d97. acceptance/acceptance_test.go now unsets DATABRICKS_NOT_AN_AGENT next to DATABRICKS_SKILLS_INVOKED, so go test ./acceptance starts without it whatever the host shell exports. I also removed the hostenv.go entry, since isolate() already unsets every DATABRICKS_* variable and the entry had no effect.

// detected, several are, or the CLI cannot install into the agent.
func WithCallingAgentToolingInUserAgent(ctx context.Context) context.Context {
a := agents.CallingAgent()
a := agents.CallingAgent(ctx)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nice to have] Under DATABRICKS_NOT_AN_AGENT=1, this drops the aitools-agent/<tooling> pair, but SDK requests still send agent/<name>. The comment at lines 21-22 says that this pair is "Paired with the SDK's agent/ key" to give a per-agent install rate.

Until the SDK follow-up lands, baseline traffic counts as claude-code requests with no tooling data. In the same session, the MCP proxy User-Agent (libs/aitools/mcp/proxy/run.go:54) shows no agent.

Keep the User-Agent readers on useragent.AgentProvider() until the SDK follow-up. If you keep this change, name this skew in the description.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kept on purpose, and the skew is now named under Decisions to review. Telemetry follows detection, as the ticket asks, so the CLI own pairs (aitools-agent and the MCP proxy agent) drop the agent under the variable. The SDK agent/ header still reads useragent.AgentProvider until the SDK follow-up in the stacked pull requests #8143 and #8144 lands. Until then a baseline request names the agent with no aitools-agent pair, so install-rate counts include baseline traffic for that agent. Keeping the pairs on the raw detection would make them match the SDK header instead, and the maintainer can choose that if preferred.

Comment thread libs/agent/agent_notice.go Outdated
}

// Provider returns the agent name that useragent.AgentProvider reports, or "" when no agent is detected or
// NotAnAgent holds. The CLI's own readers of the calling agent (output, telemetry, the User-Agent) go through it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] This line says that the User-Agent goes through Provider. The next line says that the SDK agent header does not. Both lines are about the same User-Agent header. Write "the CLI's own User-Agent pairs" here, so that a reader does not expect the full header to change.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 1077d97. The comment now says the CLI own User-Agent pairs go through Provider, and the SDK header is named as the one that does not.

} else {
content = quickstartFor(cmdio.IsPromptSupported(cmd.Context()), skillsVariant)
ctx := cmd.Context()
content = quickstartFor(cmdio.IsPromptSupported(ctx) || agent.NotAnAgent(ctx), skillsVariant)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] The Long help at lines 53-55 still says that a non-interactive caller gets the agent version. With DATABRICKS_NOT_AN_AGENT=1, this call now prints the human guide. Add one sentence about the variable to the Long text. Also think about a new name for the interactive parameter of quickstartFor, because it now means "show the human guide".

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed the parameter to humanGuide in 1077d97. I did not add the variable to the Long help. It is an eval switch with no changelog entry until launch, and the help text is user-visible and ungated, so naming it there would document a switch before launch. The Long text still describes the default, which does not change with the variable unset.

trace DATABRICKS_NOT_AN_AGENT=1 CLAUDECODE=1 $CLI aitools auto-install enable

title "A false value leaves agent detection on"
trace DATABRICKS_NOT_AN_AGENT=0 CODEX_CI=1 CODEX_THREAD_ID=thread-1 $CLI jobs list

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] This control uses a new agent and thread (CODEX_CI=1 CODEX_THREAD_ID=thread-1). So no step shows that the variable-set runs on session-2 wrote no throttle marker. A regression that hides the hint but still writes the marker passes this test. Add a CLAUDECODE=1 $CLI jobs list step on session-2 with the variable unset, and expect the hint.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 1077d97, and the golden is regenerated. After the variable run on session-2, a step runs CLAUDECODE=1 jobs list with the variable unset, and the golden shows the hint there, so the variable run wrote no throttle marker.

DATABRICKS_NOT_AN_AGENT hides the calling agent from nudges and records.
The notes that ask an agent not to act for the user (approving a login,
retrying with a flag the user has not approved) and the feedback
--yes=false refusal still read the detected agent, so an eval baseline
keeps them.

The acceptance harness now unsets the variable, the quickstart test pins
it off, and the not-an-agent script checks that the hint still shows on
the same session once the variable is unset.

Co-authored-by: Isaac <no-reply@databricks.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aitools AI tools (databricks aitools) related changes auth DABs DABs related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants