Databricks SDK for Python v0.104.0: SPOG compatibility and agent detection
Databricks SDK for Python v0.104.0 includes bug fixes to improve compatibility with Single Plane of Glass (SPOG) hosts by adding necessary headers to workspace and shares operations. It also optimizes workspace ID retrieval, removing an API round trip and resolving an authentication failure on SPOG hosts. Additionally, the SDK expands its AI agent detection capabilities and refines how agent environment variables are processed, impacting developers using AI-assisted coding tools within the Databricks ecosystem.
- →Add X-Databricks-Org-Id header to WorkspaceExt.upload() and WorkspaceExt.download() for SPOG host compatibility
- →Add X-Databricks-Org-Id header to SharesExt.list() for SPOG host compatibility
Fixes (3) ›
- Add X-Databricks-Org-Id header to WorkspaceExt.upload() and WorkspaceExt.download() for SPOG host compatibility
WorkspaceClient.get_workspace_id() now returns Config.workspace_id directly when set, instead of calling /api/2.0/preview/scim/v2/Me. This removes an API round-trip on every call where the workspace ID is already known (profile, ?o= query param, env var, or host metadata) and fixes a failure on SPOG hosts where the unauthenticated probe request was rejected with Unable to load OAuth Config
- Add X-Databricks-Org-Id header to SharesExt.list() for SPOG host compatibility
Maintenance (1) ›
Expanded AI agent detection: added Goose, Amp, Augment, Copilot (VS Code), Kiro, Windsurf. Honors the AGENT=<name> standard (resolves to a known product if the value matches one, otherwise unknown). Presence-only env var matchers now treat an empty string as "set" for parity with the Go and Java SDKs. Explicit agent env vars (e.g. CLAUDECODE, GOOSE_TERMINAL) always take precedence over the generic AGENT=<name> signal. When multiple agent env vars are present (e.g. a Cursor CLI subagent invoked from Claude Code), the user-agent reports agent/multiple
https://github.com/databricks/databricks-sdk-py/releases/tag/v0.104.0
Related releases
- Building an AI-Forward Healthcare Organization on Data and Governance Databricks Blog ·
- Databricks Accelerates Agentic Media Buying with New Reference Implementation Databricks Blog ·
- NBCUniversal Migrates to Databricks Lakehouse for Scalable Analytics Databricks Blog ·
- Databricks SDK for Python v0.123.0: API changes and breaking updates Databricks Python SDK Releases ·
- Databricks Go SDK v0.167.0 Adds Cloud Provider Auth Fields Databricks Go SDK Releases ·
- Databricks SDK Java v0.138.0 Adds Model Provider Config Fields Databricks Java SDK Releases ·